makedev fails to upgrade in lxc container with error 'Device or resource busy'
Bug #927519 reported by
James Hunt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
makedev (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Setting up makedev (2.3.1-89ubuntu2) ...
mv: cannot move `console-' to `console': Device or resource busy
makedev console c 5 1 root tty 0600: failed
Setting up initscripts (2.88dsf-
Related branches
Changed in makedev (Ubuntu): | |
status: | Confirmed → Invalid |
To post a comment you must log in.
Right, that's caused by the fact that /dev/console is a bind mounted file in LXC containers.
I'm not sure what we can do to avoid this issue, ignoring the error completely in makedev sounds bad and would just be an ugly workaround for an LXC issue.
On LXC's side, we need these bind mounts until we get a device namespace, at least it's extremely rare makedev gets updated so it's unlikely to be an issue for our post-release users.
Serge: Any other idea on how to solve this? (I'm guessing the udev bug in bug 927531 may have the same cause)