On Sat, Jan 27, 2018 at 11:35:01AM +0000, Holger Levsen wrote:

> > Please reassign to the individual packages affected.
> 
> I would, if I knew where to…

I refer to whatever package put files in /etc/opt.

The behaviour of dpkg regarding directories is probably the only
sensible one, but on the other hand, creating a directory required by
FHS in postinst (like it's done for /mnt and /media) should be
perfectly legitimate as well.

If we know that /etc/opt is not owned by any essential package,
and we know that dpkg will remove /etc/opt if you first install a
package putting files there and then removing the package, it would
follow that packages doing the non-standard thing of putting files in
/etc/opt should additionally do the non-standard (but very simple)
thing of restoring it in postrm after dpkg removes it.

Otherwise you are essentially asking me to do things in base-files in
a very specific way, which is not the only allowed way, just to
maintain your non-standard /etc/opt.

Thanks.

Reply via email to