[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2026-01-19 Thread Utkarsh Gupta
Ubuntu 25.04 (Plucky Puffin) has reached end of life, so this bug will
not be fixed for that specific release.

** Changed in: adduser (Ubuntu Plucky)
   Status: Confirmed => Won't Fix

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2025-07-10 Thread Ural Tunaboyu
Ubuntu 24.10 (Oracular Oriole) has reached end of life, so this bug will
not be fixed for that specific release.

** Changed in: adduser (Ubuntu Oracular)
   Status: New => Won't Fix

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2025-07-10 Thread Ural Tunaboyu
Ubuntu 24.10 (Oracular Oriole) has reached end of life, so this bug will
not be fixed for that specific release.

** Changed in: autopkgtest (Ubuntu Oracular)
   Status: Confirmed => Won't Fix

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2025-04-05 Thread Skia
Okay, lots of status changes:
* the root cause of this bug is a delta in shadow, that has already been 
dropped in Plucky
* this delta was candidate for shadow SRU to Noble/Oracular, but:
  * dropping the delta kinda breaks functionality (zsys integration) in 
existing releases
  * even with the delta, the user gets created anyway, so the bug is "just" an 
extra line printed on stderr, so nothing too serious
  * autopkgtest's unshare backend is currently broken in some other ways anyway 
on Noble
  * autopkgtest has more recent versions that include the workaround, making 
them to work on Noble
* with the above information, the safer fix for this would just be to SRU 
autopkgtest instead of shadow to Noble/Oracular

Since Ural will likely take on the autopkgtest SRU, I'm assigning the
autopkgtest tasks to him.

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2025-03-18 Thread Skia
** Also affects: adduser (Ubuntu Oracular)
   Importance: Undecided
   Status: New

** Also affects: shadow (Ubuntu Oracular)
   Importance: Undecided
   Status: New

** Also affects: adduser (Ubuntu Plucky)
   Importance: Undecided
   Status: Confirmed

** Also affects: shadow (Ubuntu Plucky)
   Importance: High
   Status: Fix Released

** Changed in: shadow (Ubuntu Oracular)
   Status: New => Confirmed

** Changed in: shadow (Ubuntu Oracular)
   Importance: Undecided => High

** Changed in: shadow (Ubuntu Oracular)
 Assignee: (unassigned) => Skia (hyask)

** Changed in: shadow (Ubuntu Noble)
 Assignee: (unassigned) => Skia (hyask)

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2025-03-18 Thread Skia
** Also affects: autopkgtest (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: autopkgtest (Ubuntu Plucky)

** Changed in: autopkgtest (Ubuntu Noble)
   Status: New => Confirmed

** Changed in: autopkgtest (Ubuntu Oracular)
   Status: New => Confirmed

** Changed in: autopkgtest (Ubuntu)
   Status: New => Invalid

** Changed in: autopkgtest (Ubuntu Noble)
   Importance: Undecided => High

** Changed in: autopkgtest (Ubuntu Oracular)
   Importance: Undecided => High

** Changed in: autopkgtest (Ubuntu Noble)
 Assignee: (unassigned) => Ural Tunaboyu (uralt)

** Changed in: autopkgtest (Ubuntu Oracular)
 Assignee: (unassigned) => Ural Tunaboyu (uralt)

** Changed in: shadow (Ubuntu Noble)
   Status: Confirmed => Won't Fix

** Changed in: shadow (Ubuntu Oracular)
   Status: Confirmed => Won't Fix

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2025-01-22 Thread Launchpad Bug Tracker
This bug was fixed in the package shadow - 1:4.16.0-7ubuntu1

---
shadow (1:4.16.0-7ubuntu1) plucky; urgency=medium

  * Merge with Debian unstable. Remaining changes (LP: #2089923):
- d/p/* : Enable private home directories by default
- debian/{source_shadow.py,login.defs.install}: Add apport hook
- debian/patches/1010_extrausers.patch:
  + Add support to passwd for libnss-extrausers
  + Add automatic detection of "extrausers" for usermod -G
- d/p/1011_extrausers_toggle.patch: extrausers support for useradd/groupadd
- d/p/1012_extrausers_chfn.patch: --extrausers support for chfn tool
- d/p/1013_extrausers_deluser.patch: --extrausers support for userdel
- d/p/1014_extrausers_delgroup.patch: --extrausers support for groupdel
- d/p/1016_extrausers_gpasswd.patch: extrausers support for gpasswd
- d/p/506_relaxed_usernames.patch, d/t/{control,numeric-username}:
- d/t/smoke: Extend for extrausers support
- Add some cursory tests for the extrausers features
- d/p/lp2063200: fix useradd group validation with extrausers (LP 2063200)

  * New Changes:
- d/tests: make 'upstream' tests work with current sources layout

  * Drop Changes:
- d/p/1015_add_zsys_support.patch: zsys to handle home dir if available
  Reason: buggy and unmaintained zsys integration (LP: #2049529)

shadow (1:4.16.0-7) unstable; urgency=medium

  [ Florent 'Skia' Jacquet ]
  * d/patches: fix 'upstream' test suite

shadow (1:4.16.0-6) unstable; urgency=medium

  * Add NEWS entry about faillog (Closes: #1074320)

shadow (1:4.16.0-5) unstable; urgency=medium

  [ Chris Hofstaedtler ]
  * Always build with btrfs support on linux-any (Closes: #856557)
  * debputy.manifest: merge path-metadata entries
  * login.defs: remove info about write(1)
Which is not part of Debian trixie. (Closes: #1087519)

  [ Pino Toscano ]
  * Include , fixing the build on GNU/Hurd

shadow (1:4.16.0-4) unstable; urgency=medium

  * Drop Debian-only cppw, cpgr tools (Closes: #750752)
  * Stop patching login, not installed anymore
  * Define LOGIN_NAME_MAX on HURD
  * Remove libsystemd-dev Build-Depends.
Only necessary for login(1).
  * Stop building programs we do not install

shadow (1:4.16.0-3) unstable; urgency=medium

  * Upload to unstable.
  * Fix FTBFS on hurd.
DEB_HOST_ARCH_OS was unset.

shadow (1:4.16.0-2) experimental; urgency=medium

  * passwd: switch Depends from login to login.defs
login will again be installed on fewer systems, but existing installs
will retain it (it is Protected: yes).
  * Drop login package, to allow takeover by util-linux.
Move shadow.mo to Package: passwd, have passwd Replaces: older login.
  * login.defs: ship manpage
  * Re-add workarounds for tests in tests/tests directory.
4.15.3 fixed this, but 4.16.0 happened earlier.

shadow (1:4.16.0-1) experimental; urgency=medium

  * New upstream version 4.16.0
* Rebase patches
  * Split /etc/login.defs into its own binary package (Closes: #1074394)
  * Rename libsubid4 to libsubid5 (soname bump)
  * d/watch: add versionmangle for -rc

 -- Florent 'Skia' Jacquet   Mon, 02 Dec
2024 12:39:54 +0100

** Changed in: shadow (Ubuntu)
   Status: Confirmed => Fix Released

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2024-12-02 Thread Didier Roche-Tolomelli
I think there is no active or planned work to bring zsys further on the
time being. This only impacted the new user addition and I we can drop
the patch for now without impacting too many users.

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2024-12-02 Thread Skia
@didrocks you were one of the original authors of the `zsys` patch [1]
that is now causing the bug, and iirc we discussed in the Hague that
this patch could probably be dropped. Do you still support that
decision, and validate that I can drop the patch in the upcoming merge
of `shadow?

[1]:
https://git.launchpad.net/ubuntu/+source/shadow/tree/debian/patches/1015_add_zsys_support.patch

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2024-08-09 Thread Paride Legovini
Hopefully worked around in autopkgtest by:

https://salsa.debian.org/ci-
team/autopkgtest/-/commit/2344e8197ed29ed1d94c33270207252574bb743c

-- 
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

[Bug 2049529] Re: Ubuntu delta causes `can't open /dev/null: No such file or directory` errors in minimal environments (chroot/unshare)

2024-07-01 Thread Paride Legovini
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