| Summary: | Squid-Accounting: Squid-Accounting is shown as addon service | ||
|---|---|---|---|
| Product: | IPFire | Reporter: | Tobias Klein <uebergangsemailadresse> |
| Component: | --- | Assignee: | Alexander Marx <alexander.marx> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | - Unknown - | ||
| Priority: | - Unknown - | CC: | daniel.weismueller, peter.mueller |
| Version: | 2 | ||
| Hardware: | unspecified | ||
| OS: | Unspecified | ||
already fixed (In reply to Alexander Marx from comment #1) > already fixed I recently installed squid-accounting 1.0.4-9 on my testipfire Core 104. I looked at Status - Services and found an entry "squid" in the area "Addon - Services" Please recheck it. I don't know why it is shown in your installation.
As you can check in the GIT (next branch) the file services.cgi says:
185 # blacklist some packages
186 #
187 # alsa has trouble with the volume saving and was not really stopped
188 # mdadm should not stopped with webif because this could crash the system
189 #
190 chomp($_);
191 if ( $_ eq 'squid' ) {
192 next;
193 }
which skippes the service in the addon part. I just installed stable core 103 and the code does what it should.
Please tripplecheck by installing a fresh IPFire version and check the corresponding lines in the services.cgi
Is this bug still valid? (Currently cleaning up the bug list... :-) ) No problem is solved. |
Services.cgi generates dynamically the addon-services view. In this view the squid-accounting addon is shown as 'squid' because of the '-' cut off. Squid accounting is a cronjob so I think this view is not needed. I generated a diff file for the services.cgi where I added a exclusion for the generation of the services view. --- /root/services.cgi 2014-12-16 00:27:55.924305101 +0100 +++ /srv/web/ipfire/cgi-bin/services.cgi 2014-12-16 00:23:46.764311620 +0100 @@ -188,7 +188,7 @@ # mdadm should not stopped with webif because this could crash the system # chomp($_); - if ( ($_ ne "alsa") && ($_ ne "mdadm") ) { + if ( ($_ ne "alsa") && ($_ ne "mdadm") && ($_ ne "squid") ) { $lines++; if ($lines % 2){ print "<tr>";