Mailinglist Archive: opensuse-bugs (14006 mails)

< Previous Next >
[Bug 376928] New: Yast Squid module creates invalid squid. conf configuration file
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 3 Apr 2008 13:45:33 -0600 (MDT)
  • Message-id: <bug-376928-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=376928


Summary: Yast Squid module creates invalid squid.conf
configuration file
Product: openSUSE 10.3
Version: Final
Platform: x86
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: furlongm@xxxxxxxxx
QAContact: jsrain@xxxxxxxxxx
Found By: ---


Created an attachment (id=206140)
--> (https://bugzilla.novell.com/attachment.cgi?id=206140)
Yast-bungled squid.conf

Steps to Reproduce:

Install squid, yast2-squid
Restart Yast

Network Services -> Squid -> Access Control

ACL Groups -> Add
Name: localnet
Type: src
IP address: 192.168.1.0
Network Mask: 24
OK

Access Control -> Add
Allow, localnet, Add
OK
Select "allow localnet" and move it up on place, so that it is above "deny all"
(so localnet has a higher precedence than "deny all" and actually gets used)

Accept


Expected Result:
Start Service starts squid


Actual Result:
Yast gives an error "Cannot start squid service"


Reason:
Yast places the "acl localnet" line after the "http_access allow localnet", so
localnet is not yet defined.

(It seems to replace the "http_access deny all" with "http_access allow
localnet), e.g.
# And finally deny all other access to this proxy
http_access allow localnet

Will attach generated squid.conf.

Output:
# squid -k parse
2008/04/03 20:40:07| ACL name 'localnet' not defined!
FATAL: Bungled squid.conf line 2575: http_access allow localnet
Squid Cache (Version 2.6.STABLE14): Terminated abnormally.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >