Unknown $NAME variable in squid upstart script

Bug #526944 reported by Mark Knowles on 2010-02-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squid (Ubuntu)
Undecided
Unassigned

Bug Description

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

Related branches

tags: added: lucid
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package squid - 2.7.STABLE7-1ubuntu7

---------------
squid (2.7.STABLE7-1ubuntu7) lucid; urgency=low

  * debian/squid.upstart: Fix upstart typo (LP: #526944)
 -- Chuck Short <email address hidden> Thu, 25 Feb 2010 13:34:48 -0500

Changed in squid (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers