Package: selinux-policy-default Version: 2:2.20140206-1 Severity: minor Tags: patch
The postgresql manpages in Debian are installed under the pg share dir, /usr/share/postgresl/9.*/man/, and linked via alternatives to the usual manpage locations . They're thus left labelled as usr_t, preventing mandb from reading or indexing them. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.8-2 ii libselinux1 2.2.2-1 ii libsepol1 2.2-1 ii policycoreutils 2.2.5-1 ii python 2.7.5-5 ii selinux-utils 2.2.2-1 Versions of packages selinux-policy-default recommends: ii checkpolicy 2.2-1 ii setools 3.3.8-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' -- no debconf information
commit 00fb07499077baa3cb97764fdb3453ba86e13fb4 Author: Devin Carraway <[email protected]> Date: Mon Mar 3 01:34:08 2014 -0800 Label postgresql manpages under Debian diff --git a/policy/modules/services/postgresql.fc b/policy/modules/services/postgresql.fc index a26f84f..db412aa 100644 --- a/policy/modules/services/postgresql.fc +++ b/policy/modules/services/postgresql.fc @@ -17,6 +17,7 @@ ifdef(`distro_debian', ` /usr/lib/postgresql/.*/bin/.* -- gen_context(system_u:object_r:postgresql_exec_t,s0) +/usr/share/postgresql/.*/man(/.*)? gen_context(system_u:object_r:man_t,s0) ') ifdef(`distro_redhat', `
_______________________________________________ SELinux-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/selinux-devel
