[DSE-Dev] Bug#732845: /usr/sbin/dpkg-reconfigure: Maintainer scripts not run in correct selinux context

Laurent Bigonville bigon at debian.org
Sun Dec 22 12:29:27 UTC 2013


Package: debconf
Version: 1.5.52
Severity: wishlist
File: /usr/sbin/dpkg-reconfigure

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

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debconf depends on:
ii  perl-base  5.18.1-5

Versions of packages debconf recommends:
ii  apt-utils     0.9.14.1
ii  debconf-i18n  1.5.52

Versions of packages debconf suggests:
ii  debconf-doc                1.5.52
ii  debconf-utils              1.5.52
ii  dialog                     1.2-20130928-1
ii  libgtk2-perl               2:1.248-1
pn  libnet-ldap-perl           <none>
pn  libqtcore4-perl            <none>
pn  libqtgui4-perl             <none>
pn  libterm-readline-gnu-perl  <none>
ii  perl                       5.18.1-5
ii  whiptail                   0.52.15-3

-- debconf information:
  debconf-apt-progress/preparing:
  debconf-apt-progress/info:
  debconf-apt-progress/title:
  debconf-apt-progress/media-change:
  debconf/frontend: Dialog
  debconf/priority: high



More information about the SELinux-devel mailing list