# HG changeset patch # User Michael Schloh von Bennewitz # Date 1347901849 -7200 # Node ID 67c9fa937f346b6ab0e661a37066cc49d180cc95 # Parent 9fe04d4d4e5aa764ca783ffb10fcfeb37f1a4896 Correctly generate and install forgotten initial ARP database. diff -r 9fe04d4d4e5a -r 67c9fa937f34 arpwatch/arpwatch.spec --- a/arpwatch/arpwatch.spec Mon Sep 17 19:10:10 2012 +0200 +++ b/arpwatch/arpwatch.spec Mon Sep 17 19:10:49 2012 +0200 @@ -135,10 +135,12 @@ %post if [ $1 -eq 1 ]; then - # after installing package, generate initial arp database + # after installing package, install codes and initial arp database %{l_shtool} install -c -o %{l_musr} -g %{l_mgrp} -m 644 \ %{_builddir}/arpwatch-%{version}/ethercodes.dat \ $RPM_INSTALL_PREFIX/var/arpwatch/run/ + %{l_shtool} install -c -o %{l_musr} -g %{l_mgrp} -m 644 \ + /dev/null $RPM_INSTALL_PREFIX/var/arpwatch/run/arp.dat # after installing package, announce security provision lo0 ( echo "Before starting the arpwatch daemon, set the config variables"