[DSE-Dev] Bug#765391: selinux-policy-default: type httpd_munin_content_t is not defined

Bodo Bellut bodo at bellut.net
Tue Oct 14 16:48:01 UTC 2014


Package: selinux-policy-default
Version: 2:2.20110726-12
Severity: normal

Dear Maintainer,

installing selinux-policy-default on a system with munin-node (but not munin)
installed yields this error:

Setting up selinux-policy-default (2:2.20110726-12) ...
Notice: Trying to link (but not load) a default policy.
This process may fail -- you should check the results, and
you need to switch to this policy yourself anyway.

Locating modules
Ordering modules based on dependencies
Selecting modules based on installed packages
libsepol.context_from_record: type httpd_munin_content_t is not defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert system_u:object_r:httpd_munin_content_t:s0 to sid
invalid context system_u:object_r:httpd_munin_content_t:s0
libsemanage.semanage_install_active: setfiles returned error code 1.
libsemanage.semanage_install_active: Could not copy /etc/selinux/default/modules/active/policy.kern to /etc/selinux/default/policy/policy.26. (No such file or directory).
semodule:  Failed!
Error running "semodule -b base.pp -s default -n  -i unconfined.pp -i netutils.pp -i ssh.pp -i dbus.pp -i devicekit.pp -i fail2ban.pp -i ntp.pp -i pythonsupport.pp -i uptime.pp -i ptchown.pp -i tripwire.pp -i tzdata.pp -i gpg.pp -i munin.pp -i tcpd.pp", please load policy manually and report a bug.

Loading the policy without including the munin policy works without issues.



-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages selinux-policy-default depends on:
ii  libpam-modules   1.1.3-7.1
ii  libselinux1      2.1.9-5
ii  libsepol1        2.1.4-3
ii  policycoreutils  2.1.10-9
ii  python           2.7.3-4+deb7u1

Versions of packages selinux-policy-default recommends:
ii  checkpolicy  2.1.8-2
pn  setools      <none>

Versions of packages selinux-policy-default suggests:
ii  logcheck        1.3.15
pn  syslog-summary  <none>

-- Configuration Files:
/etc/selinux/default/modules/active/file_contexts.local [Errno 13] Permission denied: u'/etc/selinux/default/modules/active/file_contexts.local'

-- no debconf information



More information about the SELinux-devel mailing list