This also affects src:adduser, which has this delta:
+ if ($action eq "adduser") {
+ # Mute the command
+ system('sh' => ( '-c' => '"$@" >/dev/null 2>&1', '--',
'/usr/sbin/zsysctl', 'userdata', 'create', $new_name, $home_dir,));
+ }
causing it to fail in minimal environments where /dev is non populated.
In practice we are hitting this with autopkgtest-virt-unshare(1), which
tries to create a user in the chroot, but fails because of that.
** Also affects: adduser (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- Extra ZFS-related log line with `useradd -m -R /path`
+ Ubuntu delta causes `can't open /dev/null: No such file or directory` errors
in minimal environments (chroot/unshare)
** Changed in: adduser (Ubuntu Noble)
Status: New => Confirmed
--
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