Package: ifupdown-extra
Version: 0.28
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,
can you please consider including this patch, to silence error on output 
redirect?

# LANG=C ifup eth2
/etc/network/if-up.d/10check-duplicate-ip: 88: 
/etc/network/if-up.d/10check-duplicate-ip: cannot create >/dev/null: Directory 
nonexistent
<27>Apr 11 15:02:42 root[27918]: ERROR: Duplicate address 192.168.208.24 
assigned in the network where eth2 is connected to.

Thanks,
Libor

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEPGZVVU37tFmB0TQv8O+MbsKfR44FAlyvOy8VHGxpYm9yLmts
ZXBhY0BiY29tLmN6AAoJEPDvjG7Cn0eORsAP/3c9z52Xr4B9d2uSiiYkTZaCL0ZB
KE27crVtyMxakXMLQ7QuQDDUWCGwoE4dPpimxcl2X+I3qqndmpDQBhKC6sbTL9hM
HHStZAJo51vXRXlkoXH9gVElKFPHBjiAT4I1XanzKlq5qV1RxFT5uVcv7ZhXGc16
m7ueb9z/7WrhUMmM8wNE+FKUhLQxVVNWW2LWlaRxXiPN5HqIIy9H/zNxlbiGy4xm
Ub2UeTao/rNxwot3VPGBsy/g+uItlHOOdXEpCHHYixHIVA2oMffqEvZaHpy/xhN0
LDrg3149x7ZRygD1VUZ7IfbAxIOS3kPIgftgvssI6v+GsZ2U+A1UeTQ1f4eg8D5F
zNMwPqR1mm4ktdYT8eJrA9oCorL6tTvLk4VB3hQazUtzbhYFh/517cLAGSzvVgYl
SRp8DBIe6BKASYdDNpyXwfgDh+79O4soKflZmxqcWO/wwf0I4LqPKbbnYsWLYzPJ
FoyHQc793+vGGiw6hg+oHgkuB2YWWomD86Q1inPwpJ9JY9p7ONo24XZdoFTmD3ch
5xDVuJr4gHV07BBFfWWvoJ82n/unByQDPfeSalwH/Kj8p2/ax6+/zOqQhwXGYVR9
qhhjeVWt/AXp89EovvPkRN5+8LYCet67ba1Y0noDt9obrpcQO1neMmxjQiH9MZBx
RK6+AwY1OxiCeBdF
=h3GX
-----END PGP SIGNATURE-----
diff -ur a/if-up-scripts/check-duplicate-ip b/if-up-scripts/check-duplicate-ip
--- a/if-up-scripts/check-duplicate-ip  2018-02-06 22:04:56.000000000 +0100
+++ b/if-up-scripts/check-duplicate-ip  2019-04-11 15:00:00.576916162 +0200
@@ -121,7 +121,7 @@
         ARP_TIMEOUT=${ARP_TIMEOUT:-1500} # Time here is measures in 
milliseconds
                                          # experiments show anything less than 
1500 is unreliable.
         ARPING_EXTRAOPTS=""              # No '-q' option in arping
-        ARPING_REDIR=">/dev/null"        # Send output to /dev/null if using 
this program
+        ARPING_REDIR="/dev/null"        # Send output to /dev/null if using 
this program
     else
         # Do not continue if ARPING is not available
         echo "WARNING: Cannot check for duplicate IP address in the network. 
The script cannot find the 'arping' program (tried /usr/bin/arping and 
/usr/sbin/arping. Please either install the iputils-arping or arping packages 
or disable this test by setting DO_ARPING to 'no' in $DEFAULT ." >&2

Reply via email to