1019698">

Debian Bug report logs - #1019698
cdebootstrap: aid reproducible boostrapping by providing a --cleanup-logs option

version graph

Package: cdebootstrap; Maintainer for cdebootstrap is Bastian Blank <waldi@debian.org>; Source for cdebootstrap is src:cdebootstrap (PTS, buildd, popcon).

Reported by: Holger Levsen <holger@debian.org>

Date: Tue, 13 Sep 2022 15:39:05 UTC

Severity: wishlist

Found in version cdebootstrap/0.7.8

Reply or subscribe to this bug.

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


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Bastian Blank <waldi@debian.org>:
Bug#1019698; Package cdebootstrap. (Tue, 13 Sep 2022 15:39:07 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Levsen <holger@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Bastian Blank <waldi@debian.org>. (Tue, 13 Sep 2022 15:39:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, > This bug is about the first step. It would be really nice if cdebootstrap > had an option called --cleanup-logs which would delete those logs. > > Step 2 (or rather it's first part) is tracked via #1018741: "cdebootstrap: > better initialisation of /etc/machine-id". > Step 3 would be another new feature for cdebootstrap, namely to create tar archives. > > Thanks for maintaining cdebootstrap! > > > -- > cheers, > Holger > > ⢀⣴⠾⠻⢶⣦⠀ > ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org > ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C > ⠈⠳⣄ > > Homelessness exists not because the housing systemn is not working, but because > this is the way it works. - Peter Marcuse. &References=&In-Reply-To=">reply):

From: Holger Levsen <holger@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cdebootstrap: aid reproducible boostrapping by providing a --cleanup-logs option
Date: Tue, 13 Sep 2022 17:36:40 +0200
[Message part 1 (text/plain, inline)]
Package: cdebootstrap
Version: 0.7.8
Severity: wishlist
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

using cdebootstrap 0.7.8 it's possible to reproducible bootstrap Debian,
provided one does three extra steps:

1. rm /var/log/dpkg.log /var/log/alternatives.log /var/log/bootstrap.log /var/log/apt/history.log /var/log/apt/term.log
2. rm /etc/machine-id /var/cache/ldconfig/aux-cache
3. SOURCE_DATE_EPOCH=$some_sane_value ; sudo tar --mtime="@$SOURCE_DATE_EPOCH" --clamp-mtime $SUITE -cf $SUITE.tar

This bug is about the first step. It would be really nice if cdebootstrap
had an option called --cleanup-logs which would delete those logs.

Step 2 (or rather it's first part) is tracked via #1018741: "cdebootstrap:
better initialisation of /etc/machine-id".
Step 3 would be another new feature for cdebootstrap, namely to create tar archives.

Thanks for maintaining cdebootstrap!


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

Homelessness exists not because the housing systemn is not working, but because
this is the way it works. - Peter Marcuse.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bastian Blank <waldi@debian.org>:
Bug#1019698; Package cdebootstrap. (Wed, 14 Sep 2022 09:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Bastian Blank <waldi@debian.org>. (Wed, 14 Sep 2022 09:03:05 GMT) (full text, mbox, link).


Message #10 received at 1019698@bugs.debian.org (full text, mbox, wrote: > Holger Levsen wrote: > > > This bug is about the first step. It would be really nice if cdebootstrap > > had an option called --cleanup-logs which would delete those logs. > > Would it be sensible to suggest that, instead of an explicit > command-line flag, that debootstrap would do this cleanup if > SOURCE_DATE_EPOCH is present? > > If it helps, the idea of using the presence (or non-presence) of > SOURCE_DATE_EPOCH to slightly adjust the behaviour of a program is > already being used as a flag in other places. > > (If it helps, the parallel bug for debootstrap is #1019697.) > > > Regards, > > -- > ,''`. > : :' : Chris Lamb > `. `'` lamby@debian.org 🍥 chris-lamb.co.uk > `- > > &References= &In-Reply-To=">reply):

From: "Chris Lamb" <lamby@debian.org>
To: "Holger Levsen" <holger@debian.org>, 1019698@bugs.debian.org
Subject: Re: Bug#1019698: cdebootstrap: aid reproducible boostrapping by providing a --cleanup-logs option
Date: Wed, 14 Sep 2022 10:00:11 +0100
Holger Levsen wrote:

> This bug is about the first step. It would be really nice if cdebootstrap
> had an option called --cleanup-logs which would delete those logs.

Would it be sensible to suggest that, instead of an explicit
command-line flag, that debootstrap would do this cleanup if
SOURCE_DATE_EPOCH is present?

If it helps, the idea of using the presence (or non-presence) of
SOURCE_DATE_EPOCH to slightly adjust the behaviour of a program is
already being used as a flag in other places.

(If it helps, the parallel bug for debootstrap is #1019697.)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Bastian Blank <waldi@debian.org>:
Bug#1019698; Package cdebootstrap. (Wed, 14 Sep 2022 10:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Bastian Blank <waldi@debian.org>. (Wed, 14 Sep 2022 10:03:04 GMT) (full text, mbox, link).


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

From: Holger Levsen <holger@layer-acht.org>
To: Chris Lamb <lamby@debian.org>, 1019697@bugs.debian.org, 1019698@bugs.debian.org
Subject: Re: Bug#1019697: debootstrap: aid reproducible boostrapping by providing a --cleanup-logs option
Date: Wed, 14 Sep 2022 09:59:44 +0000
[Message part 1 (text/plain, inline)]
Hi Chris,

On Wed, Sep 14, 2022 at 10:00:32AM +0100, Chris Lamb wrote:
> > This bug is about the first step. It would be really nice if debootstrap
> > had an option called --cleanup-logs which would delete those logs.
> Would it be sensible to suggest that, instead of an explicit
> command-line flag, that debootstrap would do this cleanup if
> SOURCE_DATE_EPOCH is present?

I think that's an excellent idea! :)
 
> If it helps, the idea of using the presence (or non-presence) of
> SOURCE_DATE_EPOCH to slightly adjust the behaviour of a program is
> already being used as a flag in other places.
> 
> (If it helps, the parallel bug for cdebootstrap is #1019698.)

Leaving the rest of your reply as I've cc:ed #1019698.


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

"Climate change" is an euphenism. "Global warming" as well.
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 31 00:27:38 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.