Bug 122870 - Unknown User postfix and groud postdrop
Summary: Unknown User postfix and groud postdrop
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: postfix
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John Dennis
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-09 17:51 UTC by Matthias Runge
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-11 14:52:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Runge 2004-05-09 17:51:07 UTC
Description of problem: 
After installation of postfix, postfix complains about unknown user
postfix and unknown group postdrop. This problem could exist in prior
versions of fc2, too, but not in fc1.

Version-Release number of selected component (if applicable):


How reproducible: at installation (never changes)


Steps to Reproduce:
1. install fc2-test3 (incl. sendmail)
2. install postfix
3. switch from sendmail to postfix
  
Actual results:
postfix does not start.

Expected results:
The user postfix and the group postdrop should be
created by the installer (or the rpm script)

Additional info:
none

Comment 1 John Dennis 2004-05-10 17:35:57 UTC
The spec file does do this, see below snipet. I don't know how you ran
into this problem other than perhaps selinux security policy
preventing from successfully creating the new groups and user. Is
there anything in your logs saying the groupadd and useradd failed?

%pre
# Add user and groups if necessary
%{_sbindir}/groupadd -g %{maildrop_gid} -r %{maildrop_group} 2>/dev/null
%{_sbindir}/groupadd -g %{postfix_gid} -r %{postfix_group} 2>/dev/null
%{_sbindir}/groupadd -g 12 -r mail 2>/dev/null
%{_sbindir}/useradd -d %{postfix_queue_dir} -s /sbin/nologin -g
%{postfix_group} -G mail -M -r -u %{postfix_uid} %{postfix_user}
2>/dev/null
exit 0


Comment 2 Matthias Runge 2004-05-11 07:07:01 UTC
Since I was the only person getting this problem, I'd like to close
this bug. There is a groupadd and useradd in the install script, so
others shouldn't run in this mess. I had tons of complaints regarding
selinux securtity policies, but I am not sure to use the latest
policies at installing postfix.

Thanks for your time and effort.


Note You need to log in before you can comment on or make changes to this bug.