| Summary: | selinux-courier-imap policy fails to load. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Brian Kaplan <brian> |
| Component: | Current packages | Assignee: | petre rodan (RETIRED) <kaiowas> |
| Status: | RESOLVED INVALID | ||
| Severity: | blocker | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
1. solve the time skew on your server 2. make -C /etc/security/selinux/src/policy clean reload relabel closing invalid bug |
Very simply "selinux-courier-imap" security policy fails. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -uD world 3. USE="selinux" emerge courier-imap Actual Results: loadpolicy * Automatically loading policy... make: Entering directory `/etc/security/selinux/src/policy' make: Warning: File `/etc/security/selinux/policy.18' has modification time 1.9e+04 s in the future * Building file_contexts /usr/sbin/setfiles: invalid context system_u:object_r:courier_imap_exec_t on line number 526 make: *** [file_contexts/file_contexts] Error 1 make: Leaving directory `/etc/security/selinux/src/policy' [ !! ] * Regenerating file contexts... /usr/sbin/setfiles: invalid context system_u:object_r:courier_imap_exec_t on line number 526 /usr/sbin/setfiles: invalid context system_u:object_r:courier_imap_exec_t on line number 527 /usr/sbin/setfiles: invalid context system_u:object_r:courier_imap_exec_t on line number 528 /usr/sbin/setfiles: invalid context system_u:object_r:courier_imap_exec_t on line number 529 /usr/sbin/setfiles: invalid context system_u:object_r:courier_tcpd_exec_t on line number 531 /usr/sbin/setfiles: invalid context system_u:object_r:courier_authdaemon_exec_t on line number 534 /usr/sbin/setfiles: invalid context system_u:object_r:courier_authdaemon_exec_t on line number 535 /usr/sbin/setfiles: invalid context system_u:object_r:courier_authdaemon_exec_t on line number 536 /usr/sbin/setfiles: invalid context system_u:object_r:courier_logger_exec_t on line number 547 Exiting after 10 errors. [ !! ] >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... Expected Results: The software should have loaded the policy without flaw, and then procede to relabel the filesystem. Portage 2.0.51-r3 (selinux/2004.1/x86, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-hardened-r1 i686) ================================================================= System uname: 2.6.10-hardened-r1 i686 AMD Sempron(tm) 2400+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks loadpolicy sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://www.gigaload.org/gentoo.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 berkdb crypt gdbm gif hardened libwww mysql ncurses nls pam perl png postgres python readline selinux ssl tcpd tiff x86 zlib"