Bug 249058

Summary: Init script for syslogd fails with complaint about permissions
Product: Red Hat Enterprise Linux 4 Reporter: Paul Hughett <hughett>
Component: initscriptsAssignee: initscripts Maintenance Team <initscripts-maint-list>
Status: CLOSED WORKSFORME QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: low    
Version: 4.0CC: notting
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-11 16:55:42 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:
Attachments:
Description Flags
Results of "strace /etc/rc.d/init.d/syslog start none

Description Paul Hughett 2007-07-20 17:08:17 UTC
Description of problem:

The init script to start syslogd fails during boot or on manual start up with
an error message

   Starting system logger: syslogd: error while loading shared libraries:    
   libc.so.6: cannot open shared object file: Permission denied


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

initscripts-7.93.29.EL-1
glibc-2.3.4-2.36  for both i86 and x86-64 versions.


How reproducible:

Consistent failure with the above error message.

Steps to Reproduce:

1.  Type "sudo /etc/rc.d/init.d/syslog start"
  
Actual results:

Error message is output:

   Starting system logger: syslogd: error while loading shared libraries:    
   libc.so.6: cannot open shared object file: Permission denied


Expected results:

Init script starts the daemon and reports [  OK  ]


Additional info:

The permissions for /lib64/libc.so.6 and /lib64/libc-2.3.4.so are both 755.

Running 'sudo /sbin/syslogd -m 0' by hand starts up the syslogd daemon with no
apparent problems.

Comment 1 Bill Nottingham 2007-07-20 17:16:14 UTC
Something else is wrong with your system. What does a strace of syslogd startup
show?

Comment 2 Paul Hughett 2007-08-14 19:17:44 UTC
Created attachment 161299 [details]
Results of "strace /etc/rc.d/init.d/syslog start

This file shows the output from running the command

   strace /etc/rc.d/init.d/syslog start

Comment 3 Bill Nottingham 2007-08-29 17:08:54 UTC
Need a strace of the syslogd binary starting, not the init script.

Comment 4 Bill Nottingham 2009-03-11 16:55:42 UTC
Closing due to the lack of response.