Bug #4167
closed
Lightsquid package does not remove crontab entries
Added by Wendell Borges almost 10 years ago.
Updated almost 9 years ago.
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
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
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.
- Status changed from New to Resolved
fixed. if you ended up with multiple instances in cron, use the cron package to remove
Also available in: Atom
PDF