Re: fstab-sync - relabeling /etc/fstab?

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

 



On Sun, 29 Aug 2004 07:15, Tom London <selinux@xxxxxxxxxxx> wrote:
> Each boot, something is relabeling /etc/fstab from etc_t to tmp_t.

Probably it is creating the file in /tmp and then moving it to /etc.  Even 
without SE Linux this is a bug.  /tmp may not be on the root file system, in 
which case moving the file from /tmp to /etc is not atomic and may result in 
file truncation on an unexpected power failure or system crash.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux