Comment 3 for bug 831628

Revision history for this message
Alec Kojaev (the-old-nomad) wrote :

One small note: previously the script contained:

# The second "or" condition is to start squid in case it failed to start
# because no real interface was there.
start on runlevel [2345] or net-device-up IFACE!=lo

Proposed fix changes this to:

start on runlevel [2345] and local-filesystems and net-device-up IFACE!=lo

If I read this right, previously squid was started when runlevel changed _or_ netword device went up; new version starts squid when runlevel changes _and_ network device goes up.

Perhaps a better fix would be something like:

start on local-filesystems and (runlevel [2345] or net-device-up IFACE!=lo)