Your message dated Sun, 06 Oct 2019 21:59:00 +0000
with message-id <[email protected]>
and subject line Bug#934199: fixed in mmdebstrap 0.5.0-1
has caused the Debian Bug report #934199,
regarding mmdebstrap confused when ! -t STDIN
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.)


-- 
934199: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934199
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mmdebstrap
Version: 0.4.1-3
Severity: normal
File: /usr/bin/mmdebstrap

I regularly debootstrap on the far end of an SSH connection.
This is approximately

    ssh otherplace debootstrap buster /tmp/x http://apt/debian

When I try this with mmdebstrap, it hangs forever waiting for a
sources.list on stdin, EVEN THOUGH I have supplied one on the CLI.

    ssh otherplace mmdebstrap buster /tmp/x http://apt/debian
    [...]
    I: Reading sources.list from standard input...

This is because mmdebstrap:1957 assumes if stdin is either a tty, or is a 
sources.list.

>From the manpage, I think this should happen IF AND ONLY IF the mirrors 
>argument is "-"

    <a mmdebstrap x y z    # ignore stdin (mirrors are "z")
    <a mmdebstrap x y -    # read from stdin (mirrors are "a")
    <a mmdebstrap x y      # ignore stdin (mirrors are default)

You can reproduce other silly behaviours with:

    mmdebstrap <&-
    mmdebstrap </dev/zero

As a workaround, "mmdebstrap </dev/null" seems to work.


PS: I set DEBIAN_FRONTEND &c, so postinsts don't need a tty either.


-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates'), (500, 'unstable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU.UTF-8 (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  pseudo [fakeroot]  1.9.0+git20180920-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>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: mmdebstrap
Source-Version: 0.5.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, 06 Oct 2019 23:20:58 +0200
Source: mmdebstrap
Binary: mmdebstrap
Architecture: source
Version: 0.5.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: 934199 935258 935260 935266 940162 940173
Changes:
 mmdebstrap (0.5.0-1) unstable; urgency=medium
 .
   * new upstream release
      - rework CLI interface to use explicit "-" for stdin where ambiguous
        instead of unconditionally reading stdin (closes: #934199)
      - also create /var/lib/dpkg/arch in chrootless mode (closes: #935258)
      - don't cleanup qemu-user in chrootless mode (closes: #935260)
      - allow hooks to remove start-stop-daemon (closes: #940173)
      - fix tarball permissions in chrootless mode (closes: #935266)
      - only report binfmt_misc errors if needed (closes: #940162)
   * run testsuite with distribution of the autopkgtest environment
   * drop patches that were applied upstream
   * apply two new patches to accommodate for salsa CI
Checksums-Sha1:
 57868dea3a9ab702b691e745588823361df30d34 2205 mmdebstrap_0.5.0-1.dsc
 e239c33923b2b83d77fa88e010fbec5940f2e5ab 47650 mmdebstrap_0.5.0.orig.tar.gz
 42f584e5db7eab2b130ad6eb344e019a1b874465 6944 mmdebstrap_0.5.0-1.debian.tar.xz
Checksums-Sha256:
 948fade15595be9b8ae99580fbd674d5c146ee7d2059461ef725b97c05397e25 2205 
mmdebstrap_0.5.0-1.dsc
 036b439f767d2c2cee7eaf2034676592dfb48712d8c55dbc63d6977ec95abde5 47650 
mmdebstrap_0.5.0.orig.tar.gz
 b3ff2454adef3d7ca1649285ad0d4071cf170db47a764cadb083ebdf115107db 6944 
mmdebstrap_0.5.0-1.debian.tar.xz
Files:
 5b9a10359bf4f92b935b40c66de83af7 2205 admin optional mmdebstrap_0.5.0-1.dsc
 24947ab3de56c386eef1723d5525a164 47650 admin optional 
mmdebstrap_0.5.0.orig.tar.gz
 35418af3731dba88fd9454b99582242d 6944 admin optional 
mmdebstrap_0.5.0-1.debian.tar.xz

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

iQIzBAEBCAAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAl2aW18ACgkQ8sulx4+9
g+Fqaw/+OM1VDcU8yvcIglbm1056wAs3SWxXCEbCxgTdmkEl2LbNOlbMv8Xe7oXA
DmjlDDWYC3BPl280wDuFqN6hXg1OktlGloEu7aP9eoS8EKbnHIT64Izj9JdkRnXe
duEafWzERN6qruT0gHULuXLBPXeJOcQdmwtrvhmM17z3ILWsRYsbe0stWR0UEWD7
etBGtYRK4lVFja70mCvKshZ3T7uD3kjILeKXReuDl7+XW3HRzU/2du+xQskZ8f83
G6FSFM0YEJwbiJ/Ei8dtCJBPAqq4I3nWs/vRhHsjMkNjgz7WUXMmUwL5lVlGaGRb
aFQeIJmpol6HwloeeDRFxS7ZUS+kfmS5dWcYM2bTRktye3mpW+NOUxtDgeCXY4rq
ld9Pw9VKC7BGPRNmNm/GTadBbEeXVAPtBStjV0Y4KJoUYSzgrW2zF87PIYZ7V4s4
OK8MHqfNBFg2RKQwRRmCJnr6YweY4vEkALubtijliT+eMiTJZViqMvccgSNkG+cX
dvV9kdYd5nsA+toxiHYLfVwswJnJgqLBQ2Yj91tT+eTWBIKEoKPCBsBxqBWid3wr
j5zMNkff6hzV/4Th8hbNlzfiZGsXAwjvypuPVCBcv5CSw8P7NnSChOPo8VtElYeF
Spf5ei1HxMvRxO/SPNk7RloD5+93S+93yVLrIEgfzxY4kPy3qlA=
=N5dF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to