Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78837 - selinux-courier-imap policy fails to load.
Summary: selinux-courier-imap policy fails to load.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: petre rodan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-20 10:25 UTC by Brian Kaplan
Modified: 2005-01-22 09:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Kaplan 2005-01-20 10:25:18 UTC
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"
Comment 1 petre rodan (RETIRED) gentoo-dev 2005-01-20 13:05:24 UTC
1. solve the time skew on your server
2. make -C /etc/security/selinux/src/policy clean reload relabel
Comment 2 petre rodan (RETIRED) gentoo-dev 2005-01-22 09:46:33 UTC
closing invalid bug