gentoo-hardened August 2011 archive
Main Archive Page > Month Archives  > gentoo-hardened archives
gentoo-hardened: Re: [gentoo-hardened] SeLinux system_u:system_r

Re: [gentoo-hardened] SeLinux system_u:system_r:initrc_t inside KDE

From: Udo Siewert <algenib_at_nospam>
Date: Thu Aug 11 2011 - 12:38:09 GMT
To: gentoo-hardened@lists.gentoo.org

On Wed, 10 Aug 2011 20:57:46 +0200
Radosław Smogura <mail@smogura.eu> wrote:

Hi,

> Problem mainly is about starnge ID system_u:system_r:initrc_t I have
> inside KDE's konsole (all applications started / KDE service has it
> too).
>
> There is simillar thread in mailing list, but I can't join.
>
> I installed Gentoo few weeks ago, then I conveted it to hardened
> (without kernel patches), I reinstalled almost all packages few times
> including xdm, sysvinit, kdm, pam enusring I'm sysadm_t, but still I
> got above id.
>
> I think it should be somthing like user_u:user_r:user_t, which I get
> when I log thrugh ssh.
>
> System is of course running in permissive mode, and I use strict
> policy.
>
> Any ideas why it is, and/or how to fix it?

don't use /etc/init.d/xdm to start KDE but start it by the 'startx'
command with an .xinitrc file in /home/user which should contain 'exec
startkde'.

Regards

Udo