arpwatch: cannot start from init script after -u option was removed
With the recent upgrade of arpwatch
the -u ARPUSER
option has been removed, yet the initscript still specifies the same. With that, arpwatch
will refuse to start. Removing the option from the init script (and possibly from /etc/conf.d/arpwatch
) does the trick:
$ diff -u /etc/init.d/arpwatch{.orig,}
--- /etc/init.d/arpwatch.orig
+++ /etc/init.d/arpwatch
@@ -24,7 +24,7 @@
else
chown ${ARPUSER} ${DATAFILE}
start-stop-daemon --start --quiet --pidfile=/var/run/arpwatch/arpwatch.${IFACE}.pid --exec \
- /usr/sbin/arpwatch -- -i $IFACE -u ${ARPUSER} -f ${DATAFILE} -P /var/run/arpwatch/arpwatch.${IFACE}.pid ${OPTIONS}
+ /usr/sbin/arpwatch -- -i $IFACE -f ${DATAFILE} -P /var/run/arpwatch/arpwatch.${IFACE}.pid ${OPTIONS}
fi
eend $?
done