Bug #4167
closedLightsquid package does not remove crontab entries
0%
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
Updated by Kill Bill about 9 years ago
This will be fixed in 2.42 - https://github.com/pfsense/pfsense-packages/pull/1104
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
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.
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