Your message dated Sat, 10 Aug 2024 15:26:45 +0000
with message-id <[email protected]>
and subject line Bug#983423: fixed in schroot 1.6.13-4
has caused the Debian Bug report #983423,
regarding schroot: Default profile doesn't provide a working /dev/ptmx inside
lxc >= 3
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
983423: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983423
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: schroot
Version: 1.6.10-11
Severity: normal
Steps to reproduce
------------------
(Replace or remove the http proxy http://192.168.122.1:3142 as required.)
sudo apt install lxc autopkgtest
(configure lxc as per [1])
sudo AUTOPKGTEST_APT_PROXY=http://192.168.122.1:3142 autopkgtest-build-lxc
debian sid amd64
sudo lxc-copy --ephemeral -n autopkgtest-sid-amd64 -N temp
sudo lxc-attach -n temp
and then inside the lxc container:
apt install debootstrap schroot
http_proxy=http://192.168.122.1:3142 debootstrap sid /sid
cat > /etc/schroot/chroot.d/sid <<EOF
[sid]
type=directory
directory=/sid
groups=root
root-groups=root
EOF
schroot -c sid -- ls -al /dev
schroot -c sid -- script -c 'cat /etc/os-release' /tmp/transcript
[1]
https://salsa.debian.org/ci-team/autopkgtest/-/blob/master/debian/README.source
Expected result
---------------
* /dev contains at least minimal devices, including
/dev/console and /dev/ptmx
* script(1) works and prints the contents of /etc/os-release
Actual result
-------------
* Some devices in /dev are reasonable, but some are just regular files
- Under lxc 2 (Debian 9):
- /dev/console is an empty regular file with permissions 0111
- /dev/ptmx is a symlink to /dev/pts/ptmx
- /dev/tty1 to /dev/tty4 are empty regular files with permissions 0640
- Under lxc 3 (Debian 10) and lxc 4 (Debian 11):
- /dev/console is an empty regular file with permissions 000
- so is /dev/ptmx
- so are /dev/tty1 to /dev/tty4
* Under lxc 2 (Debian 9), script works, as expected
* Under lxc 3 (Debian 10) and lxc 4 (Debian 10), script fails:
Script started, output log file is '/tmp/transcript'.
script: failed to create pseudo-terminal: Invalid argument
Proposed patch
--------------
The same patch I proposed in 2017 for #856877 resolves this, setting
up a working /dev/ptmx. Under lxc 2 it's a symlink to /dev/ptx/ptmx,
and under lxc >= 3 it's a device node.
Under lxc 4, that patch also provides a working /dev/console.
I'll re-send the patch with both bug numbers included when I have a
bug number for this report.
smcv
--- End Message ---
--- Begin Message ---
Source: schroot
Source-Version: 1.6.13-4
Done: Christoph Biedl <[email protected]>
We believe that the bug you reported is fixed in the latest version of
schroot, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Biedl <[email protected]> (supplier of updated schroot
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 10 Aug 2024 15:23:12 +0200
Source: schroot
Architecture: source
Version: 1.6.13-4
Distribution: unstable
Urgency: medium
Maintainer: Christoph Biedl <[email protected]>
Changed-By: Christoph Biedl <[email protected]>
Closes: 856877 983423 1020963 1021446 1021780 1075493
Changes:
schroot (1.6.13-4) unstable; urgency=medium
.
* Drop duplicates in buildd configuration
* Add French debconf translation. Closes: #1020963
* Add Dutch debconf translation. Closes: #1021446
* Fix example configuration. Closes: #1021780
* Document a login shell might be switched to a regular shell
* Cherry-pick fix for build failure with GCC-14. Closes: #1075493
* Cherry-pick "Mount a new instance of /dev/pts in the chroot".
Closes: #856877, #983423
Checksums-Sha1:
b9dd643ba5517b5b280f6da465f725d97f6eba57 2195 schroot_1.6.13-4.dsc
cb7ac7c29c233f4d6db2a7a5dbd81f27029a7c4d 117676 schroot_1.6.13-4.debian.tar.xz
37ad50fddd45cdf4087fc53f809ddeefdebd1a99 8320 schroot_1.6.13-4_armel.buildinfo
Checksums-Sha256:
54baf76cdc37885d3d20908fa9fcc52dd02911732ae72bfac423e946c586f351 2195
schroot_1.6.13-4.dsc
b743b097513207377d44c328bac00fdfa17d0702ad97eac3e8153cc3519bb2b8 117676
schroot_1.6.13-4.debian.tar.xz
4b096ba4447c6025716d4caa4e53cdbcf5921ead990fe298fa0229637f2143d6 8320
schroot_1.6.13-4_armel.buildinfo
Files:
ffa05f99c0c9b9b6a60e254565c2d648 2195 admin optional schroot_1.6.13-4.dsc
21278192c70514b37f1b339f26383736 117676 admin optional
schroot_1.6.13-4.debian.tar.xz
8a43ffea3181d120149b6afb1c9cf95c 8320 admin optional
schroot_1.6.13-4_armel.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEWXMI+726A12MfJXdxCxY61kUkv0FAma3fi0ACgkQxCxY61kU
kv3OBxAAykNPfCawM9A3/kzQbe0y82UCJtTorqi0uNnRNQaW/ab2wqBE8QBMzz0C
Z6iQwyXAiRtOMid1UF8cvJOih6eQl6+MTzgi6XDpOFJY0f1r5l22DWXITYH96d3U
BAKEyP+I6sApROAB/ahyZdWG9j0murQ0PtN//3C4Mma+ANuXn6fFufvk3TbQr4Xq
AHFv/3LLALJwmfBM4UQJnABqZR6GuDmTmZt5Pva/G/Q0JuZsMeXBh6CPuksYnh8w
Tw3hsxnVTy3i0pyyG93xthNZDZUmaxXRGN0s6IFnp04TO89eQLENSCGznET8TCND
tz2k56+3eEzyOOBlfijft2IzS/rpsawH0cVFrunP1JaEqDxusryMwFekTNkBwESY
02qpHW6PzXtIdoPFs6mz3KaU670Tpg+UrI3KadpugyAIHoRN1N0tZrhnw8xESk6A
sw01yb78LXGHMHu0qBw+1MQNdcOc1hE9WxSZFJXLWphGupeHiPtQZrEp/aNi2fiq
WpWoAc1pAS4sfUY3XqQfYUoJdKmYygrbJbuMEFbaASSJQWRGKOd+yIpOsTMqXfz7
QQRCWNT3g2pxLB0H8GJKyPa93p1LafpgtONL47Hs1HrqBUuAZEiI9Ozwvce+wpK3
UFnYq2a7KPqTRlXHw/W8yBkXptQkkNERIY5JyAPWs8dwh/bX/f8=
=0HP/
-----END PGP SIGNATURE-----
pgpkmV2UTm7ll.pgp
Description: PGP signature
--- End Message ---