Your message dated Mon, 28 Apr 2025 22:21:21 +0000
with message-id <e1u9wqn-005025...@fasolo.debian.org>
and subject line Bug#1085646: fixed in sbuild 0.89.1
has caused the Debian Bug report #1085646,
regarding sbuild: Assumes UNSHARE_TMPDIR_TEMPLATE is mode 4777
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 ow...@bugs.debian.org
immediately.)


-- 
1085646: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085646
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: sbuild
Version: 0.86.2
Severity: minor
X-Debbugs-Cc: ni...@thykier.net


Hi

The sbuild code assumes that the directory hosting the UNSHARE_TMPDIR_TEMPLATE is mode 4777 (--chroot-mode=unshare). When it is not, the following rm failure will appear under cleanup

+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
rm: cannot remove '/home/user/debian/sbuild-test/tmp.sbuild.4Gf6tS2': 
Permission denied
[...]

This happens for both successful and failed builds. The temporary directory is properly cleaned regardless of this error (I guess there is rm code both on the host and "inside" the chroot).

In my case, I changed UNSHARE_TMPDIR_TEMPLATE into a directory under my user's HOME folder that I just created with mkdir -p. On my system, /tmp is mounted with "noexec" and therefore the default could not be used.


Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: sbuild
Source-Version: 0.89.1
Done: Johannes Schauer Marin Rodrigues <jo...@debian.org>

We believe that the bug you reported is fixed in the latest version of
sbuild, 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 1085...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Johannes Schauer Marin Rodrigues <jo...@debian.org> (supplier of updated sbuild 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 29 Apr 2025 00:04:05 +0200
Source: sbuild
Architecture: source
Version: 0.89.1
Distribution: unstable
Urgency: medium
Maintainer: sbuild maintainers <sbu...@packages.debian.org>
Changed-By: Johannes Schauer Marin Rodrigues <jo...@debian.org>
Closes: 1085646 1103519
Changes:
 sbuild (0.89.1) unstable; urgency=medium
 .
   [ Jochen Sprickerhof ]
   * Allow BUILD_PATH being empty (Closes: #1103519)
   * Set a nonexistent home for the sbuild build user
 .
   [ Johannes Schauer Marin Rodrigues ]
   * bin/sbuild-usernsexec:
      - do not mount non-existing device nodes
      - suggest installing iproute2 if 'ip link set lo up' failed
   * lib/Sbuild/Conf{Base,}.pm: expand the HELP text of UNSHARE_TMPDIR_TEMPLATE,
     UNSHARE_MMDEBSTRAP_DISTRO_MANGLE, CHROOT_ALIASES, CHROOT DISTRIBUTION
   * lib/Sbuild/ChrootUnshare.pm:
      - print why which unshare_extra_args are applied
      - use 'find -mindepth 1 -delete' instead of 'rm -rf' (Closes: #1085646)
   * debian/copyright: fix old-fsf-address-in-copyright-file
   * debian/control: bump Standards-Version (no changes)
Checksums-Sha1:
 a0abf3bd86cf43eda8d7b660be33009d748a5bbf 2700 sbuild_0.89.1.dsc
 2e1e53d7271fdbaf5fff58facd0cb5fbc74586de 263120 sbuild_0.89.1.tar.xz
Checksums-Sha256:
 315d1e96fa39b6c4eeb5dd7191449bd3040db46742a714f071c185223677cff1 2700 
sbuild_0.89.1.dsc
 4017f5d8fedf968bc1787c7afb303ae9b6973781f95ff49ff6e2018dbffb7b4b 263120 
sbuild_0.89.1.tar.xz
Files:
 cb2dd4670f6aeced0db77d54321b0cc3 2700 devel optional sbuild_0.89.1.dsc
 55f097806b20d602fb54dbfe289b8186 263120 devel optional sbuild_0.89.1.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmgP+6MACgkQ8sulx4+9
g+EFxQ/+JNY5uVeEMhX3E8civKsv10B/uDMjxHZSCGhwrKwEpY25Re7u2NfwJyug
5lEfAT8nhcL9HXSFrGk3fN0jPVlUTp1DES2vk6f7DdyCDRt1LftyhNH+Jr9pyZiC
MCrap3BZPACrZPmKPXSErDichFflNOH+/lxKN8oxsHjkAaBV9rkR5v6uEBHqaCkG
eVJOq+oeBfyTaAnql7MCzliM2FmhAzIW+OZYu11qy9WoetcnY2NAA/PK66QN7XHT
yB3+iMQwp21q65t1v3gFMCodkIR5G+nd4CWuDa9mn3MvifhgF62i4tFxexUcnYkG
fO0JNVvoYn8Xb2FHGRS7e5VWSTMqlJ2PkLt+++YfRFjItHFRJ9h9fFfGlYy0Z8z4
QoTXTPpWuT/tjoKTN0AwjYCfvvGP5eZwGubEoO0EzvlM5Zlg4VL3DF6xws5UEeOO
y94NRF1kjxLKyVJ4dlVmwR/tvrIU8Lwi9hAad5xsmfejyeH1OcgNPsmSN+JAE6sr
fH/MgV2/rV5CS+iOA3cnbseew3GWPJAwgq+uRrVBccOsvjZrwJy3QRC/Pmp8Xb0I
PZ4XFOdheyCcbP8AjN1XiniS+DQ68IeM7xpslJNse8UhrrzPCes8/6vI43dC1S4u
MoDnml4CqkRH7wUTuA9TRnXkbuCNZ2qQzMrM30S1/+h6/cCZA4Q=
=KkG4
-----END PGP SIGNATURE-----

Attachment: pgpD_gydqp6eM.pgp
Description: PGP signature


--- End Message ---

Reply via email to