dpkg --purge removes the file behind a symbolic link when it's set as conffile
Bug #597350 reported by
Carlos Perelló Marín
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Debian) |
New
|
Unknown
|
|||
dpkg (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: dpkg
I'm using a .deb package that installs a service, that service installs its /etc/init.d script as a conffile, which makes sense so we can customise it.
I just converted that init.d into an upstart script, and replaced the original init.d script with a symbolic link to /lib/init/
The problem comes when I purge that package, instead of remove the link at /etc/init.d, dpkg follows the link and removes /lib/init/
This happens with Ubuntu 10.04.
Changed in dpkg (Debian): | |
status: | Unknown → New |
To post a comment you must log in.
This is already reported in the Debian BTS, linking it.