Bug 122870

Summary: Unknown User postfix and groud postdrop
Product: [Fedora] Fedora Reporter: Matthias Runge <runge>
Component: postfixAssignee: John Dennis <jdennis>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-11 14:52:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.