Gentoo Archives: gentoo-hardened

From: stanke <stanke@×××××××.eu>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] newrole -r selinux problem
Date: Fri, 22 Sep 2006 14:13:49
Message-Id: 4513EEE7.60609@stankox.eu
In Reply to: Re: [gentoo-hardened] OpenSSH update goes wrong (SELinux) by Petre Rodan
1 Hello all
2
3 I want to ask you for help.
4
5 I have problem with my selinux gentoo. The cron isn't function. 18:20:36
6 gentoo64 syslog-ng[14808]: STATS: dropped
7 0
8
9
10 I google it and I fount, that it's problem with permission. When I tried
11 to login to my system that su - to root, there was no problem and I'm in
12 these groups
13 uid=0(root) gid=0(root)
14 groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),16(cron),20(dialout),26(tape),27(video)
15 context=user_u:user_r:user_t
16 but if I tried to newrole -r sysadm_r it's not working
17 newrole -r sysadm_r
18 Authenticating root.
19 Password:
20 user_u:sysadm_r:sysadm_t is not a valid context
21
22
23 But if I logon to my system with keyboard console and direct to root,
24 the system is asking me if I want to choose different selinux profile
25 and i'm able to switch to sysadm_r role.
26
27 So please can someone help me with cron and with the selinux roles.
28
29 Thank you
30
31 Stanke@×××××××.eu
32 --
33 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] newrole -r selinux problem Christoph Sarnowski <pixelbrei@×××.de>