Hello Scott,
Thank you for your reaction.

I disagree that the Filesystem Hierarchy Standard (FHS) explicitly does
not permit /var/log to be on a tmpfs.

Grepping on tmpfs and on tmp in the current version (2.3) of the FHS
gives the following results:

ame...@intrepid { ~ }$ curl http://www.pathname.com/fhs/pub/fhs-2.3.txt.gz -s | 
zgrep tmpfs
ame...@intrepid { ~ }$ curl http://www.pathname.com/fhs/pub/fhs-2.3.txt.gz -s | 
zgrep tmp
    /tmp : Temporary files
    /var/tmp : Temporary files preserved between system reboots
tmp       Temporary files
/tmp : Temporary files
The /tmp directory must be made available for programs that require temporary
Programs must not assume that any files or directories in /tmp are preserved
    Although data stored in /tmp may be deleted in a site-specific manner, it
    is recommended that files and directories located in /tmp be deleted
    /usr/tmp -> /var/tmp
tmp       Temporary files preserved between system reboots
wtmp     record of all logins and logouts
The utmp file, which stores information about who is currently using the
/var/tmp : Temporary files preserved between system reboots
The /var/tmp directory is made available for programs that require temporary
stored in /var/tmp is more persistent than data in /tmp.
Files and directories located in /var/tmp must not be deleted when the system
is booted. Although data stored in /var/tmp is typically deleted in a
interval than /tmp.

I also read the FHS 2.3 in great detail.

According to my reading and understanding of the FHS 2.3,
  the following directories inside /var *must* be _preserved_ between reboots:
    /var/cache
    /var/tmp
  the following directories inside /var *should* be _preserved_ between reboots:
    /var/lib
  the following directories inside /var *must* be _removed_ between reboots:
    /var/run

FHS does not explicitly say anything about /var/log being preserved
between reboots, so storing /var/log on a tmpfs is not explicitly
forbidden by the FHS and therefor it is allowed.

I can understand that you disagree with me that this issue ought to be
fixed, but according to my reading of the published FHS you cannot use
it as an argument.

I am, however, open for every other argument against this fix.

Amedee
-- 
Amedee Van Gasse
ame...@vangasse.eu

-- 
png generation fails when /var/log/bootchart does not exist
https://bugs.launchpad.net/bugs/330910
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to