[DSE-Dev] Bug#697810: selinux-policy-default: cannot install nut.pp

Marius Gavrilescu marius at ieval.ro
Wed Jan 9 21:32:33 UTC 2013


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

I am trying to install the network-ups-tools SELinux module.
The install fails with the following error:

    [23:27:42] 0 marius at ieval:~$ sudo semodule -i /usr/share/selinux/default/nut.pp
    libsepol.context_from_record: type httpd_nutups_cgi_script_exec_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_nutups_cgi_script_exec_t:s0 to sid
    invalid context system_u:object_r:httpd_nutups_cgi_script_exec_t:s0
    libsemanage.semanage_install_active: setfiles returned error code 1.
    semodule:  Failed!

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
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~rc2-1

Versions of packages selinux-policy-default recommends:
ii  checkpolicy  2.1.8-2
ii  setools      3.3.7-3

Versions of packages selinux-policy-default suggests:
pn  logcheck        <none>
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'

-- debconf-show failed



More information about the SELinux-devel mailing list