Description of problem: Since upgrade to FC14 I get an error when I try to stop or query status of some (but not all) services. Services affected include LCDd and bacula-sd (initially I thought this was a Bacula issue). When I query the status or stop bacula-sd - but not when I (re)start it - I get the following output & syslog messages referencing libc-2.12.90.so: root@localhost init.d]# ./bacula-sd status bacula-sd dead but subsys locked Nov 8 21:24:47 localhost kernel: [161155.229044] pidof[17514]: segfault at 0 ip 00007f2f9097d316 sp 00007fffb83e2888 error 4 in libc-2.12.90.so[7f2f908fc000+199000] Nov 8 21:24:47 localhost kernel: [161155.271610] pidof[17515]: segfault at 0 ip 00007f8835f08316 sp 00007fff931ff828 error 4 in libc-2.12.90.so[7f8835e87000+199000] Affected services cannot be stopped from command line but have to be killed, and display in system-config-services does not update properly. Version-Release number of selected component (if applicable): Kernel 2.6.35.6-48.fc14.x86_64 Glibc on ver. 2.12.90-18 when problem emerged, now on 2.12.90-19 but still persists How reproducible: Query service status e.g. [root@localhost init.d]# ./bacula-sd status Steps to Reproduce: 1. 2. 3. Actual results: Command line output "bacula-sd dead but subsys locked" Expected results: Expect something like: [root@localhost init.d]# ./clamav status clamd (pid 1949) is running... Additional info: See posting & discussion on Backup Central:- http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/problem-with-bacula-sd-on-fedora-14-maybe-glibc-related-108925/?sid=80a62f44218ab98f0eba872155c63c52
There is bad usage of canonicalize_file_name() in function matches() in src/killall5.c introduced by sysvinit-2.87-omit.patch. It works if absolute path or /sbin/service are used: # /etc/init.d/bacula-sd status bacula-sd (pid 1994) is running... # service bacula-sd status bacula-sd (pid 1994) is running... # ./bacula-sd status bacula-sd dead but subsys locked
Created attachment 463479 [details] fixed sysvinit-2.87-omit.patch reworked matches() - if canonicalize_file_name() returns NULL then use copy of argument. # ./bacula-sd status bacula-sd (pid 1994) is running... # service bacula-sd status bacula-sd (pid 1994) is running... # /etc/init.d/bacula-sd status bacula-sd (pid 1994) is running...
sysvinit-2.87-6.dsf.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/sysvinit-2.87-6.dsf.fc14
sysvinit-2.87-6.dsf.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update sysvinit'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/sysvinit-2.87-6.dsf.fc14
sysvinit-2.87-6.dsf.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.