Probleme mit SELinux auf USB Disk

Vassilios Kotoulas fedoralist at kotoulas.de
Sun Sep 17 17:38:28 UTC 2006


On Sun, 2006-09-17 at 19:17 +0200, Frank Büttner wrote:
> gut gut
> dann einfach umount /dev/sda1 und dann mount /dev/sda1 /media/disk -o
> context=system_u:object_r:public_content_t,noexec,nosuid,nodev

Eigentlich muss man diese Optionen doch dem hal beibringen, damit ers
immer so macht. Wenn ich die Disk unmounte verschwindet auch der
Mountpoint. Leg ich ihn von Hand an, meckert der hal beim Automounten.
Ich versuch jetz mal die von dir vorgeschlagenen Optionen in eine Policy
fuer den hal zu giessen. Noch ne kurze Frage, wieso hab ich diese
Logeintraege nicht auch fuer / und /dev/hda[34] ? Die haben auch nicht
diese Mountoptionen.


[root at kra:/etc/hal/fdi/policy] mount
/dev/hda1 on / type xfs (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /mnt/hda3 type xfs (rw,noexec,nosuid,nodev)
/dev/hda4 on /data type xfs (rw,noexec,nosuid,nodev)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)


Gruss
Vassilios





More information about the Fedora-de-list mailing list