during ramdisk-image-create most of /dev is removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
Critical
|
Derek Higgins |
Bug Description
Following the command
$ ramdisk-
which failed with
dib-run-parts Thu Jul 18 09:46:39 UTC 2013 Running /tmp/in_
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
umount: /tmp/image.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
rm: cannot remove '/tmp/image.
rm: cannot remove '/tmp/image.
rm: cannot remove '/tmp/image.
<snip/>
rm: cannot remove '/tmp/image.
rm: cannot remove '/tmp/image.
<snip/>
I'm left with a /dev filesystem on my host system with pretty much nothing in it
[root@rhev-i16c-02 toci]# ls -l /dev/
total 0
drwxr-xr-x. 3 root root 0 Jul 16 15:44 hugepages
drwxrwxrwt. 2 root root 40 Jul 16 15:44 mqueue
-rw-r--r--. 1 root root 0 Jul 18 11:11 null
drwxr-xr-x. 2 root root 0 Jul 16 15:44 pts
drwxrwxrwt. 2 root root 40 Jul 16 15:44 shm
[root@rhev-i16c-02 toci]#
Changed in diskimage-builder: | |
assignee: | nobody → Derek Higgins (derekh) |
Changed in diskimage-builder: | |
status: | Fix Committed → Triaged |
Changed in diskimage-builder: | |
status: | Triaged → Fix Released |
I should have mentioned the last 4 lines of the output above correspond to what was left behind in /dev of the host server
rm: cannot remove '/tmp/image. kzoiXlem/ mnt/dev/ hugepages' : Device or resource busy kzoiXlem/ mnt/dev/ mqueue' : Device or resource busy kzoiXlem/ mnt/dev/ pts': Device or resource busy kzoiXlem/ mnt/dev/ shm': Device or resource busy
rm: cannot remove '/tmp/image.
rm: cannot remove '/tmp/image.
rm: cannot remove '/tmp/image.