Package: schroot
Version: 1.6.13-4
Severity: normal

Dear Maintainer,

My sbuild setup now fails on my sid systemd-nspawn container.

$ sudo sbuild-update -u -d unstable
E: 10mount: mknod: 
/var/run/schroot/mount/unstable-amd64-sbuild-c631feb3-ec9a-475b-b19a-407a3bacf44c/dev/console:
 Operation not permitted
E: unstable-amd64-sbuild-c631feb3-ec9a-475b-b19a-407a3bacf44c: Chroot setup 
failed: stage=setup-start
Chroot setup failed
Error setting up unstable chroot

The error comes from the mknod call at the end of /etc/schroot/setup.d/10mount .
Commenting the associated lines works around the problem with no visible
drawback for my usecase (sbuild).

This is in a sid systemd-nspawn container running on a bookworm host.
Adding Capability=CAP_MKNOD to the nspawn configuration does not help.

I was not able to correlate this to a systemd upgrade on the host or in the
container.

Thanks,

Alex

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-23-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages schroot depends on:
ii  debconf [debconf-2.0]           1.5.87
ii  libboost-filesystem1.83.0       1.83.0-3.1
ii  libboost-iostreams1.83.0        1.83.0-3.1
ii  libboost-program-options1.83.0  1.83.0-3.1
ii  libc6                           2.39-6
ii  libgcc-s1                       14.2.0-2
ii  libpam0g                        1.5.3-7
ii  libstdc++6                      14.2.0-2
ii  libuuid1                        2.40.2-6
ii  lsb-base                        11.6
ii  schroot-common                  1.6.13-4
ii  sysvinit-utils [lsb-base]       3.10-1

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-tools | unionfs-fuse  <none>
pn  btrfs-progs                <none>
ii  bzip2                      1.0.8-5.1
ii  debootstrap                1.0.137
pn  lvm2                       <none>
pn  qemu-user-static           <none>
ii  xz-utils                   5.6.2-2
pn  zfsutils-linux             <none>
ii  zstd                       1.5.6+dfsg-1

-- Configuration Files:
/etc/schroot/setup.d/10mount changed [not included]

-- debconf information:
  schroot/bad-names:

Reply via email to