Red Hat Bugzilla – Bug 138587
/etc/init.d/mDNSResponder missing quotes on runuser command
Last modified: 2007-11-30 17:10:54 EST
Description of problem:
The runuser line in /etc/rc.d/init.d/mDNSResponder is missing quotes
around the -c option, so the $OTHER_MDNSRD_OPTS argument is actually
part of the runuser command instead of the mDNSResponder command.
The fix is to quote the line as follows
runuser -s /bin/bash - nobody -c "mDNSResponder $OTHER_MDNSRD_OPTS"
Version-Release number of selected component (if applicable):
Define a non-empty value for OTHER_MDNSRD_OPTS. In my case I had the line
Steps to Reproduce:
1. Add OTHER_MDNSRD_OPTS="-i eth0" to /etc/sysconfig/network
2. run "service mDNSResponder start" as root
Error message from runuser saying that '-i' is an illegal option.
I can confirm both the problem as well as the solution.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
FC3 and FC4 are currently maintained by Fedora Legacy for security fixes only.
howl is currently obsolete and has been replaced by avahi in the still fully
supported versions of Fedora Core, FC5 and FC6. Since this is not a security
bug, it will not be fixed. avahi has a substantial amount of changes from howl,
so please retest this bug against a newer install of Fedora Core if possible.
If a similar bug is present in FC5 or FC6, please reopen the bug and change the
component to avahi. Thanks!