Project

General

Profile

Actions

Bug #4167

closed

Lightsquid package does not remove crontab entries

Added by Wendell Borges almost 10 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
Squid
Target version:
-
Start date:
12/31/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

When removing the Lightsquid package, it did not remove the crontab entries, removing the package should not do this?

*/60 * * * * root /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl today
15 0 * * * root /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl yesterday

Actions #1

Updated by Kill Bill about 9 years ago

Actions #2

Updated by Kill Bill about 9 years ago

Fixed.

Actions #3

Updated by Ale Feltes almost 9 years ago

Kill Bill wrote:

Fixed.

I have the same problem after upgrading to 2.2.5, lightsquid 2.43. I tried these things in order, and the lines remains there: removing, installing, reinstalling the package.
I even got duplicated lines:

 grep lightsquid /etc/crontab
*/60    *    *    *    *    root    /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl today
15    0    *    *    *    root    /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl yesterday
*/60    *    *    *    *    root    /usr/bin/perl /usr/pbi/lightsquid-amd64/local/www/lightsquid/lightparser.pl today
15    0    *    *    *    root    /usr/bin/perl /usr/pbi/lightsquid-amd64/local/www/lightsquid/lightparser.pl yesterday

Actions #4

Updated by Ale Feltes almost 9 years ago

Ale Feltes wrote:

Kill Bill wrote:

Fixed.

I have the same problem after upgrading to 2.2.5, lightsquid 2.43. I tried these things in order, and the lines remains there: removing, installing, reinstalling the package.
I even got duplicated lines:
[...]

I upgraded pfsense to 2.2.6, reinstalled lightsquid and there's still an entry remaining.
I realised that the double lines, happens when I reinstalled, my guess is that there were a line before the fix (left behind by the old package), and that's the one remaining.
I tried to delete it manually, but pfsense overwrite the crontab, and puts the line back in, even thou I don't have the package installed anymore.

Actions #5

Updated by Chris Buechler almost 9 years ago

  • Status changed from New to Resolved

fixed. if you ended up with multiple instances in cron, use the cron package to remove

Actions

Also available in: Atom PDF