installation error: rmdir: `/tmp/udev.LoQwmw': Directory not empty
Bug #25512 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Debian) |
Fix Released
|
Unknown
|
|||
udev (Ubuntu) |
Invalid
|
High
|
Scott James Remnant (Canonical) |
Bug Description
Automatically imported from Debian bug report #338202 http://
To post a comment you must log in.
On Nov 08, Sean Finney <email address hidden> wrote:
> Populating the new /dev filesystem temporarily mounted on LoQwmw/ ...
> /tmp/udev.
> rmdir: `/tmp/udev.LoQwmw': Directory not empty
It's not obvious what is happening since you did not report the content
of the directory.
I think it was a race between udevd and the init script due to a too
short timeout, if so it was fixed in a later release.
The code involved is simple, but the side effects are tricky:
TEMPDEV= $(tempdir)
mount -n -o size=10M,mode=0755 -t tmpfs tmpfs $TEMPDEV
# lots of stuff happens here...
mount -n --move $TEMPDEV /dev
rmdir $TEMPDEV
(Let me know if you have a better theory...)
--
ciao,
Marco