FC3: How should /var/run be mounted?

Paul Howarth paul at city-fan.org
Mon Sep 19 10:18:41 UTC 2005


Michael W. Carney wrote:
> Hi folks,
> 
> I have a separate partition for /var/, mounted thusly:
> 
> /dev/sdb7 on /var type ext3 (rw,noexec)
> 
> I used the standard fc install, specifying the extra partitions I wanted,
> which produced the fstab with this entry.
> 
> Why is /var/run on a partition that's mounted noexec? That seems
> problematic, since I thought /var/run was to be used for temporary
> files/scripts, and obviously, scripts wouldn't execute.
> 
> Any folklore, history, etc regarding /var/run/ and linux is welcomed.

I have /var and /tmp mounted with noexec and nodev options. No big 
issues if you have all the updates installed (logrotate as shipped with 
FC3 didn't work with noexec on /var/tmp I think but that was fixed in an 
update).

Paul.




More information about the fedora-list mailing list