Debian Bug report logs - #914208
debootstrap: consider disabling merged /usr by default for --variant=buildd?

version graph

Package: debootstrap; Maintainer for debootstrap is Debian Install System Team <debian-boot@lists.debian.org>; Source for debootstrap is src:debootstrap (PTS, buildd, popcon).

Reported by: Simon McVittie <smcv@debian.org>

Date: Tue, 20 Nov 2018 16:54:01 UTC

Severity: wishlist

Tags: patch

Found in version debootstrap/1.0.110

Fixed in version debootstrap/1.0.111

Done: Julien Cristau <jcristau@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://salsa.debian.org/installer-team/debootstrap/merge_requests/23

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#914208; Package debootstrap. (Tue, 20 Nov 2018 16:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Simon McVittie <smcv@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 20 Nov 2018 16:54:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <smcv@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debootstrap: consider disabling merged /usr by default for --variant=buildd?
Date: Tue, 20 Nov 2018 16:50:36 +0000
[Message part 1 (text/plain, inline)]
Package: debootstrap
Version: 1.0.110
Severity: wishlist
Tags: patch
User: md@linux.it
Usertags: usrmerge

As discussed in <https://bugs.debian.org/913229> and the debian-devel
thread starting at <https://lists.debian.org/debian-devel/2018/11/msg00299.html>,
buildd chroots should not be generated with merged /usr. However, this
is now the default in stretch-backports' debootstrap, which buildds
apparently use.

Avoiding merged /usr for buildds mitigates a frequently-seen class of
bugs in which packages end up with wrong executable paths hard-coded,
for example /usr/bin/bash or /bin/apt-get (which would both work fine
on a merged-/usr system, but not on an unmerged-/usr system).

I've proposed a patch to dsa-puppet that explicitly disables merged /usr
for buildd chroots (#914204) and I already had a similar patch accepted
into sbuild-createchroot, but I think it might also be wise to make
--variant=buildd default to --no-merged-usr? That would avoid having to
patch everything that creates a buildd chroot.

In the attached patch, --variant=buildd produces an unmerged-/usr chroot,
but --variant=buildd --merged-usr still produces a merged-/usr chroot.

    smcv
[0001-Disable-merged-usr-by-default-when-making-a-buildd-c.patch (text/x-diff, attachment)]

Set Bug forwarded-to-address to 'https://salsa.debian.org/installer-team/debootstrap/merge_requests/23'. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Tue, 20 Nov 2018 17:09:05 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Fri, 23 Nov 2018 10:00:07 GMT) (full text, mbox, link).


Reply sent to Julien Cristau <jcristau@debian.org>:
You have taken responsibility. (Fri, 30 Nov 2018 21:27:12 GMT) (full text, mbox, link).


Notification sent to Simon McVittie <smcv@debian.org>:
Bug acknowledged by developer. (Fri, 30 Nov 2018 21:27:12 GMT) (full text, mbox, link).


Message #14 received at 914208-close@bugs.debian.org (full text, mbox, reply):

From: Julien Cristau <jcristau@debian.org>
To: 914208-close@bugs.debian.org
Subject: Bug#914208: fixed in debootstrap 1.0.111
Date: Fri, 30 Nov 2018 21:22:48 +0000
Source: debootstrap
Source-Version: 1.0.111

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

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated debootstrap 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 30 Nov 2018 21:01:08 +0100
Source: debootstrap
Binary: debootstrap debootstrap-udeb
Architecture: source
Version: 1.0.111
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 914208
Changes:
 debootstrap (1.0.111) unstable; urgency=medium
 .
   * Team upload
 .
   [ Simon McVittie ]
   * Disable merged /usr by default when making a buildd chroot (closes: #914208)
Checksums-Sha1:
 76745e4c95c82250cd719418d9fdf9ba54c03bc5 1988 debootstrap_1.0.111.dsc
 d9497616a66299096ff8158c275e92113e94edc2 75503 debootstrap_1.0.111.tar.gz
Checksums-Sha256:
 b91c6b89f98192d906cf5193147ef3890fb877ca8382b32ecb357a14f6c4d774 1988 debootstrap_1.0.111.dsc
 1c184198f7f542da379c937c585de07c6cca59d876ea79cf178d6b263c3a46d4 75503 debootstrap_1.0.111.tar.gz
Files:
 8944c2a469086323a6597bf5a7431203 1988 admin optional debootstrap_1.0.111.dsc
 3cf2802de87c4997d65bb532b383bdfe 75503 admin optional debootstrap_1.0.111.tar.gz

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

iQIzBAEBCAAdFiEEVXgdqzTmGgnvuIvhnbAjVVb4z60FAlwBoNgACgkQnbAjVVb4
z628VA//er0o8ojGHEqOPNr8GjQPA45szxIiBhWgFujrDyYjMZQvD6vd/NWfkXIi
gh2bKUAIDcpT6oJI8y5HGCgkTvgMJ3+VCQZxgmAgl+sq7JR6dovH8qGOD4Jr2mp6
TAy0KGINYu5UkVxnBzY4f2HiAVjPZpCsKsz9qS6oty93OCSwFEk/Gggdpc/wYAIG
56plW/3ZG95axa0Fmh3seDDdvDodOW/kr4PzZ7qdqWNgbNhPNStI7DK2ASEUI+Hi
egQmcwT1p2Cuohww6hslKi8afwoLh7jZ3okYekN00PkQ5wb5PoOY4t3IYMvjhS/J
bnYbHFtK/7Of8OdnR3n0CyF7bhTq3cpfx3F8WJGzbztbVljZRe+ezRPtAS58VI5i
bveAlbN/n0/SQGDWz1QeIBVVoSnALpUlHCI/3S7a+o+0PAlsyGN8jwEMWf/3Pkr8
75w9hC34knxASSb4gOYlRYzH04mIj7WVbaUfeOUbzP9kmt7q4rVAXo1l3VVZkaZ9
g75iv8h9P29RpzHPtet6vs2munT5TwTY3Dzlf7fjWgivuAC77SqIx9/qNHFW8Hsj
sXRKi36dxIXgw+hthZVtKupTuvYdz/SYV4su+TDcTr+nyMFstmUcgyDbKNf3y9Qe
aizOdizfRE/1wxM7p3taHRbuK+G7ti6oWBUnGTcK+yuTAuJI5EM=
=yUVE
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 31 Dec 2018 07:25:24 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Sep 20 08:46:45 2022; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.