Comment 7 for bug 83728

Revision history for this message
Matti Lindell (mlind) wrote : Re: cannot purge firestarter on Edgy

I haven't been able to create the debdiff yet, but I'll try to do it on weekend.

I guess the problem is that firestarter.postrm sets -e for sh shell, which means that the script will bail out if something returns with value 1. This happens if /etc/dhclient-exit-hooks contains only one line (hook that firestarter installed there) and postrm starts grepping with -v option.

Ugly fix would be to remove "set -e" from debian/postrm script. Better way would probably be to use alternative method to remove firestarter hook from /etc/dhclient-exit-hooks. Using sed maybe (sed -i "/firestarter/d" /etc/dhclient-exit-hooks).