Your message dated Sun, 19 Jan 2020 22:11:22 +0000
with message-id <[email protected]>
and subject line Bug#945119: fixed in mmdebstrap 0.6.0-1
has caused the Debian Bug report #945119,
regarding mmdebstrap: Fail to mmdebstrap Jessie with systemd components 
(missing /dev/urandom)
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.)


-- 
945119: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945119
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mmdebstrap
Version: 0.5.1
Severity: normal
Tags: upstream

Thanks a lot for mmdebstrap, I use it to generate images for my Xen
cluster, it's efficient and works like a charm.

I have a small bug when using it to generate Jessie images with systemd
components, when systemd's postinst invokes 'systemd-machine-id-setup'
and this one fails because it cannot find any /dev/urandom. Reproduce
with :

    ./mmdebstrap --mode=unshare --include systemd jessie jessie.tar.gz
    ...
    Setting up systemd (215-17+deb8u7) ...
    Failed to read /proc/cmdline. Ignoring: No such file or directory
    Failed to open /dev/urandom: Function not implemented
    dpkg: error processing package systemd (--install):
     subprocess installed post-installation script returned error exit
status 1

I've worked around this by adding a
--setup-hook='systemd-machine-id-setup --root $1' which is quite a hack
and works because my host has systemd.

And then I encounter a last (related?) bug :

    ./mmdebstrap --mode=unshare --setup-hook='systemd-machine-id-setup --
root $1' --include systemd jessie jessie.tar.gz
    ...
    I: installing apt...
    done
    E: run_chroot failed: E: cannot make_path ./dev/pts/

It seems than around line 777 when creating type==5/directory it goes
thru the havemknod==false path and fails. But if I bypass this block, it
proceeds with bind-mouting /dev/pts which works, and I get my working
tarball.

-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mmdebstrap depends on:
ii  apt       1.8.2
ii  perl      5.28.1-6
ii  perl-doc  5.28.1-6

Versions of packages mmdebstrap recommends:
ii  arch-test   0.15-2
ii  fakechroot  2.19-3.2
ii  fakeroot    1.23-1
ii  mount       2.33.1-0.1
ii  uidmap      1:4.5-1.1

Versions of packages mmdebstrap suggests:
pn  binfmt-support    <none>
ii  dpkg-dev          1.19.7
ii  proot             5.1.0-1.3
pn  qemu-user         <none>
pn  qemu-user-static  <none>

--- End Message ---
--- Begin Message ---
Source: mmdebstrap
Source-Version: 0.6.0-1

We believe that the bug you reported is fixed in the latest version of
mmdebstrap, 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.
Johannes 'josch' Schauer <[email protected]> (supplier of updated mmdebstrap 
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: Sun, 19 Jan 2020 22:53:49 +0100
Source: mmdebstrap
Binary: mmdebstrap
Architecture: source
Version: 0.6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Johannes 'josch' Schauer <[email protected]>
Changed-By: Johannes 'josch' Schauer <[email protected]>
Description:
 mmdebstrap - create a Debian chroot
Closes: 943323 943325 943327 944571 944677 944684 944923 945119 947012 947239 
948302 948481
Changes:
 mmdebstrap (0.6.0-1) unstable; urgency=medium
 .
   * new upstream release
      - support running tests on non-amd64 architectures (closes: #948302)
      - only attempt unlinking policy-rc.d if it exists (closes: #943323)
      - add disclaimer of warranty and limitations of liability (closes: 
#944571)
      - also remove apt sources that were given via /etc/apt/sources.list.d/
        (closes: #944684)
      - also install essential packages with /dev, /proc and /sys mounted
        (closes: #945119)
      - support for extended attributes (closes: #947012)
      - clean any remaining files in /tmp in the chroot (closes: #947239)
      - also clean /var/log/apt/eipp.log.xz (closes: #944677)
      - add --keyring option (closes: #943325)
      - run xz with --threads=0 (closes: #943327)
      - add --dry-run option (closes: #948481)
   * drop dependency on perl-doc because --help doesn't need it anymore (closes:
     #944923)
Checksums-Sha1:
 bac6870a99049a22e380c744b16fcff1a41d6d52 2259 mmdebstrap_0.6.0-1.dsc
 bf92ce90f6e0ab7896e0e5df6a8aba696d5af6d2 69191 mmdebstrap_0.6.0.orig.tar.gz
 f8a7f971d63f7ff905fc789402f2aca3ec8e6cbf 6708 mmdebstrap_0.6.0-1.debian.tar.xz
Checksums-Sha256:
 6589149081c8e0244ce9ff8cb0c406931c434f1da208819b9ff2e1b58b4df6ad 2259 
mmdebstrap_0.6.0-1.dsc
 4b300a308e3393a7bca3bfaa3b12f9088e427acbbd767d6b6833e684903737e0 69191 
mmdebstrap_0.6.0.orig.tar.gz
 7ba9ff448262a1e1231b0664d6614f11b42e32792aed21c1043588fc430dc342 6708 
mmdebstrap_0.6.0-1.debian.tar.xz
Files:
 29c3b73c6fa88871bcb530cd13326cc4 2259 admin optional mmdebstrap_0.6.0-1.dsc
 2f8c1f68466d63a08993b610693d35b4 69191 admin optional 
mmdebstrap_0.6.0.orig.tar.gz
 d2ece4c7b212c65822c73fff1ee24be2 6708 admin optional 
mmdebstrap_0.6.0-1.debian.tar.xz

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

iQIzBAEBCAAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAl4k0BsACgkQ8sulx4+9
g+FpFhAAijO+ppbrIYP4js2eG3zrSulQDNmVmaNgGwhokr8odJmx5wh8Hadv/+XQ
0j4nW9lZ4I8evNbFsNXx2ygM17G8jtIgj2uYlPjKh4LlMlen93jUbw1cL3Cia7As
9/fypy2uGzLm+1b9QAFAnpI9R4WeWSFa1ey1N0Zz+ocOOlZ8kVvmw2QzWw+NXKAP
BrhbMzDoFFSd5VWuPrbq0z0k8z01QjxzOgu5EivzSUc6TmhcHI6Dxh+dYF6oUn13
PsGpwMxoBOj+0LC55gji4s3tU6fO2iaUMgopA1Lx3CywXwIvg0gkn2z1fgZE+v41
YWkVQF/C1FYc5iOu9nZ4UvrIG+LeYW8u7DMk/42Is8RAQbWtQNQo3RhHUCIvjk7q
+2w/Xqrf9iJ1Kf+faDTMZUvARtFOgkhtVjEmwzNhEvGzBdxBzUyrFGWRj/cFmAK2
yQwgIcryW/nC0su8mW65sarkOYabwBa8RvmXqXST81wuHicjeeliiMw47WBTWK5e
Su/mDI04TUki+dvX1T027XobKMJZH2S5vM4Zg9TehHVNMGMbcEfDLxPEn2Qb4YFx
MkjxCxkisFk0V+Xfvxz8lFQ904kOQqe6hiyDMXwhl/2X9kGY1DpVdB4002cgEt+m
mvc9/M8QTGjEdblUYFl/5b2SSwZuyp/baOyUf6EofIeJz2icuOE=
=Q+O3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to