Description of problem: /etc/init.d/netplug fails to run the daemon because it does the check [ -f $config ] || exit 6 which should be [ ! -f $config ] || exit 6 Version-Release number of selected component (if applicable): net-tools-1.60-99.fc12.x86_64 How reproducible: Steps to Reproduce: 1. /etc/init.d/netplugd start 2. 3. Actual results: Nothing happens. Expected results: netplugd should start. Additional info:
Hi Albert, thanks for the report. I still think the condition ([ -f $config ] || exit 6) is right. The '||' is logical OR, so the script does the second part ('exit 6') only when the first part ([ -f $config ]) is NOT true. See http://fedoraproject.org/wiki/Packaging:SysVInitScript So there has to be other problem why netplug is not started. I'll investigate this further.
I found the problem. $config has value '/etc/netplug/netplugd.conf' but the config file is in 'etc/netplug.d/netplugd.conf'
Yes, you're right. I've been starting at too much bash lately and got confused.
net-tools-1.60-100.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/net-tools-1.60-100.fc12
net-tools-1.60-100.fc12 has been pushed to the Fedora 12 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 net-tools'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/net-tools-1.60-100.fc12
*** Bug 581810 has been marked as a duplicate of this bug. ***
net-tools-1.60-100.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.