Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99604 - sendmail should create its own users
Summary: sendmail should create its own users
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 17:56 UTC by SpanKY
Modified: 2006-06-03 06:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2005-07-19 17:56:21 UTC
please add `enewuser` and `enewgroup` to the sendmail ebuilds so we can remove
them from baselayout's passwd/group

i'm looking at the smmsp user/group here
Comment 1 Andrea Barisani (RETIRED) gentoo-dev 2005-07-20 02:44:15 UTC
sendmail-8.13.4-r1 does that (marked unstable waiting for mailer-config stuff)
Comment 2 Steve Herber 2006-01-08 23:41:01 UTC
This could help with the mailman package, bug 114889.  The other bug is related to the problem that occurs when the user and group are not obvious.  Nowhere does the sendmail ebuild configure sendmail.mc/cf to use any user or groups.  I checked my fedora core sendmail.cf and it uses this option:

O DefaultUser=8:12

grepping for them in passwd and group give this:

/etc/passwd:mail:x:8:12:mail:/var/spool/mail:/bin/false
/etc/group:mail::12:mail

Per the original request, I would recommmend the user and group commands be added to the ebuild:

enewuser mail 8 [other options as appropriate]
enewgroup mail 12

If other uid/gid values are more compatible with future standard compliance efforts then code could be added to the ebuild to update the DefaultUser value at install time.
Comment 3 Andrea Barisani (RETIRED) gentoo-dev 2006-06-03 06:03:40 UTC
this has been fixed for some time in latest ebuilds