Red Hat Bugzilla – Bug 61099
Squid Configurator Icon in Control Panel doesn't work
Last modified: 2007-04-18 12:40:55 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)
Description of problem:
When clicking on Squid Configurator Icon in Control Panel, it points to wrong
Version-Release number of selected component (if applicable):kdebase-2.2.2-1
Steps to Reproduce:
1.Click on Control Panel
2.Click on Squid Configurator
Actual Results: The path /usr/bin/squid-config doesn't exist.
Please install the package.
Expected Results: The path should be /usr/sbin/squid-config and then it should
bring up a menu to configure squid.
[root@homer root]# rpm -q squid-config
[root@homer root]# which squid-config
This is actually a bug in squid-config.
It should provide a /usr/bin/squid-config -> consolehelper symlink, or it's impossible to
start it as non-root.
Glad I did a query before entering this: someone's done all the hard work for
me. This has mutated in beta3 to the following:
Yes, I met "squid configuration won't run from nautilus". Desktop file
refers to "Exec=/usr/sbin/squid-config". This is where my head started
[hobbit@bubble hobbit]$ /usr/sbin/squid-config
bash: /usr/sbin/squid-config: No such file or directory
[hobbit@bubble hobbit]$ rpm -ql squid-config | grep bin
[hobbit@bubble hobbit]$ ls -l /usr/sbin/squid-config
lrwxrwxrwx 1 root root 13 Mar 24 15:46 /usr/sbin/squid-config
So the link's there now, but something's still not working.
The bug's been fixed in the RAWHIE.The package name is changed.
It is redhat-config-squid-0.5-4.
Now the workarround is below:
ln -sf /usr/bin/consolehelper /usr/sbin/squid-config
Reopening, as I still don't think this is right. All of the config tools should
provide a link to consolehelper in order to start the configurator as a normal
user. What we have now with squid-config is that you have to be root in order
to run it. So, we need the package to provide '/usr/bin/squid-config' which is
a link to '/usr/bin/consolehelper'
Adding myself to Cc to see whether or not squid-config should remain listed in
kontrol-panel and kapabilities
jturner,you are right.The workaround should be:
ln -sf /usr/bin/consolehelper /usr/bin/squid-config
It is fixed in 0.5-5.
It is finally fixed in 0.5-6.