Ticket #882 (closed defect: fixed)
Extraneous tmpfs mounts of /tmp and /media/ram in fstab
|Reported by:||mwester@…||Owned by:||john_lee@…|
|Blocking:||Estimated Completion (week):|
The /etc/fstab file explicitly mounts /tmp as well as /media/ram as filesystems
of type tmpfs. This conflicts with the configuration of the "volatiles"
mechanism which redirects (among others) /tmp to be a symbolic link into
/var/volatile (which is a tmpfs filesystem). (This also results in an error
message printed at boot time -- "Device or resource busy" -- and a strange entry
symbolic link from /tmp/tmp->/var/tmp).
Additionally, there is no need for /media/ram to be mounted as a tmpfs
filesystem, as applications and users should use a directory in /var/volatiles
The solution is to remove the lines for /tmp and /media/ram from the fstab.
[Note that as an alternative, if it is deemed desirable that we have two tmpfs
mounts for temporary data, then the /etc/default/volatiles configuration should
be adjusted to remove the reference to /tmp.]