Your message dated Mon, 27 Nov 2023 19:35:30 +0000
with message-id <[email protected]>
and subject line Bug#1056213: fixed in sysvinit 3.08-4
has caused the Debian Bug report #1056213,
regarding {sysvinit-core,initscripts}.postinst: please support DPKG_ROOT
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.)


-- 
1056213: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056213
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sysvinit
Severity: normal
Tags: patch
User: [email protected]
Usertags: dpkg-root-support

Hi,

when creating chroots for architectures that are in the process of being
bootstrapped without yet having emulation support, it is not possible to run
maintainer scripts inside the foreign architecture chroot as the tools they
call cannot be executed. The solution to that problem is to run maintainer
scripts from the chroot directory without doing a chroot call first and instead
use the $DPKG_ROOT environment variable to communicate the location of the
chroot directory that the tools called by the maintainer script should operate
on. By default, for normal installations, that environment variable is set, but
empty. For more information see:
https://wiki.debian.org/Teams/Dpkg/Spec/InstallBootstrap

Support for this mode was already added to all packages in the essential set,
apt, systemd-sysv as well as build-essential. I'm now trying to add
support to the packages required to set up a system using sysv-init.
Having support DPKG_ROOT support for another init system than systemd is
useful to create chroots for architectures or kernels (like GNU Hurd)
that do not have systemd support.

I put my patch in this MR:
https://salsa.debian.org/debian/sysvinit/-/merge_requests/11

We tested it in our CI environment and it produces a bit-by-bit
identical chroot with DPKG_ROOT compared to a normal installation.

https://salsa.debian.org/helmutg/dpkg-root-demo/

Since the DPKG_ROOT variable is empty on normal installations, the patch
should have no effect in the normal case.

Thanks!

cheers, josch

--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 3.08-4
Done: Mark Hindley <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sysvinit, 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.
Mark Hindley <[email protected]> (supplier of updated sysvinit 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: SHA256

Format: 1.8
Date: Mon, 27 Nov 2023 18:45:44 +0000
Source: sysvinit
Architecture: source
Version: 3.08-4
Distribution: experimental
Urgency: medium
Maintainer: Debian sysvinit maintainers 
<[email protected]>
Changed-By: Mark Hindley <[email protected]>
Closes: 1056213 1056954
Changes:
 sysvinit (3.08-4) experimental; urgency=medium
 .
   [ Guillem Jover ]
   * initscripts: Set PATH in udev init script to include stat program.
 .
   [ Johannes Schauer Marin Rodrigues ]
   * postinst: respect DPKG_ROOT environment variable (Closes: #1056213).
 .
   [ Mark Hindley ]
   * Update Swedish debconf translation with thanks to Martin Bagge
     <[email protected]>.  (Closes: #1056954)
Checksums-Sha1:
 63d4d821aa2f22667738472d6155d9235ca7c20f 2359 sysvinit_3.08-4.dsc
 dce1c91d7e3d1494aab24de2aa2796ad628c2c68 137920 sysvinit_3.08-4.debian.tar.xz
 7594d9873e8b3d1ac94577538b87fae5d6ba7a2e 8769 sysvinit_3.08-4_amd64.buildinfo
Checksums-Sha256:
 a06039d458d50526778ed5458bce61cef23e4923ebbde5404e0e8ca2157fc133 2359 
sysvinit_3.08-4.dsc
 2bdc9985a25f5512e88cbf8f5e9a338adc1b17778eace0333869c0c54012820d 137920 
sysvinit_3.08-4.debian.tar.xz
 1b0ebab692fd30c685e7a974547992ef3a9bd62dcedd4b424b3c6a718055fc54 8769 
sysvinit_3.08-4_amd64.buildinfo
Files:
 cfe73a9f105227cd33cd892eb4261e5a 2359 admin optional sysvinit_3.08-4.dsc
 dc85f9fb37bcd708d4186e9b452ea1a6 137920 admin optional 
sysvinit_3.08-4.debian.tar.xz
 9bc55561f9daae301b2122e401dba960 8769 admin optional 
sysvinit_3.08-4_amd64.buildinfo

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

iQIzBAEBCAAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAmVk68EACgkQ0opFvzKH
1kmQXw//a8zz5a4MeDRow0reRNIVGKQY6lutIlDbUKTJw2/Ksqxrq+oFmSvav/QA
/y0UzX/tx3bppDVjed2EVCSxnPfvBB7ZvpUWtOhjr9P/si7NriAq6EX/PpQYj+jp
E4I6ZQSw8TcewfuvIvFvetW5GOI/oMykEfkxA9HfuYkvMt1fran75XDfgFMvQv8Z
eA1klkIOMOvKpj2/H6HfWTQkfxqg/7CzcVxEgIsJ2oNJgYky8ZAxzMF7S30B16dJ
TzCBFgdMiDUuodvo7pujGUNleooXu3kwLrhpGnHimITUB2/6dG89opIza74SNNfw
kB6ZmS3z/V7LLvCmzLNAJW1keqWeZFmXX/lb37oRKg5/0b+d0GXGRRCFWt7/xtTs
pyEUjZ099Wq+AJMX6UYWlZ5dtDi++XGMUQ0Be1tk/QtJYs7UPRtfTx+xf7JS78WX
4XSxpEOmprtW226pZWZ7oOIgNxDalrpl5Ap9OXUlKr4Ss1H6Os1ARb9gtcAVDQZV
yjGL+3uAPykI7ChU1M5H/J92m6PNVTan4l1M/onLZjOS6BKgYaGIW4fLKYmdg8pH
6WzSwD3dM29iZWXwunA7pKFO0gtqUtwQpmLpaMPxTrbNIxWGGFa6u8InYAoUI6Xu
bPClQRcr6CVfqwENdDRCLhriKHcKsS+CDmAcWEVCwmj/CZyu9sY=
=v187
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to