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

Re: SELinux enforcing disallows opening floppy drive in Nautilus



Stephen Smalley <sds tycho nsa gov> wrote:
>Seems like a policy bug (omission of a transition from unconfined_t to
>mount_t) to me.  Otherwise, /etc/mtab is going to lose its type every
>time you run mount/umount from the shell.  Dan?

Just a clarification (or confusion):  it's only umount that causes the
problem.  mount doesn't create a new /etc/mtab file and doesn't change
the context:

   # ls -Z /etc/mtab
   -rw-r--r--  root     root     system_u:object_r:etc_runtime_t  /etc/mtab
   # ls -i /etc/mtab
   33032 /etc/mtab
   # mount /opt
   # ls -Z /etc/mtab
   -rw-r--r--  root     root     system_u:object_r:etc_runtime_t  /etc/mtab
   # ls -i /etc/mtab
   33032 /etc/mtab
   # 

Ron


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