[pkg-lighttpd] Bug#642494: Bug#642494: Doesn't remove /etc/lighttpd on purge

Olaf van der Spek olafvdspek at gmail.com
Fri Sep 23 12:58:08 UTC 2011


On Fri, Sep 23, 2011 at 2:25 PM, Nelson A. de Oliveira
<naoliv at debian.org> wrote:
> On Fri, Sep 23, 2011 at 8:51 AM, Olaf van der Spek <olafvdspek at gmail.com> wrote:
>> Why do you think it should be removed?
>> The user might've put conf files in those dirs. Even other packages
>> might've put conf files there. We can't just remove them.
>
> I see two cases here: if the user is only removing the package (and
> not purging it), config files shouldn't be touched.

Of course

> Now when purging the package yes, it shouldn't be a blind rm -r
> /etc/lighttpd but at least it should remove it's own files/links (and
> let the files that were created locally or by other means).
> The example that I sent on the bug report fits on this second case:
> there is no local file and the only link was created by
> lighttpd-enable-mod itself.

How is the code supposed to know who created a symlink?

-- 
Olaf





More information about the pkg-lighttpd-maintainers mailing list