Mount & SELinux problems, session saving in GNOME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

With SELinux enabled, the system won't mount ReiserFS partitions,
SELinux will deny it:

Apr 15 14:19:38 localhost kernel: ReiserFS: hdb1: found reiserfs format "3.6" with standard journal
  Apr 15 14:19:38 localhost kernel: ReiserFS: hdb1: using ordered data mode
Apr 15 14:19:38 localhost kernel: ReiserFS: hdb1: journal params: device hdb1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 Apr 15 14:19:38 localhost kernel: ReiserFS: hdb1: checking transaction log (hdb1) Apr 15 14:19:38 localhost kernel: ReiserFS: hdb1: Using r5 hash to sort names Apr 15 14:19:38 localhost kernel: audit(1145099700.155:2): avc: denied { search } for pid=1278 comm="mount" name="/" dev=hdb1 ino=2 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir Apr 15 14:19:38 localhost kernel: ReiserFS: hdb1: warning: xattrs/ACLs enabled and couldn't find/create .reiserfs_priv. Failing mount.

and mount will output:

  mount: Operation not supported


SELinux also denys loading of some *.so files, for example a script of
XChat, I used following code to correct it:

  chcon -t texrel_shlib_t /usr/lib/xhat/*.so

But this gets reset after reboot.


During shutdown, umount will fail if the name of the CD contains a
whitespace. Something like this is used (from /etc/mtab):

  /media/Led\040Zeppelin


When logging out, saving a session isn't offered as it was in FC4, so,
in order to save the session, I have to switch on automatic saving, log
out and then switch it off again.


Running on FC5, kernel 2.6.16-1.2080_FC5 or
2.6.16-1.2080_2.rhfc5.cubbi_suspend2 (does it make any difference?).


Lauri



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux