Brian Mauter
2010-May-26 21:55 UTC
[Pkg-exim4-users] Failed to get user name for uid 1000 in paniclog
Hi, Google searches aren''t helping much here. I originally created a couple users without specifying the UID. I have the same usernames on another machine (a mac). On the mac, they''re 500 and 501, but Debian created them with 1000 and 1001. When I rsync files, I had a problem because user 1000 couldn''t read user 500''s files even though they were the same user (to me). So I ran usermod on both accounts to switch the UIDs and everything looked great. Permissions were happy and life was grand. However, now I''m getting errors in the exim4 paniclog like this: Failed to get user name for uid 1000 I''ve checked filesystem permissions everywhere I can think of. I''ve grepped through /etc/exim4 for my usernames and for 1000 and no luck. I''ve restarted exim4 and I''ve also run dpkg-reconfigure exim4.config I looked at some of the source code and it looks like exim4 runs as the user it''s trying to deliver for or something. What makes it run as user 1000? Thanks, -Brian
Jeroen van Aart
2010-May-26 22:41 UTC
[Pkg-exim4-users] Failed to get user name for uid 1000 in paniclog
Brian Mauter wrote:> However, now I''m getting errors in the exim4 paniclog like this: > Failed to get user name for uid 1000 > > I''ve checked filesystem permissions everywhere I can think of. I''ve grepped through /etc/exim4 for my usernames and for 1000 and no luck. I''ve restarted exim4 and I''ve also run dpkg-reconfigure exim4.configOn Debian the standard user for exim is "Debian-exim" with uid 102. So anything above 500 is fine. What does "cat /etc/passwd |grep exim" tell you? -- http://goldmark.org/jeff/stupid-disclaimers/
Brian Mauter
2010-May-27 01:13 UTC
[Pkg-exim4-users] Failed to get user name for uid 1000 in paniclog
Thanks for replying Jeroen. I think the exim user is fine. I think the problem lies with the user for which it''s trying to deliver mail. At any rate: brian at minimac:~$ cat /etc/debian_version 5.0.4 brian at minimac:~$ dpkg -p exim4 Package: exim4 Priority: standard Section: mail Installed-Size: 72 Maintainer: Exim4 Maintainers <pkg-exim4-maintainers at lists.alioth.debian.org> Architecture: all Version: 4.69-9 Depends: debconf (>= 0.5) | debconf-2.0, debconf (>= 1.4.69) | cdebconf (>= 0.39), exim4-base (>= 4.69), exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom Size: 7478 Description: metapackage to ease Exim MTA (v4) installation Exim (v4) is a mail transport agent. exim4 is the metapackage depending on the essential components for a basic exim4 installation. . The Debian exim4 packages have their own web page, http://pkg-exim4.alioth.debian.org/. There is also a Debian-specific FAQ list. Information about the way the Debian packages are configured can be found in /usr/share/doc/exim4-base/README.Debian.gz, which additionally contains information about the way the Debian binary packages are built. The very extensive upstream documentation is shipped in /usr/share/doc/exim4-base/spec.txt.gz. To repeat the debconf-driven configuration process in a standard setup, invoke dpkg-reconfigure exim4-config. There is a Debian-centered mailing list, pkg-exim4-users at lists.alioth.debian.org. Please ask Debian-specific questions there, and only write to the upstream exim-users mailing list if you are sure that your question is not Debian-specific. You can find the subscription web page on http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users . Homepage: http://www.exim.org/ Homepage: http://www.exim.org/ brian at minimac:~$ ps -eaf | grep exim4 101 12652 1 0 16:32 ? 00:00:00 /usr/sbin/exim4 -bd -q30m brian 13102 12964 0 20:12 pts/0 00:00:00 grep exim4 brian at minimac:~$ cat /etc/passwd | grep exim4 Debian-exim:x:101:103::/var/spool/exim4:/bin/false On May 26, 2010, at 5:41 PM, Jeroen van Aart wrote:> Brian Mauter wrote: >> However, now I''m getting errors in the exim4 paniclog like this: >> Failed to get user name for uid 1000 >> I''ve checked filesystem permissions everywhere I can think of. I''ve grepped through /etc/exim4 for my usernames and for 1000 and no luck. I''ve restarted exim4 and I''ve also run dpkg-reconfigure exim4.config > > On Debian the standard user for exim is "Debian-exim" with uid 102. So anything above 500 is fine. > > What does "cat /etc/passwd |grep exim" tell you? > > -- > http://goldmark.org/jeff/stupid-disclaimers/ > > _______________________________________________ > Pkg-exim4-users mailing list > Pkg-exim4-users at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users