horrible prerm bug -- fixes uploaded

Skip to first unread message

Alan Sundell

Aug 1, 2008, 2:35:36 PM8/1/08
to slack...@googlegroups.com
Hahaha whoops! The prerm/preun scripts for Debian/RedHat were really
unsafe ("rm -rf $CACHE/*") if you had a slack.conf with an empty or
unset CACHE! I can't believe I wrote that and didn't catch it... the
bug should be obvious upon inspection.

Thank goodness I haven't heard of any instances of severe data loss.
Thanks to Serge de Souza for pointing out this bug.

I don't think this warrants a new release of slack itself (since the
software version does not change), but you can grab the new
distribution ancillary files directly:

New debian directory:
New .spec file:

This is what I get for maintaining copies of these distro files
myself. These changes will of course get picked up in future release
tarballs, and Andrew Pollock is making sure Debian gets updated.

In the meantime, make sure you don't have an empty slack.conf when
removing the package! :)


Reply all
Reply to author
0 new messages