#732845 /usr/sbin/dpkg-reconfigure: Maintainer scripts not run in correct selinux context

#732845#5
Date:
2013-12-22 12:29:27 UTC
From:
To:
Hi,

Since 1.17.0, dpkg is trying to run the maintainer scripts in a
different context based on the file context and fallback on
"dpkg_script_t".

OTHO, a maintainer script run by dpkg-reconfigure is never transitioned
out of the "dpkg_t" context.

The maintainer scripts run by dpkg-reconfigure should also transition to
the appropriate context.

Unfortunately there is no perl binding for selinux, I guess that the
tools from selinux-utils could be used instead.

Cheers

Laurent Bigonville