Gentoo Archives: gentoo-hardened

From: Sven Vermeulen <swift@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Selinux Update Failed
Date: Tue, 18 Dec 2012 21:02:24
Message-Id: 20121218191439.GA22679@gentoo.org
In Reply to: Re: [gentoo-hardened] Selinux Update Failed by Cor Legemaat
1 On Mon, Dec 17, 2012 at 10:06:19PM +0200, Cor Legemaat wrote:
2 > kernel = linux-3.5.4-hardened-r1
3 >
4 > k53s cor # ls /sys/fs/selinux/class/capability2/perms/
5 > epollwakeup mac_admin mac_override syslog wake_alarm
6 >
7 > k53s cor # ls -ltr /usr/share/selinux/targeted/
8 > show the time difference within 21 seconds but mysql.pp is not there.
9 >
10 > mysql.pp is in "/etc/selinux/targeted/modules/active/modules/", don't
11 > know why an uninstall didn't remove it, can I just delete the file?
12 >
13 > mysql nor selinux-mysql is installed.
14
15 Ah, you will need to remove the module from the policy store yourself:
16
17 ~# semodule -s targeted -r mysql
18
19 If you just run "semodule -r myself" you remove it from the active store,
20 but not from all stores that you have on your system (the ones in
21 POLICY_TYPES).
22
23 Wkr,
24 Sven Vermeulen

Replies

Subject Author
Re: [gentoo-hardened] Selinux Update Failed - Solved Cor Legemaat <cor@××××××.net>