[Bug 526944] [NEW] Unknown $NAME variable in squid upstart script
Mark Knowles
mark at mknowles.com.au
Wed Feb 24 10:32:06 GMT 2010
Public bug reported:
Binary package hint: squid
1. Ubuntu Lucid Server AMD64 Alpha 2
2. squid 2.7.STABLE7-1ubuntu6
3. I expected squid to start without cosmetic errors
4. Squid starts, but with the following cosmetic error:
Cannot open /etc/squid/.conf: No such file
This is due to the $NAME variable not being defined on line 36 in
/etc/init/squid
Line 36 is originally:
sq=/etc/squid/$NAME.conf
To fix the error it can be modified to:
sq=/etc/squid/squid.conf
Alternatively, change line 42 to the following:
:end q' < $sq` 2> /dev/null
That fixes the cosmetic error, but I think the first fix is probably
what's intended by this function.
Thanks,
Mark
** Affects: squid (Ubuntu)
Importance: Undecided
Status: New
** Tags: lucid
** Tags added: lucid
--
Unknown $NAME variable in squid upstart script
https://bugs.launchpad.net/bugs/526944
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.
More information about the Ubuntu-server-bugs
mailing list