Can we deliver a fix (or workaround) to this that consists in checking
if /dev/null is a char device?
if (-c "/dev/null") {
append ">/dev/null" to command
}
Not great, but should fix adduser and useradd in environments where /dev
is not populated.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049529
Title:
Ubuntu delta causes `can't open /dev/null: No such file or directory`
errors in minimal environments (chroot/unshare)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/2049529/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs