Re: Removal of the /selinux directory
On May 07, Michael Biebl <firstname.lastname@example.org> wrote:
> Hi Laurent,
> Am 07.05.2013 16:51, schrieb Laurent Bigonville:
> > I'm intentionally not forcing the migration to the new mountpoint
> > nor forcing the deletion of the directory on upgrade as, in my
> > mind, if a Wheezy machine is still using the old mountpoint that
> > might be for perfectly valid reasons and the package shouldn't
> > touch it. A discussion has already been initiated on the bug
> > report, see: #658070.
> I think I mentioned that before: imho it would be nice to clean up
> /selinux on upgrades automatically *if* /selinux is not in use, ie. no
> selinuxfs mounted there.
> Do you have any concerns, in doing that?
The directory should already be automatically removed by dpkg during
the upgrade as it was shipped by the package and not created by the
postinstall script. I'm not sure this was clear enough.