Your message dated Thu, 18 May 2017 16:48:35 +0000
with message-id <[email protected]>
and subject line Bug#848693: fixed in debirf 0.37
has caused the Debian Bug report #848693,
regarding crashes if CDPATH is set
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.)


-- 
848693: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848693
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debirf
Version: 0.34
Severity: normal
Tags: patch

If, like me, you had the clever idea of using CDPATH to save time, the
behaviour of the "cd" command changed, and it now outputs the
directory it CDs in to. So this line 302:

    DEBIRF_BUILDD=$(cd "$DEBIRF_BUILDD" && pwd)

unexpectly yields:

/home/anarcat/src/stressant
/home/anarcat/src/stressant/.fakeroot-state.debirf-stressant

in my tests here.

i would simply silence the output of cd using > /dev/null, but since
this pattern is used in a few places, it's probably more reliable to
just unset CDPATH.

diff --git a/src/debirf b/src/debirf
index f57bdaf..744c30d 100755
--- a/src/debirf
+++ b/src/debirf
@@ -15,6 +15,7 @@
 
 CMD=$(basename $0)
 
+unset CDPATH
 DEBIRF_COMMON=${DEBIRF_COMMON:-/usr/share/debirf/common}
 source "$DEBIRF_COMMON"
 
have fun!

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debirf depends on:
ii  apt          1.0.9.8.4
ii  cpio         2.11+dfsg-4.1+deb8u1
ii  debootstrap  1.0.67
ii  fakechroot   2.17.2-1
ii  fakeroot     1.20.2-1
ii  klibc-utils  2.0.4-2

Versions of packages debirf recommends:
ii  grub-common      2.02~beta2-22+deb8u1
ii  lsb-release      4.1+Debian13+nmu1
ii  syslinux-common  3:6.03+dfsg-5+deb8u1
ii  xorriso          1.3.2-1.1

debirf suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: debirf
Source-Version: 0.37

We believe that the bug you reported is fixed in the latest version of
debirf, 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.
Daniel Kahn Gillmor <[email protected]> (supplier of updated debirf 
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: SHA512

Format: 1.8
Date: Thu, 18 May 2017 12:10:07 -0400
Source: debirf
Binary: debirf
Architecture: source
Version: 0.37
Distribution: unstable
Urgency: medium
Maintainer: Jameson Graef Rollins <[email protected]>
Changed-By: Daniel Kahn Gillmor <[email protected]>
Description:
 debirf     - build a kernel and initrd to run Debian from RAM
Closes: 813472 833125 834478 848693 850080
Changes:
 debirf (0.37) unstable; urgency=medium
 .
   [ JH Chatenet ]
   * run fakeroot with bash (Closes: #850080)
   * a0_prep-root: run insserv if installed (Closes: #833125)
 .
   [ Antoine Beaupré ]
   * avoid crash if CDPATH is set (Closes: #848693)
 .
   [ Daniel Kahn Gillmor ]
   * enable rootfs xz compression (Closes: #813472)
   * Add more utilities to rescue profile (Closes: #834478)
Checksums-Sha1:
 0ebde719673cf3c820f2d9799b41ce6c1249d421 1622 debirf_0.37.dsc
 38b0f45fed1552519533409654192ef18748da67 35568 debirf_0.37.tar.xz
 8db31e7855e5eee0d9011f590de807bfe27cfeb3 5780 debirf_0.37_amd64.buildinfo
Checksums-Sha256:
 14c990ca024b11c772a1450fe696ac91c7594c6915edf62899eedd609c9324bb 1622 
debirf_0.37.dsc
 af31b1c3ea72a4c57855c58311d23ecc0af0492997fdad0ed467cf761377c0a6 35568 
debirf_0.37.tar.xz
 1e581847616f3aee83cbf89a9092fedd51dd7e1b2448d5760eb719c6ac089268 5780 
debirf_0.37_amd64.buildinfo
Files:
 cfcf715c63af598d009c9f249c08fa9e 1622 admin extra debirf_0.37.dsc
 670c19b24d2e7308f5d62cc4a4ab952d 35568 admin extra debirf_0.37.tar.xz
 74b413af6ec5ddfb3416457884f3bb58 5780 admin extra debirf_0.37_amd64.buildinfo

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

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkdzdgACgkQFJitxsGS
MjcskQ/9Eum8dY4qG/3bYvI2I0uwFgPQ9LutoD80pAk1/luNlnN/3Bc35BMDRIIu
UNB+SO3Hv5KmhRTedIq4Fi9EiVSm1JmL9LmLdHoXEvQZI8nEOMS1jsaTr3eD7rXA
HaX5gkDjcH1In5eW9HvQ+unmyNbxGUDy9MUeRHTaybUnzKTUcORCpNiihpIkbIVp
bAiYr+vnopMU1VfEGfqyg6qcQU6V17TqINnu2hV6Fl0oYkjuDC82OIHT2DK1ZqIU
kUVeLViHOkBe+a9BPZYoTGIfjnvEwMTZxR4MGrfVUpntkMflajmlr4JSAx0Bl0ID
PLCArDDba6gNx50sVbrnoUaHKSg7pO14HxHpDrviK9DcXyr4hF5QGgxpE1wdUEJ+
Z+W4rvWAa3/aYQbiFiIE1gkKk4YCaLdx5rranXlqw+DQtsjLJN7MfKgLNbZa1Wms
AmXUyB6ndBVppB0T8gcFvatgkM9l3G/3UjV9eM8HBHZXSR5qaYnH2CQsWAuA9ww9
mXjrh1ZeCeAzqkU7jmuQoBKUc6TanmONO7UYuvuAhrU99YfGw0Q8kcUWjmn9lIh+
CctNfyj+JN2CtUOTPz7gwfEqJSp/lQFSeKbP3E2vIlHz3V6hgHZnKl55BFrQCsE/
lsUn5EIZTyJf7I9QZF1pfM764aWcttIahJ40XwoG++tqOI8S0Gg=
=6Cj9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to