prerm will rm -rf / when /etc/slack.conf is empty
Bug #255819 reported by
Andrew Pollock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
slack (Ubuntu) |
Fix Released
|
Critical
|
Luca Falavigna | ||
Hardy |
Fix Released
|
Critical
|
Luca Falavigna | ||
Intrepid |
Fix Released
|
Critical
|
Luca Falavigna |
Bug Description
Binary package hint: slack
Hi,
I've just fixed a rather severe issue with the prerm in slack, where if /etc/slack.conf is empty, it'll do an rm -rf on /
Attached is a debdiff for a fixed version.
TEST CASE
PROCEDURE:
IMPORTANT: Test this on a virtual machine or in a pbuilder, THIS WILL DELETE ALL YOUR DATA!
Install slack binary package
Run ": > /etc/slack.conf" command
Remove slack package
RESULT ON PASS:
Package should remove correctly
RESULT ON FAIL:
rm -fr / will be executed as root
END TEST CASE
Related branches
description: | updated |
Changed in slack: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Steps to reproduce:
(as root)
: > /etc/slack.conf
dpkg --purge slack