Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217580 - squid-2.6.19 init.d script produces awk error on startup
Summary: squid-2.6.19 init.d script produces awk error on startup
Status: RESOLVED DUPLICATE of bug 217455
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 217678 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-14 02:47 UTC by VinnieNZ
Modified: 2008-04-14 19:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
awk syntax correction (squid.initd.diff,533 bytes, patch)
2008-04-14 15:24 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description VinnieNZ 2008-04-14 02:47:26 UTC
After upgrading to squid-2.6.19, (and doing etc-update) the init.d script produces this error on startup:

HOST ~ # /etc/init.d/squid start
awk: (FILENAME=- FNR=1803) fatal: not enough arguments to satisfy format string
        `%s/00 '
         ^ ran out for this one
 * Starting squid ...

Reproducible: Always

Steps to Reproduce:
1.  Upgrade squid to 2.6.19
2.  etc-update
3.  /etc/init.d/squid start

Actual Results:  
HOST ~ # /etc/init.d/squid start
awk: (FILENAME=- FNR=1803) fatal: not enough arguments to satisfy format string
        `%s/00 '
         ^ ran out for this one
 * Starting squid ...

Expected Results:  
Squid starts without the awk error.
Comment 1 Attila Tóth 2008-04-14 15:24:14 UTC
Created attachment 149694 [details, diff]
awk syntax correction

Exactly the same here for 2.6.18: files/squid.initd is screwed.
Try to modify your init script according to this. Maybe it's already in portage - although I see no reactions for this bug so far...
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-04-14 17:09:42 UTC
All squid versions use the same script, so it has been fixed in bug 217455. 
I'm afraid you will have to re-emerge squid if you use the stable version.
Closed as DUPLICATE.

*** This bug has been marked as a duplicate of bug 217455 ***
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2008-04-14 19:31:55 UTC
*** Bug 217678 has been marked as a duplicate of this bug. ***