Bug 85863 - sm-client fails to write pid file
sm-client fails to write pid file
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-09 14:21 EST by Gerald Teschl
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-03-09 15:07:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gerald Teschl 2003-03-09 14:21:40 EST
Description of problem:
I noted that sendmail fails to write the pid file for sm-client:

Mar  9 20:08:12 keen sm-msp-queue[10674]: unable to write
/var/run/sm-client.pid: Permission denied

Hence the corresponding process does not get stopped by
the initscript.


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

How reproducible:
100%

Steps to Reproduce:
1. service sendmail start
2. cat /var/run/sm-client.pid
3.
    
Actual results:
pid file is empty

Expected results:
pid written to pid file

Additional info:
1) ervice sendmail restart will fail to stop sm-client.
2) removing the "touch /var/run/sm-client.pid" line from the
init script seems to fix the problem.
Comment 1 Gerald Teschl 2003-03-09 15:06:52 EST
Must have been related to my strange problems reported in #85864.
After reinstalling the sendmail rpm it works fine now.

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