fstab-sync - relabeling /etc/fstab?

Russell Coker russell at coker.com.au
Sun Aug 29 07:05:33 UTC 2004


On Sun, 29 Aug 2004 07:15, Tom London <selinux at comcast.net> 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



More information about the fedora-selinux-list mailing list