[Techtalk] Re: Ubuntu /etc/network/if-up.d script not being run

Mary Gardiner mary-linuxchix at puzzling.org
Fri Apr 28 09:31:55 EST 2006


Ah: it's the name of the script. I named it 00-firewall.sh on the advice
of a random webpage, so that it would be run ASAP on the interface
coming up. However, here's the final snippet of "ifup -v eth0" (-v for
verbose):

DHCPACK from 67.18.92.22
bound to 70.85.16.132 -- renewal in 35195 seconds.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/clamav-freshclam-ifupdown
run-parts: executing /etc/network/if-up.d/postfix

"man run-parts" tells me that "If the --lsbsysinit option is not given
then the names must consist entirely of upper and lower case letters,
digits, underscores, and hyphens." That is, no '.' characters in the
name.

-Mary


More information about the Techtalk mailing list