Red Hat Bugzilla – Bug 23172
RFE - arpwatch initscript option syntax
Last modified: 2008-05-01 11:37:59 EDT
Per the discussion on Beta-Testers across the weekend, the need to specify
options without exiting the invoking initscript was discussed.
add a file: /etc/sysconfig/arpwatch
with a variable:
OPTIONS=" -u nobody "
and the source that file in the initscript:
daemon arpwatch $OPTIONS
Also requires a print documentation extension...
Actually, it would be a good idea to give arpwatch an uid of its own too, but nobody will do for these purposes.
Also, if this would be implemented some other way than OPTIONS=, there are options '-n' and '-N' (specifying
the network and avoiding bogons) which sometimes are used.
Strongly seconded. Although I would love to see an uid for arpwatch alone I
could live with "nobody" too :-> Far better than running as root :-|
Hmm. The file reads:
# Get config.
This later check should be:
if [ -f /etc/sysconfig/arpwatch ]; then
Especially as /etc/sysconfig/arpwatch isn't in %files.
Well /etc/sysconfig/arpwatch is in
Fixed the initscript anyway... check out arpwatch-2.1a10-38!