Control: tags -1 confirmed

Hi,

On Fri, 12 Sep 2025 05:11:27 +0200 Christoph Anton Mitterer
<[email protected]> wrote:
> Package: systemd
> Version: 258~rc4-1
> Severity: normal
> 
> 
> Hey.
> 
> Not sure if this is simply no longer supported, but upgrading
> systemd now fails in a chroot, when /proc isn't bind mounted
> into that:

I'm hitting this in a sbuild chroot with systemd 258-1

in systemd postinstall script at line 68 there is a call
to systemd-machine-id-setup that is not guarded:

> # Create /etc/machine-id
> systemd-machine-id-setup ${DPKG_ROOT:+--root="$DPKG_ROOT"}

if the problem is that systemd-machine-id-setup does not work
if proc is not mounted (not sure about that) maybe

if mountpoint -q ${DPKG_ROOT:+--root="$DPKG_ROOT"}/proc ; then
        systemd-machine-id-setup ${DPKG_ROOT:+--root="$DPKG_ROOT"}
fi

Cheers,
Lorenzo

Reply via email to