Ticket #882 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Extraneous tmpfs mounts of /tmp and /media/ram in fstab

Reported by: mwester@… Owned by: john_lee@…
Priority: normal Milestone:
Component: sysinit Version: 2007.2
Severity: minor Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

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
instead.

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.]

Change History

comment:1 Changed 6 years ago by mickey@…

Is this fixed in OE now?

comment:2 Changed 6 years ago by mwester@…

No, as of 28 Oct 2007 no fix has been committed to OE.

comment:3 Changed 5 years ago by john_lee@…

  • Owner changed from buglog@… to john_lee@…

I'll take a look into it.

comment:4 Changed 5 years ago by john_lee@…

  • Status changed from new to assigned

comment:5 Changed 5 years ago by john_lee@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Thanks for Mike's detailed description. Fixed in OE on monotone.openmoko.org .

Note: See TracTickets for help on using tickets.