logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: fstab-sync - relabeling /etc/fstab?: msg#00204

Subject: Re: fstab-sync - relabeling /etc/fstab?
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



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>