[Adduser-devel] Bug#374705: adduser: creates incorrect mail spool
files during new installation
Stephen Gran
sgran at debian.org
Tue Jun 20 21:44:42 UTC 2006
This one time, at band camp, Frans Pop said:
> After a new installation using Debian Installer, there are wrong mail
> files for several (system) users that are created during the
> installation:
[snip]
This one time, at band camp, Joey Hess said:
> I installed the desktop task on this laptop, then switched it to postfix
> and installed a few other packages like nstxcd that also create users on
> install. The result:
[snip]
I think the bug is in shadow, as there have been changes in this area
recently:
shadow (1:4.0.15-10) unstable; urgency=high
+ check the return value of fchown before fchmod when the mailbox is
created by useradd
+ The patch also uses login.defs::MAIL_DIR instead of /var/mail.
-- Christian Perrier <bubulle at debian.org> Thu, 18 May 2006 01:44:56 -0500
adduser doesn't touch the mail spool when adding users. I am not
reassigning yet, as I am not positive. Can you test with an earlier
useradd and let me know if the bug is indeed there?
> I suspect that the BOGUS.joey.CY8W is from postfix moving the wrong
> owner and permissions joey file out of the way when delivering mail
> later.
I suspect it's procmail, but yes. It's an MDA thing, and a feature at
that.
Thanks,
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran at debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060620/ccc27e69/attachment.pgp
More information about the Adduser-devel
mailing list