Skip to contentSkip to conversation

consolekit etc

refpolicy Russell Coker 3 participants 3 messages Jul 18, 2010 – Jul 19, 2010

lore
Share & tools
lore
#0 lore raw

type=AVC msg=audit(1279446912.175:7): avc: denied { search } for pid=880 comm="dbus-daemon" name="console" dev=sda1 ino=243 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=dir

I'm getting a bunch of denials such as the above. It seems that dbus-daemon is trying to access /var/run/console for some reason - even though that directory is empty.

What is supposed to be happening here?

Signature · 3 lines
russell at coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog
#1 lore raw
Quoted 9 lines · Russell Coker

type=AVC msg=audit(1279446912.175:7): avc: denied { search } for pid=880 comm="dbus-daemon" name="console" dev=sda1 ino=243 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=dir

I'm getting a bunch of denials such as the above. It seems that dbus-daemon is trying to access /var/run/console for some reason - even though that directory is empty.

Shouldn't /var/run/console be labelled as pam_var_console_t?

Signature · 1 line
Martin Orr
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 8 lines · Martin Orr
Quoted 6 lines · Russell Coker

type=AVC msg=audit(1279446912.175:7): avc: denied { search } for pid=880 comm="dbus-daemon" name="console" dev=sda1 ino=243 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=dir

Quoted 6 lines
Quoted 3 lines

I'm getting a bunch of denials such as the above. It seems that dbus-daemon is trying to access /var/run/console for some reason - even though that directory is empty.

Shouldn't /var/run/console be labelled as pam_var_console_t?

It is in Fedora. I think dbus is trying to check if the user is logged into the console.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxESpUACgkQrlYvE4MpobNRJQCfQnMyn6n8w8C3vyXGfhe1BFCe SmYAoMfvxXQvl5WWJMihZlpL9h/UMSK+
=meVq
-----END PGP SIGNATURE-----