reopen 388779
thanks

On Sat, Sep 23, 2006 at 02:02:07AM -0700, Adrian von Bidder wrote:
>    * The "Your very personal RC bug" release
>    * ucf handling in prerm instead of postrm (closes: #388779 - RC)

- There is no such thing as a prerm "purge".
- prerm happens /before/ the package is removed from disk, and may be
  aborted for a number of reasons -- if your change actually did anything,
  it would leave no rollback path to restore these config files.
- since your change doesn't do anything, you're instead leaving orphaned
  config files on disk even when purged.

There are two ways that you can fix this bug sensibly.  The first is to call
ucf from postrm purge /opportunistically/, by checking first whether the
binary is present.  The second is to call ucf from postrm remove.  The
latter is a policy violation, removing config files when /not/ being purged,
so the former solution is to be preferred.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to