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

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



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

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