Bug 85863

Summary: sm-client fails to write pid file
Product: [Retired] Red Hat Linux Reporter: Gerald Teschl <gt>
Component: sendmailAssignee: Florian La Roche <laroche>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-03-09 20:07:01 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 Gerald Teschl 2003-03-09 19:21:40 UTC
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 20:06:52 UTC
Must have been related to my strange problems reported in #85864.
After reinstalling the sendmail rpm it works fine now.