TMP_DIR sanity checks are needed

Bug #961987 reported by Fathi Boudra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Won't Fix
Low
Unassigned

Bug Description

l-i-t assumes:
* /tmp is big enough
* /tmp is mounted with dev option

In the case of /tmp is mounted with nodev on a small tmpfs, the image creation will fail:
tmpfs 602M 760K 601M 1% /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=615748k)

We'll need sanity checks for this use case.

Milo Casagrande (milo)
Changed in linaro-image-tools:
assignee: nobody → Milo Casagrande (milo)
milestone: none → 2013.10
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Milo Casagrande (milo) wrote :

Fathi, do you have any preferences on how to approach this?

I started looking into it, but is a little bit tricky. We need to parse either /etc/mtab or get information out of /sys/ and try to guess if there is a /tmp partition or a tmpfs filesystem mounted. But it looks kind of weak.

Python does not have anything native to get filesystem information, there are some udev bindings (python-pyudev), we might try with those.

Fathi Boudra (fboudra)
Changed in linaro-image-tools:
milestone: 2013.10 → 2013.12
Milo Casagrande (milo)
Changed in linaro-image-tools:
milestone: 2013.12 → 2014.01
Milo Casagrande (milo)
Changed in linaro-image-tools:
milestone: 2014.01 → 2014.02
Fathi Boudra (fboudra)
Changed in linaro-image-tools:
milestone: 2014.02 → 2014.03
Fathi Boudra (fboudra)
Changed in linaro-image-tools:
milestone: 2014.03 → 2014.04
Milo Casagrande (milo)
Changed in linaro-image-tools:
assignee: Milo Casagrande (milo) → nobody
Revision history for this message
Milo Casagrande (milo) wrote :

Due to the age of this issue, we are acknowledging that this issue will likely not be fixed, is no longer applicable, or was already fixed by an indirect change. If this issue is still important, please add details and reopen the issue using http://bugs.linaro.org.

Changed in linaro-image-tools:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.