[Bug 831628] Re: squid upstart script doesn't check for filesystems

Alec Kojaev 831628 at bugs.launchpad.net
Tue Sep 6 20:44:07 UTC 2011


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)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in Ubuntu.
https://bugs.launchpad.net/bugs/831628

Title:
  squid upstart script doesn't check for filesystems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/831628/+subscriptions



More information about the Ubuntu-server-bugs mailing list