Bug 243479 - sm-client daemon for sendmail fails to start with permission denied error
sm-client daemon for sendmail fails to start with permission denied error
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
7
i686 Linux
low Severity high
: ---
: ---
Assigned To: Anaconda Maintenance Team
:
: 247388 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-08 18:02 EDT by Larry O'Leary
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-28 13:03:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Anaconda LOG (109.25 KB, text/plain)
2007-06-25 14:13 EDT, Larry O'Leary
no flags Details

  None (edit)
Description Larry O'Leary 2007-06-08 18:02:51 EDT
Description of problem:

When attempting to start sendmail, sm-client fails to start with the following
error message:

can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.


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

How reproducible:
After performing an install using the F7 Live CD, attempt to start the sendmail
service:

service sendmail stop
service sendmail start

  
Actual results:
sendmail appears to start but sm-client indicated FAILED

Expected results:
sendmail and sm-client should indicate a status of OK

Additional info:
This issue appears to be caused by the sendmail.sendmail binary in /usr/sbin
being set to setgid.  The file attributes are:

-rwxr-sr-x 1 root smmsp 827548 2007-04-16 04:24 sendmail.sendmail


The directory /var/spool/clientmqueue/ is owned by root and belongs to the group
root.  It appears as:

drwxrwx--- 2 root root 4096 2007-04-16 04:24 /var/spool/clientmqueue


The problem goes away and sendmail and sm-client show status of OK after the
following command is executed:

chown smmsp:smmsp /var/spool/clientmqueue
Comment 1 Thomas Woerner 2007-06-11 12:29:57 EDT
Assigning to anaconda.
Comment 2 Jeremy Katz 2007-06-25 13:30:16 EDT
How did you do your installation?  Can you attach /root/install.log and
/var/log/anaconda.log?
Comment 3 Larry O'Leary 2007-06-25 14:13:07 EDT
Created attachment 157774 [details]
Anaconda LOG

Here is the anaconda.log file that was requested.
Comment 4 Larry O'Leary 2007-06-25 14:16:26 EDT
I did the install from the Fedora Live CD.  Just downloaded the ISO, burned a
CD, booted the laptop and selected the Copy to Hard Drive option from the Desktop.

I do not have an install.log file located in /root.  Not sure why.
Comment 5 Jeremy Katz 2007-06-28 13:03:36 EDT
Okay, I see what it is.  Separate /var is what is causing it.  Fixed in CVS
Comment 6 Jeremy Katz 2007-07-09 11:37:01 EDT
*** Bug 247388 has been marked as a duplicate of this bug. ***

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