dpkg --purge removes the file behind a symbolic link when it's set as conffile

Bug #597350 reported by Carlos Perelló Marín
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Debian)
New
Unknown
dpkg (Ubuntu)
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/upstart-job, just like any other upstart script.

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/upstart-job, which I would say it's wrong.

This happens with Ubuntu 10.04.

Revision history for this message
Raphaël Hertzog (hertzog) wrote :

This is already reported in the Debian BTS, linking it.

Changed in dpkg (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in dpkg (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.