Debian Bug report logs - #745082
fakechroot: chfn in a fakechroot environment

version graph

Package: src:fakechroot; Maintainer for src:fakechroot is Piotr Roszatycki <dexter@debian.org>;

Affects: debirf

Reported by: jhcha54008 <jhcha54008@free.fr>

Date: Thu, 17 Apr 2014 20:51:01 UTC

Severity: normal

Tags: fixed-upstream, patch

Merged with 763391, 774332

Fixed in version fakechroot/2.18-1

Done: Piotr Roszatycki <dexter@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/dex4er/fakechroot/pull/37

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Piotr Roszatycki <dexter@debian.org>:
Bug#745082; Package fakechroot. (Thu, 17 Apr 2014 20:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to jhcha54008 <jhcha54008@free.fr>:
New Bug report received and forwarded. Copy sent to Piotr Roszatycki <dexter@debian.org>. (Thu, 17 Apr 2014 20:51:06 GMT) (full text, mbox, link).


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

From: jhcha54008 <jhcha54008@free.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: fakechroot: chfn in a fakechroot environment
Date: Thu, 17 Apr 2014 22:50:42 +0000
Package: fakechroot
Version: 2.17.2-1
Severity: normal
Tags: patch

Dear Maintainer,

The command chfn fails in a fakechroot environment : it is setuid root, and the variable
LD_LIBRARY_PATH is ignored. As a result, it tries to alter /etc/passwd outside of the
(fake)chroot and fails because of insufficient permissions.

This prevents the installation of avahi-daemon, colord, usbmuxd and logcheck :

# aptitude install avahi-daemon
...
Setting up avahi-daemon (0.6.31-4) ...
chfn: PAM: System error
adduser: `/usr/bin/chfn -f Avahi mDNS daemon avahi' returned error code 1. Exiting.
dpkg: error processing package avahi-daemon (--configure):
 subprocess installed post-installation script returned error exit status 1
...

(in the (fake)chroot :
# cat /usr/sbin/policy-rc.d
#!/bin/sh
exit 101
  
# cat /sbin/start-stop-daemon
#!/bin/sh
echo
echo "Warning: Fake start-stop-daemon called, doing nothing")

Is it possible to add a replacement for chfn ? 
Here is a (unoptimized !) example : it just changes /etc/passwd inside of the 
(fake)chroot (no need of setuid/setgid).

Regards,
JH Chatenet


*** rustine14.patch
diff -Naur a/scripts/chfn.fakechroot.sh b/scripts/chfn.fakechroot.sh
--- a/scripts/chfn.fakechroot.sh	1970-01-01 01:00:00.000000000 +0100
+++ b/scripts/chfn.fakechroot.sh	2014-04-14 21:51:42.000000000 +0200
@@ -0,0 +1,181 @@
+#!@SHELL@
+
+# chfn
+#
+# Replacement for chfn command which changes a gecos field in
+# etc/passwd under the (fake)chroot.  There is no locking and no permission check.
+
+which_option() {
+	option_name="$1"
+	option_value="$2"
+	case $option_name in
+		-f|--full-name)
+			has_new_name=1
+			new_name="$(echo $option_value|tr -d ':,=')"
+			;;
+		-h|--home-phone)
+			has_new_home_phone=1
+			new_home_phone="$(echo $option_value|tr -d ':,=')"
+			;;
+		-o|--other)
+			has_new_other=1
+			new_other="$(echo $option_value|tr -d ':')"
+			;;
+		-r|--room)
+			has_new_room=1
+			new_room="$(echo $option_value|tr -d ':,=')"
+			;;
+		-R|--root)
+			has_root=1
+			root="$option_value"
+			;;
+		-w|--work-phone)
+			has_new_work_phone=1
+			new_work_phone="$(echo $option_value|tr -d ':,=')"
+			;;
+	esac
+}
+
+parse_gecos_field() {
+	gecos_field="$1"
+
+	old_name="${gecos_field%%,*}"
+	gecos_field="${gecos_field#$old_name}"
+
+	if [ -z "$gecos_field" ]; then
+		return
+	else
+		gecos_field="${gecos_field#,}"
+	fi
+
+	old_room="${gecos_field%%,*}"
+	gecos_field="${gecos_field#$old_room}"
+	gecos_field="${gecos_field#,}"
+
+	old_work_phone="${gecos_field%%,*}"
+	gecos_field="${gecos_field#$old_work_phone}"
+	gecos_field="${gecos_field#,}"
+
+	old_home_phone="${gecos_field%%,*}"
+	gecos_field="${gecos_field#$old_home_phone}"
+	gecos_field="${gecos_field#,}"
+
+	if [ -n "$gecos_field" ]; then
+		has_old_other=1
+		old_other="$gecos_field"
+	fi
+}
+
+while [ $# -gt 0 ]; do
+	case $1 in
+		-u|--help)
+			echo "fakechroot : replacement of chfn"
+			chfn -u
+			exit 0
+			;;
+		-f|--full-name|-h|--home-phone|-o|--other|-r|--room|-R|--root|-w|--work-phone)
+			option_name="$1"
+			option_value="$2"
+			which_option "$option_name" "$option_value"
+			shift 2
+			;;
+		--full-name=*|--home-phone=*|--other=*|--room=*|--root=*|--work-phone=*)
+			option_name="${1%%=*}"
+			option_value="${1#*=}"
+			which_option "$option_name" "$option_value"
+			shift
+			;;
+		-f*|-h*|-o*|-r*|-R*|-w*)
+			option_value="${1#-?}"
+			option_name="${1%$option_value}"
+			which_option "$option_name" "$option_value"
+			shift
+			;;
+		--)
+			shift
+			break
+			;;
+		*)
+			break
+			;;
+	esac
+done
+
+if [ $# -gt 0 ]; then
+	user="$1"
+else
+	user=$(id -u -n)
+fi
+
+
+# Where is the root ?
+if [ -n "$root" ]; then
+	if [ "${root#/}" != "$root" ]; then
+		root="${FAKECHROOT_BASE_ORIG}${root}"
+	fi
+else
+	root="$FAKECHROOT_BASE_ORIG"
+fi
+
+if [ ! -e "$root/etc/passwd" ]; then
+	echo "fakechroot chfn replacement : $root/etc/passwd : no such file" >&2
+	exit 1
+fi
+
+# Is there such user ?
+grep -q "^${user}:" "$root/etc/passwd"
+ret=$?
+
+if [ $ret -eq 1 ]; then
+	echo "fakechroot chfn replacement : $user : no such user" >&2
+	exit 2
+elif [ $ret -eq 2 ]; then
+        echo "fakechroot chfn replacement : grep error" >&2
+	exit 3
+fi
+
+# What is the old gecos field ?
+old_gecos_field=$(sed -n "/^${user}/ {s/^\([^:]*:\)\{4\}\([^:]*\):.*$/\2/;p;q}" "$root/etc/passwd")
+
+parse_gecos_field "$old_gecos_field"
+
+# Assemble new gecos
+
+if [ -n "$has_new_name" ]; then
+	new_gecos_field="$new_name"
+else
+	new_gecos_field="$old_name"
+fi
+
+if [ -n "$has_new_room" ]; then
+	new_gecos_field="${new_gecos_field},$new_room"
+else
+	new_gecos_field="${new_gecos_field},$old_room"
+fi
+
+if [ -n "$has_new_work_phone" ]; then
+	 new_gecos_field="${new_gecos_field},$new_work_phone"
+else
+	 new_gecos_field="${new_gecos_field},$old_work_phone"
+fi
+
+if [ -n "$has_new_home_phone" ]; then
+	new_gecos_field="${new_gecos_field},$new_home_phone"
+else
+	new_gecos_field="${new_gecos_field},$old_home_phone"
+fi
+
+if [ -n "$has_new_other" ]; then
+	new_gecos_field="${new_gecos_field},$new_other"
+elif [ -n "$has_old_other" ]; then
+	new_gecos_field="${new_gecos_field},$old_other"
+fi
+
+name_only="${new_gecos_field%%,*}"
+
+if [ "${new_gecos_field#$name_only}" = ",,," ]; then
+	new_gecos_field="$name_only"
+fi
+
+# New /etc/passwd
+sed -i "s/^\(${user}:\([^:]*:\)\{3\}\)\([^:]*\)/\1${new_gecos_field}/" "$root/etc/passwd"
diff -Naur a/scripts/chroot.env.sh b/scripts/chroot.env.sh
--- a/scripts/chroot.env.sh	2014-04-15 17:31:38.000000000 +0200
+++ b/scripts/chroot.env.sh	2014-04-17 08:26:46.000000000 +0200
@@ -10,6 +10,7 @@
 fakechroot_chroot_env_cmd_subst=""
 for fakechroot_chroot_env_d in `echo $PATH | tr ':' ' '`; do
     fakechroot_chroot_env_cmd_subst="$fakechroot_chroot_env_cmd_subst
+        $fakechroot_chroot_env_d/chfn=@bindir@/chfn.fakechroot
         $fakechroot_chroot_env_d/chroot=@sbindir@/chroot.fakechroot
         $fakechroot_chroot_env_d/env=@bindir@/env.fakechroot
         $fakechroot_chroot_env_d/ischroot=/bin/true
diff -Naur a/scripts/Makefile.am b/scripts/Makefile.am
--- a/scripts/Makefile.am	2014-04-15 17:26:38.000000000 +0200
+++ b/scripts/Makefile.am	2014-04-17 08:27:34.000000000 +0200
@@ -1,10 +1,10 @@
 sysconfdir = @sysconfdir@/@PACKAGE@
 
-src_wrappers = chroot.fakechroot.sh env.fakechroot.sh fakechroot.sh ldd.fakechroot.pl
+src_wrappers = chfn.fakechroot.sh chroot.fakechroot.sh env.fakechroot.sh fakechroot.sh ldd.fakechroot.pl
 src_envs = chroot.env.sh debootstrap.env.sh rinse.env.sh
 example_scripts = relocatesymlinks.sh restoremode.sh savemode.sh
 
-bin_SCRIPTS = env.fakechroot fakechroot ldd.fakechroot
+bin_SCRIPTS = chfn.fakechroot env.fakechroot fakechroot ldd.fakechroot
 sbin_SCRIPTS = chroot.fakechroot
 sysconf_DATA = chroot.env debootstrap.env rinse.env
 
@@ -26,6 +26,10 @@
                -e 's,[@]SHELL[@],$(SHELL),g' \
                -e 's,[@]VERSION[@],$(VERSION),g'
 
+chfn.fakechroot: $(srcdir)/chfn.fakechroot.sh
+	$(do_subst) < $(srcdir)/chfn.fakechroot.sh> $@
+	chmod +x $@
+
 chroot.env: $(srcdir)/chroot.env.sh
 	$(do_subst) < $(srcdir)/chroot.env.sh > $@
 	chmod +x $@


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages fakechroot depends on:
ii  libfakechroot  2.17.2-1

fakechroot recommends no packages.

fakechroot suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Piotr Roszatycki <dexter@debian.org>:
Bug#745082; Package fakechroot. (Fri, 20 Feb 2015 18:06:05 GMT) (full text, mbox, link).


Acknowledgement sent to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
Extra info received and forwarded to list. Copy sent to Piotr Roszatycki <dexter@debian.org>. (Fri, 20 Feb 2015 18:06:05 GMT) (full text, mbox, link).


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

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: jhcha54008 <jhcha54008@free.fr>, Dan Greene <dan-greene@wi.rr.com>, Vagrant Cascadian <vagrant@debian.org>, 763391@bugs.debian.org, 774332@bugs.debian.org, 745082@bugs.debian.org
Subject: Re: chfn and fakechroot
Date: Fri, 20 Feb 2015 19:02:31 +0100
Hi!

I am running into the exact same problem when trying to create a
unstable chroot using debootstrap on one of our sh4 machines
using the following command line:

debootstrap --no-check-gpg --include=apt,nano,aptitude,vim unstable
unstable-sh4-20150220-3 ftp://ftp.debian-ports.org/debian

With the error message being:

Setting up systemd (215-12) ...
Initializing machine ID from random generator.
chfn: PAM: Critical error - immediate abort
adduser: `/usr/bin/chfn -f systemd Time Synchronization
systemd-timesync' returned error code 1. Exiting.
dpkg: error processing package systemd (--configure):
 subprocess installed post-installation script returned error exit status 1

The problem are apparently the missing quotes in the above command:

root@yamato:/# /usr/bin/chfn -f systemd Time Synchronization
systemd-timesync
chfn: user 'Time' does not exist
root@yamato:/#

Adding them fixes the problem:

root@yamato:/# /usr/bin/chfn -f "systemd Time Synchronization"
systemd-timesync
root@yamato:/#

I checked the systemd postinst and this script does indeed contain
quotes. For some reasons which I don't understand, adduser invokes
chfn in during the debootstrap process without the quotes.

And what's even more crazy, the exact same command line does work
on m68k or amd64 machines, for example. The sh4 machine is up-to-date,
so it can be outdated packages either (unless I overlooked something).

Any ideas?

PS: I would suggest merging 745082, 763391 and 774332. They seem to
    describe the exact same bug.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Information forwarded to debian-bugs-dist@lists.debian.org, Piotr Roszatycki <dexter@debian.org>:
Bug#745082; Package fakechroot. (Fri, 20 Feb 2015 22:24:05 GMT) (full text, mbox, link).


Acknowledgement sent to jhcha54008 <jhcha54008@free.fr>:
Extra info received and forwarded to list. Copy sent to Piotr Roszatycki <dexter@debian.org>. (Fri, 20 Feb 2015 22:24:05 GMT) (full text, mbox, link).


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

From: jhcha54008 <jhcha54008@free.fr>
To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Dan Greene <dan-greene@wi.rr.com>, Vagrant Cascadian <vagrant@debian.org>, 763391@bugs.debian.org, 774332@bugs.debian.org, 745082@bugs.debian.org
Subject: Re: chfn and fakechroot
Date: Fri, 20 Feb 2015 23:24:18 +0000
Le vendredi 20 février à 19h 02mn 31s (+0100), John Paul Adrian Glaubitz a écrit :
> Hi!
> 
> I am running into the exact same problem when trying to create a
> unstable chroot using debootstrap on one of our sh4 machines
> using the following command line:
> 
> debootstrap --no-check-gpg --include=apt,nano,aptitude,vim unstable
> unstable-sh4-20150220-3 ftp://ftp.debian-ports.org/debian
> 
> With the error message being:
> 
> Setting up systemd (215-12) ...
> Initializing machine ID from random generator.
> chfn: PAM: Critical error - immediate abort
> adduser: `/usr/bin/chfn -f systemd Time Synchronization
> systemd-timesync' returned error code 1. Exiting.
> dpkg: error processing package systemd (--configure):
>  subprocess installed post-installation script returned error exit status 1
> 
> The problem are apparently the missing quotes in the above command:
> 
> root@yamato:/# /usr/bin/chfn -f systemd Time Synchronization
> systemd-timesync
> chfn: user 'Time' does not exist
> root@yamato:/#
> 
> Adding them fixes the problem:
> 
> root@yamato:/# /usr/bin/chfn -f "systemd Time Synchronization"
> systemd-timesync
> root@yamato:/#
> 
> I checked the systemd postinst and this script does indeed contain
> quotes. For some reasons which I don't understand, adduser invokes
> chfn in during the debootstrap process without the quotes.
> 
> And what's even more crazy, the exact same command line does work
> on m68k or amd64 machines, for example. The sh4 machine is up-to-date,
> so it can be outdated packages either (unless I overlooked something).
> 
> Any ideas?
> 
> PS: I would suggest merging 745082, 763391 and 774332. They seem to
>     describe the exact same bug.
> 
> Adrian
> 
> -- 
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz@debian.org
> `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Hi,

May I ask if debootstrap ran in a fakechroot environment or as real root ?

Regards,
JH Chatenet



Information forwarded to debian-bugs-dist@lists.debian.org, Piotr Roszatycki <dexter@debian.org>:
Bug#745082; Package fakechroot. (Fri, 20 Feb 2015 23:15:10 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Extra info received and forwarded to list. Copy sent to Piotr Roszatycki <dexter@debian.org>. (Fri, 20 Feb 2015 23:15:10 GMT) (full text, mbox, link).


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

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: jhcha54008 <jhcha54008@free.fr>, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Dan Greene <dan-greene@wi.rr.com>, Vagrant Cascadian <vagrant@debian.org>, 763391@bugs.debian.org, 774332@bugs.debian.org, 745082@bugs.debian.org
Subject: Re: Bug#763391: chfn and fakechroot
Date: Fri, 20 Feb 2015 18:12:58 -0500
Control: forcemerge 774332 745082 763391

Le vendredi 20 février à 19h 02mn 31s (+0100), John Paul Adrian Glaubitz a écrit :
>> PS: I would suggest merging 745082, 763391 and 774332. They seem to
>>     describe the exact same bug.

I agree they look similar, and i'm inclined to think that the problem is
with debootstrap itself.  I'm doing the merge here into the bug that's
open against debootstrap.  hopefully it won't need to be split out again
in the future :P

On Fri 2015-02-20 18:24:18 -0500, jhcha54008 wrote:
> May I ask if debootstrap ran in a fakechroot environment or as real root ?

I'm curious about this too.  Adrian, can you give more details?

    --dkg



Bug reassigned from package 'fakechroot' to 'debootstrap'. Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net> to control@bugs.debian.org. (Sat, 21 Feb 2015 00:39:10 GMT) (full text, mbox, link).


No longer marked as found in versions fakechroot/2.17.2-1. Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net> to control@bugs.debian.org. (Sat, 21 Feb 2015 00:39:11 GMT) (full text, mbox, link).


Added indication that 745082 affects debirf Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net> to control@bugs.debian.org. (Sat, 21 Feb 2015 00:39:14 GMT) (full text, mbox, link).


Marked as found in versions debootstrap/1.0.66. Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net> to control@bugs.debian.org. (Sat, 21 Feb 2015 00:39:15 GMT) (full text, mbox, link).


Merged 745082 763391 774332 Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net> to control@bugs.debian.org. (Sat, 21 Feb 2015 00:39:17 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Sat, 21 Feb 2015 02:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 21 Feb 2015 02:51:04 GMT) (full text, mbox, link).


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

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: jhcha54008 <jhcha54008@free.fr>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Dan Greene <dan-greene@wi.rr.com>, Vagrant Cascadian <vagrant@debian.org>, 763391@bugs.debian.org, 774332@bugs.debian.org, 745082@bugs.debian.org
Subject: Re: chfn and fakechroot
Date: Sat, 21 Feb 2015 03:50:23 +0100
On 02/21/2015 12:24 AM, jhcha54008 wrote:
> May I ask if debootstrap ran in a fakechroot environment or as real root ?

I haven't tried fakechroot, but the debootstrap call was done using the
real root user. What makes you so sure this is actually an issue with
fakechroot? I just tried --variant=fakechroot on my main amd64 machine
and that worked without any issues.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Sat, 21 Feb 2015 03:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 21 Feb 2015 03:45:05 GMT) (full text, mbox, link).


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

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, jhcha54008 <jhcha54008@free.fr>
Cc: Dan Greene <dan-greene@wi.rr.com>, Vagrant Cascadian <vagrant@debian.org>, 763391@bugs.debian.org, 774332@bugs.debian.org, 745082@bugs.debian.org
Subject: Re: Bug#763391: chfn and fakechroot
Date: Sat, 21 Feb 2015 04:42:07 +0100
On 02/21/2015 12:12 AM, Daniel Kahn Gillmor wrote:
> On Fri 2015-02-20 18:24:18 -0500, jhcha54008 wrote:
>> May I ask if debootstrap ran in a fakechroot environment or as real root ?
> 
> I'm curious about this too.  Adrian, can you give more details?

I always ran debootstrap as the regular root user. Except that on sh4, I
ran bash in a screen so I could detach the session since debootstrap
takes a while on these machines.

What completely puzzles me that it does work without any issues on m68k
and amd64 using the exact same command line albeit I did not use screen
on both amd64 and m68k. I'm running the command on sh4 without screen
now to see if that fixes it otherwise I don't really know yet what could
be different on sh4.

We need to figure out what part of the chain of scripts is responsible
for taking out the quotes to the option argument of chfn. I am
suspecting some Perl issue as adduser is written in Perl and the
postinst script of systemd which actually runs adduser properly
quotes the option argument for the gecos field.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Sat, 21 Feb 2015 16:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to jhcha54008 <jhcha54008@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 21 Feb 2015 16:51:05 GMT) (full text, mbox, link).


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

From: jhcha54008 <jhcha54008@free.fr>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Dan Greene <dan-greene@wi.rr.com>, Vagrant Cascadian <vagrant@debian.org>, 763391@bugs.debian.org, 774332@bugs.debian.org, 745082@bugs.debian.org
Subject: Re: Bug#763391: a fakechroot bug ?
Date: Sat, 21 Feb 2015 17:51:52 +0000
Le vendredi 20 février à 18h 12mn 58s (-0500), Daniel Kahn Gillmor a écrit :
> Control: forcemerge 774332 745082 763391
> 
> Le vendredi 20 février à 19h 02mn 31s (+0100), John Paul Adrian Glaubitz a écrit :
> >> PS: I would suggest merging 745082, 763391 and 774332. They seem to
> >>     describe the exact same bug.
> 
> I agree they look similar, and i'm inclined to think that the problem is
> with debootstrap itself.  I'm doing the merge here into the bug that's
> open against debootstrap.  hopefully it won't need to be split out again
> in the future :P
> 
> On Fri 2015-02-20 18:24:18 -0500, jhcha54008 wrote:
> > May I ask if debootstrap ran in a fakechroot environment or as real root ?
> 
> I'm curious about this too.  Adrian, can you give more details?
> 
>     --dkg

Hi,

I agree that 774332, 745082 and 763391 are the same bug.

It is my understanding that it is a fakechroot bug : fakechroot
can't cope with suid root executables

($ ls -AlF /usr/bin/chfn
-rwsr-xr-x 1 root root 46264 févr. 21 16:18 /usr/bin/chfn*)

This is a limitation of the underlying mechanism, i.e. library preloading.
From ld.so manpage :
"For setuid/setgid ELF binaries,  only  libraries  in
the  standard  search  directories  that are also setgid will be
loaded."

I suppose it doesn't make sense to have libfakeroot or libfakechroot
sgid root ...

I hope it will help !

Regards,
JH Chatenet



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Sat, 21 Feb 2015 17:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to jhcha54008 <jhcha54008@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 21 Feb 2015 17:09:04 GMT) (full text, mbox, link).


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

From: jhcha54008 <jhcha54008@free.fr>
To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Dan Greene <dan-greene@wi.rr.com>, Vagrant Cascadian <vagrant@debian.org>, 763391@bugs.debian.org, 774332@bugs.debian.org, 745082@bugs.debian.org
Subject: Re: chfn and fakechroot
Date: Sat, 21 Feb 2015 18:08:21 +0000
Le samedi 21 février à 03h 50mn 23s (+0100), John Paul Adrian Glaubitz a écrit :
> On 02/21/2015 12:24 AM, jhcha54008 wrote:
> > May I ask if debootstrap ran in a fakechroot environment or as real root ?
> 
> I haven't tried fakechroot, but the debootstrap call was done using the
> real root user. What makes you so sure this is actually an issue with
> fakechroot? I just tried --variant=fakechroot on my main amd64 machine
> and that worked without any issues.
> 
> Adrian
> 

I guess you encountered a different bug : 774332, 745082, 763391
occur when running debootstrap as an unprivileged user
with option --variant=fakechroot
(And the chfn error gives a line
chfn: PAM: System error
in file debootstrap/debootstrap.log)

Does
# perl -e 'system("/usr/bin/chfn","-f","systemd Time Synchronization","systemd-timesync");'
works as real root in a chroot on sh4 ?

(It seems that in functions sh_gecos file /usr/sbin/adduser lines 924-944
and systemcall file /usr/share/perl5/Debian/AdduserCommon.pm lines 158-166 
all quotes are removed in the diagnostic 
    my $c = join(' ', @_);
    print ("$c\n") if $verbose==2;
but were kept in the actual call line 161 of 
/usr/share/perl5/Debian/AdduserCommon.pm :
     if (system(@_)) {
)

> I just tried --variant=fakechroot on my main amd64 machine
> and that worked without any issues.
I cannot reproduce this (I still encouter the bug). 
May I ask if your ran debootstrap --variant=fakechroot
as real root or as an unprivileged user ?

I hope it will help !

Regards,
JH Chatenet



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Sat, 21 Feb 2015 17:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to rl <rl@robertlink.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 21 Feb 2015 17:27:04 GMT) (full text, mbox, link).


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

From: rl <rl@robertlink.org>
To: jhcha54008 <jhcha54008@free.fr>, 745082@bugs.debian.org
Subject: Re: Bug#745082: chfn and fakechroot
Date: Sat, 21 Feb 2015 17:22:33 +0000
write me a qa script?

RL/rl

On 02/21/2015 06:08 PM, jhcha54008 wrote:
> Le samedi 21 février à 03h 50mn 23s (+0100), John Paul Adrian Glaubitz a écrit :
>> On 02/21/2015 12:24 AM, jhcha54008 wrote:
>>> May I ask if debootstrap ran in a fakechroot environment or as real root ?
>> I haven't tried fakechroot, but the debootstrap call was done using the
>> real root user. What makes you so sure this is actually an issue with
>> fakechroot? I just tried --variant=fakechroot on my main amd64 machine
>> and that worked without any issues.
>>
>> Adrian
>>
> I guess you encountered a different bug : 774332, 745082, 763391
> occur when running debootstrap as an unprivileged user
> with option --variant=fakechroot
> (And the chfn error gives a line
> chfn: PAM: System error
> in file debootstrap/debootstrap.log)
>
> Does
> # perl -e 'system("/usr/bin/chfn","-f","systemd Time Synchronization","systemd-timesync");'
> works as real root in a chroot on sh4 ?
>
> (It seems that in functions sh_gecos file /usr/sbin/adduser lines 924-944
> and systemcall file /usr/share/perl5/Debian/AdduserCommon.pm lines 158-166
> all quotes are removed in the diagnostic
>      my $c = join(' ', @_);
>      print ("$c\n") if $verbose==2;
> but were kept in the actual call line 161 of
> /usr/share/perl5/Debian/AdduserCommon.pm :
>       if (system(@_)) {
> )
>
>> I just tried --variant=fakechroot on my main amd64 machine
>> and that worked without any issues.
> I cannot reproduce this (I still encouter the bug).
> May I ask if your ran debootstrap --variant=fakechroot
> as real root or as an unprivileged user ?
>
> I hope it will help !
>
> Regards,
> JH Chatenet
>
>




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Tue, 12 May 2015 15:36:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Julien D'ascenzio" <Julien.Dascenzio@paratronic.fr>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 12 May 2015 15:36:05 GMT) (full text, mbox, link).


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

From: "Julien D'ascenzio" <Julien.Dascenzio@paratronic.fr>
To: "745082@bugs.debian.org" <745082@bugs.debian.org>
Subject: chfn and fakechroot
Date: Tue, 12 May 2015 15:27:29 +0000
Hi,


I have the same problems when I make the command:
	fakechroot fakeroot /usr/sbin/debootstrap --variant=fakechroot jessie
output/rfs-host/ "http://ftp.fr.debian.org/debian"

I view this error on the debootstrap.log:

Setting up gzip (1.6-4) ...
Setting up dash (0.5.7-4+b1) ...
Setting up libtext-iconv-perl (1.7-5+b2) ...
Setting up sysv-rc (2.88dsf-59) ...
Setting up liblocale-gettext-perl (1.05-8+b1) ...
Setting up libtext-charwidth-perl (0.04-7+b3) ...
Setting up libpam0g:i386 (1.1.8-3.1) ...
Setting up libpam-modules-bin (1.1.8-3.1) ...
Setting up bash (4.3-11+b1) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to
provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
Setting up libtext-wrapi18n-perl (0.06-7) ...
Setting up libpam-modules:i386 (1.1.8-3.1) ...
Setting up libpam-runtime (1.1.8-3.1) ...
Setting up debconf-i18n (1.5.56) ...
Setting up passwd (1:4.2-3) ...
Shadow passwords are now on.
Setting up login (1:4.2-3) ...
Setting up adduser (3.113+nmu3) ...
Setting up libuuid1:i386 (2.25.2-6) ...
Setting up libblkid1:i386 (2.25.2-6) ...
Setting up libmount1:i386 (2.25.2-6) ...
Setting up libcryptsetup4:i386 (2:1.6.6-5) ...
Setting up mount (2.25.2-6) ...
Setting up initscripts (2.88dsf-59) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up util-linux (2.25.2-6) ...
update-alternatives: using /bin/more to provide /usr/bin/pager (pager)
in auto mode
Setting up e2fsprogs (1.42.12-1.1) ...
Setting up procps (2:3.3.9-9) ...
update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w)
in auto mode
invoke-rc.d: policy-rc.d denied execution of start.
Setting up udev (215-17) ...
A chroot environment has been detected, udev not started.
Setting up systemd (215-17) ...
Initializing machine ID from random generator.
chfn: PAM: System error
adduser: `/usr/bin/chfn -f systemd Time Synchronization
systemd-timesync' returned error code 1. Exiting.
dpkg: error processing package systemd (--configure):
 subprocess installed post-installation script returned error exit
status 1
Setting up dmsetup (2:1.02.90-2.2) ...
dpkg: systemd-sysv: dependency problems, but configuring anyway as you
requested:
 systemd-sysv depends on systemd (= 215-17); however:
  Package systemd is not configured yet.
 systemd-sysv depends on systemd; however:
  Package systemd is not configured yet.

Setting up systemd-sysv (215-17) ...
Setting up init (1.22) ...
Errors were encountered while processing:
 systemd


I don't have problems in root with this command:
	sudo fakechroot /usr/sbin/debootstrap --variant=fakechroot jessie
output/rfs-host/ "http://ftp.fr.debian.org/debian"

Is there a new work around about this bug?

Thanks

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Fri, 15 May 2015 18:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to jhcha54008 <jhcha54008@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Fri, 15 May 2015 18:51:04 GMT) (full text, mbox, link).


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

From: jhcha54008 <jhcha54008@free.fr>
To: Julien.Dascenzio@paratronic.fr
Cc: 745082@bugs.debian.org
Subject: A workaround to bug 745082
Date: Fri, 15 May 2015 18:52:32 +0000
Hi,

May I ask if the workaround
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763391#15
helps ?

Regards,
JH Chatenet



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Tue, 19 May 2015 14:06:10 GMT) (full text, mbox, link).


Acknowledgement sent to "Julien D'ascenzio" <Julien.Dascenzio@paratronic.fr>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 19 May 2015 14:06:10 GMT) (full text, mbox, link).


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

From: "Julien D'ascenzio" <Julien.Dascenzio@paratronic.fr>
To: "745082@bugs.debian.org" <745082@bugs.debian.org>
Subject: Re: A workaround to bug 745082
Date: Tue, 19 May 2015 14:02:58 +0000
Ok this workaround solve my problem!

On Fri, 15 May 2015 18:52:32 +0000 jhcha54008 <jhcha54008@free.fr> wrote:
> Hi,
> 
> May I ask if the workaround
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763391#15
> helps ?
> 
> Regards,
> JH Chatenet
> 
> 


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Thu, 09 Jul 2015 08:06:08 GMT) (full text, mbox, link).


Acknowledgement sent to jhcha54008 <jhcha54008@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Thu, 09 Jul 2015 08:06:08 GMT) (full text, mbox, link).


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

From: jhcha54008 <jhcha54008@free.fr>
To: 745082@bugs.debian.org
Subject: PAM fails in a fakechroot environment : insufficient permissions for audit
Date: Thu, 9 Jul 2015 10:08:27 +0000
Hi,

chfn doesn't only give an error in a fakechroot environment, but passwd - 
and possibly every PAM invocation - too. The culprit seems to be libaudit1
linked to libpam. I was mistaken blaming a setuid executable.

The symptoms : chfn outputs an error line
chfn: PAM: System error
and there is no change in/etc/passwd
passwd outputs :
passwd: System error
passwd: password unchanged

after password update in /etc/shadow

The possible causes : chfn fails in function pam_authenticate and
passwd fails in function do_pam_passwd (which calls pam_chauthtok)

There appears a line in /var/log/auth.log :
... chfn[27952]: PAM audit_log_acct_message() failed: Operation not permitted
or
... passwd[3417]: PAM audit_log_acct_message() failed: Operation not permitted

The lines 49 in pam_auth.c 
    retval = _pam_auditlog(pamh, PAM_AUTHENTICATE, retval, flags);
and 61 in pam_password.c (pam version 1.1.8-3.1)
    retval = _pam_auditlog(pamh, PAM_CHAUTHTOK, retval, flags);
both return -1.
(_pam_auditlog calls _pam_audit_writelog which calls audit_log_acct_message)

The ultimate cause is function check_ack returning -EPERM (line 244 of file 
lib/netlink.c in audit version 1:4.2.2-1)

There is no error with the following workaround : with a file 
"fake_audit_log_acct_message.c"
----------->8--------------------------->8------------------
int audit_log_acct_message(int audit_fd, int type, const char *pgname,
        const char *op, const char *name, unsigned int id, 
        const char *host, const char *addr, const char *tty, int result)
{
	return 0;
}
----------->8--------------------------->8------------------

$ gcc -c -fPIC fake_audit_log_acct_message.c
$ gcc -shared -Wl,-soname,libfakeaudit.so.0 -o libfakeaudit.so.0.0 \
 fake_audit_log_acct_message.o -lc

$ export LD_LIBRARY_PATH=$(readlink -f .)
$ export LD_PRELOAD=libfakeaudit.so.0.0
$ fakechroot fakeroot -s .fakeroot.state debootstrap --variant=fakechroot \
sid mychroot http://ftp.us.debian.org/debian
[ ... ]
$ echo $?
0
$ fakechroot fakeroot -i .fakeroot.state -s .fakeroot.state chroot mychroot
# adduser someone
# echo $?
0
# passwd someone
...
passwd: password updated successfully
# echo $?
0

I hope it helps !

Regards,
JH Chatenet



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Tue, 06 Oct 2015 11:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Ulland <sveniu@opera.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 06 Oct 2015 11:48:04 GMT) (full text, mbox, link).


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

From: Sven Ulland <sveniu@opera.com>
To: 745082@bugs.debian.org
Subject: PAM fails in a fakechroot environment : insufficient permissions for audit
Date: Tue, 06 Oct 2015 13:38:03 +0200
I reworked JH Chatenet's suggestion and submitted it upstream: 
<URL:https://github.com/dex4er/fakechroot/pull/37>. I'll try to reach 
the maintainer through various channels, as the last fakechroot 
repository log entry was in Jan 2014.

best wishes,
Sven Ulland



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#745082; Package debootstrap. (Sun, 18 Oct 2015 04:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Gilbert <mgilbert@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sun, 18 Oct 2015 04:03:04 GMT) (full text, mbox, link).


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

From: Michael Gilbert <mgilbert@debian.org>
To: 745082@bugs.debian.org
Subject: re: fakechroot: chfn in a fakechroot environment
Date: Sat, 17 Oct 2015 23:59:47 -0400
[Message part 1 (text/plain, inline)]
control: reassign -1 src:fakechroot

This was thought to be a debootstrap bug for a while, but it
originates in fakechroot.

I applied upstream's recent fix, patch attached, and tested that
debootstrap now works with the modified fakechroot:

$ sudo dpkg -i sudo dpkg -i fakechroot_2.17.2-1.1_all.deb
libfakechroot_2.17.2-1.1_amd64.deb
$ fakechroot fakeroot debootstrap --variant=fakechroot unstable
[...]
I: Base system installed successfully.

Best wishes,
Mike
[fakechroot.patch (text/x-patch, attachment)]

Bug reassigned from package 'debootstrap' to 'src:fakechroot'. Request was from Michael Gilbert <mgilbert@debian.org> to 745082-submit@bugs.debian.org. (Sun, 18 Oct 2015 04:03:04 GMT) (full text, mbox, link).


No longer marked as found in versions debootstrap/1.0.66. Request was from Michael Gilbert <mgilbert@debian.org> to 745082-submit@bugs.debian.org. (Sun, 18 Oct 2015 04:03:06 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/dex4er/fakechroot/pull/37'. Request was from Piotr Roszatycki <dexter@debian.org> to control@bugs.debian.org. (Sun, 18 Oct 2015 07:45:06 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Thu, 22 Oct 2015 16:54:31 GMT) (full text, mbox, link).


Reply sent to Piotr Roszatycki <dexter@debian.org>:
You have taken responsibility. (Wed, 28 Oct 2015 09:36:08 GMT) (full text, mbox, link).


Notification sent to jhcha54008 <jhcha54008@free.fr>:
Bug acknowledged by developer. (Wed, 28 Oct 2015 09:36:08 GMT) (full text, mbox, link).


Message #98 received at 745082-close@bugs.debian.org (full text, mbox, reply):

From: Piotr Roszatycki <dexter@debian.org>
To: 745082-close@bugs.debian.org
Subject: Bug#745082: fixed in fakechroot 2.18-1
Date: Wed, 28 Oct 2015 09:34:50 +0000
Source: fakechroot
Source-Version: 2.18-1

We believe that the bug you reported is fixed in the latest version of
fakechroot, 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 745082@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Roszatycki <dexter@debian.org> (supplier of updated fakechroot 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 26 Oct 2015 22:08:24 +0100
Source: fakechroot
Binary: fakechroot libfakechroot
Architecture: source all amd64
Version: 2.18-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Roszatycki <dexter@debian.org>
Changed-By: Piotr Roszatycki <dexter@debian.org>
Description:
 fakechroot - gives a fake chroot environment - utilities
 libfakechroot - gives a fake chroot environment - runtime
Closes: 745082 749632 763391 774332
Changes:
 fakechroot (2.18-1) unstable; urgency=medium
 .
   * New upstream release:
     - Works correctly with stretch and vivid. Closes: #745082, #763391,
       #774332.
     - Doesn't mix _BSD_SOURCE and _XOPEN_SOURCE macros. Closes: #749632.
   * Build-Requires: debhelper >= 9.
Checksums-Sha1:
 59dc6582f9ebea49790df466b4341fe26b9f5c8f 1891 fakechroot_2.18-1.dsc
 ae375fa0a54c5ecef72f50154fef862d6f98d6fb 470498 fakechroot_2.18.orig.tar.gz
 9659409597fdcf56baa744496333b79f91936a70 9216 fakechroot_2.18-1.debian.tar.xz
 5a786aa38e6153f6191edffd1a45166014fb00fc 29488 fakechroot_2.18-1_all.deb
 4266db7b76d958e3cff6b03e3c4c84db986535c5 43116 libfakechroot_2.18-1_amd64.deb
Checksums-Sha256:
 ad7c73e6e13691db6c0f94d0e395ef30d6741d9e16fc0681f44dea9c28209c8f 1891 fakechroot_2.18-1.dsc
 728316cf7d1a2fdf8454e0ca39b3b9790e450a778c96cac9d488662a74d4418e 470498 fakechroot_2.18.orig.tar.gz
 c8bbe01d179136366284f491391b2b7fdbae00ec21ff3da31063c5f8dc7cd2dc 9216 fakechroot_2.18-1.debian.tar.xz
 e6d23b6c93c024df3f952af3898d7ac3e536f835d3a44562c78270ffe9349580 29488 fakechroot_2.18-1_all.deb
 2c649f130fd06fb16670d9631e74f2022e8d8cdf4e6540151a68af8dbac0e988 43116 libfakechroot_2.18-1_amd64.deb
Files:
 b704c9a7e06149eee3e34e9fd6ca60e9 1891 utils optional fakechroot_2.18-1.dsc
 bdcee07d3c9e3a8ff8443e2bed27a4f8 470498 utils optional fakechroot_2.18.orig.tar.gz
 b9b2a21537149ec93bbf3da2fe7bb25c 9216 utils optional fakechroot_2.18-1.debian.tar.xz
 e9ea5c1233170ae38c0e4e24a2eb8388 29488 utils optional fakechroot_2.18-1_all.deb
 58a79f19e11b942de30c05a3f1f47fb0 43116 libs optional libfakechroot_2.18-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWMI/XAAoJEFZiF/PEOVycDTwP/i2EobwQzlPiEbFOHjMGHeVK
YhRFZX69PPo3qUC5BY5vNJGbatAG9KSHSzsCJiBaGqDLSwczVsesBKo96DPMDYWo
9UukmpPz6ejhaQrr5Hw59j5bKIrIF7RyKYWNjmCLVcAtH9Ez7oq2If2zmXAZrm1h
9dz+qlOjX728+s/PM1pZtzG61pg6o/GUcA1Hpj+pLUn2LLy0mSoHohhHsIDYB5BR
kp7/8cTX8D/EbMnjvReosm+dPHSPlRvtqNPERAWM9XdRtcNDqKImTGv4eOA6kZvd
iBCxP1JAkcHbhvOrAg4W0fG7wz36iv2dIQL5Oy2fshI74YyzTFcRFs8iMSp9dx3J
fz7pcBwayehSmC/kN6YgJxVBf4uzcNkHu3DCNfDQ9XU5AEwkOD+rwUuO43TsOoiv
WOM3/vUDvM59APnYlw87S5VT3xjfQAfQP2cGQp8JtsdgRx8MM6KzVDA17oDrN6+C
3mHdYXkFe3vVWvsRFcn/ECxU5c+hw9U3Wf/e9iGIhYWNZZwwXsne5cFcDCH8hp8J
T45c9sNhO5HHS8YX1k8OKKZnzoS8QxZErbLdTEvAvyQfLX6yr3LmyI8EIvJxiOaX
FTB+KJTRVl9NU1YOHVNTj0CTZDz/qBa+UKffMx3v4T5URgHduH6uyvThtvdKHCeX
Y9CMPsl9fJgz4W7Paojg
=rOhd
-----END PGP SIGNATURE-----




Reply sent to Piotr Roszatycki <dexter@debian.org>:
You have taken responsibility. (Wed, 28 Oct 2015 09:36:09 GMT) (full text, mbox, link).


Notification sent to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Bug acknowledged by developer. (Wed, 28 Oct 2015 09:36:09 GMT) (full text, mbox, link).


Reply sent to Piotr Roszatycki <dexter@debian.org>:
You have taken responsibility. (Wed, 28 Oct 2015 09:36:10 GMT) (full text, mbox, link).


Notification sent to Dan Greene <dan-greene@wi.rr.com>:
Bug acknowledged by developer. (Wed, 28 Oct 2015 09:36:10 GMT) (full text, mbox, link).


Message #107 received at 763391-close@bugs.debian.org (full text, mbox, reply):

From: Piotr Roszatycki <dexter@debian.org>
To: 763391-close@bugs.debian.org
Subject: Bug#763391: fixed in fakechroot 2.18-1
Date: Wed, 28 Oct 2015 09:34:51 +0000
Source: fakechroot
Source-Version: 2.18-1

We believe that the bug you reported is fixed in the latest version of
fakechroot, 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 763391@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Roszatycki <dexter@debian.org> (supplier of updated fakechroot 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 26 Oct 2015 22:08:24 +0100
Source: fakechroot
Binary: fakechroot libfakechroot
Architecture: source all amd64
Version: 2.18-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Roszatycki <dexter@debian.org>
Changed-By: Piotr Roszatycki <dexter@debian.org>
Description:
 fakechroot - gives a fake chroot environment - utilities
 libfakechroot - gives a fake chroot environment - runtime
Closes: 745082 749632 763391 774332
Changes:
 fakechroot (2.18-1) unstable; urgency=medium
 .
   * New upstream release:
     - Works correctly with stretch and vivid. Closes: #745082, #763391,
       #774332.
     - Doesn't mix _BSD_SOURCE and _XOPEN_SOURCE macros. Closes: #749632.
   * Build-Requires: debhelper >= 9.
Checksums-Sha1:
 59dc6582f9ebea49790df466b4341fe26b9f5c8f 1891 fakechroot_2.18-1.dsc
 ae375fa0a54c5ecef72f50154fef862d6f98d6fb 470498 fakechroot_2.18.orig.tar.gz
 9659409597fdcf56baa744496333b79f91936a70 9216 fakechroot_2.18-1.debian.tar.xz
 5a786aa38e6153f6191edffd1a45166014fb00fc 29488 fakechroot_2.18-1_all.deb
 4266db7b76d958e3cff6b03e3c4c84db986535c5 43116 libfakechroot_2.18-1_amd64.deb
Checksums-Sha256:
 ad7c73e6e13691db6c0f94d0e395ef30d6741d9e16fc0681f44dea9c28209c8f 1891 fakechroot_2.18-1.dsc
 728316cf7d1a2fdf8454e0ca39b3b9790e450a778c96cac9d488662a74d4418e 470498 fakechroot_2.18.orig.tar.gz
 c8bbe01d179136366284f491391b2b7fdbae00ec21ff3da31063c5f8dc7cd2dc 9216 fakechroot_2.18-1.debian.tar.xz
 e6d23b6c93c024df3f952af3898d7ac3e536f835d3a44562c78270ffe9349580 29488 fakechroot_2.18-1_all.deb
 2c649f130fd06fb16670d9631e74f2022e8d8cdf4e6540151a68af8dbac0e988 43116 libfakechroot_2.18-1_amd64.deb
Files:
 b704c9a7e06149eee3e34e9fd6ca60e9 1891 utils optional fakechroot_2.18-1.dsc
 bdcee07d3c9e3a8ff8443e2bed27a4f8 470498 utils optional fakechroot_2.18.orig.tar.gz
 b9b2a21537149ec93bbf3da2fe7bb25c 9216 utils optional fakechroot_2.18-1.debian.tar.xz
 e9ea5c1233170ae38c0e4e24a2eb8388 29488 utils optional fakechroot_2.18-1_all.deb
 58a79f19e11b942de30c05a3f1f47fb0 43116 libs optional libfakechroot_2.18-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWMI/XAAoJEFZiF/PEOVycDTwP/i2EobwQzlPiEbFOHjMGHeVK
YhRFZX69PPo3qUC5BY5vNJGbatAG9KSHSzsCJiBaGqDLSwczVsesBKo96DPMDYWo
9UukmpPz6ejhaQrr5Hw59j5bKIrIF7RyKYWNjmCLVcAtH9Ez7oq2If2zmXAZrm1h
9dz+qlOjX728+s/PM1pZtzG61pg6o/GUcA1Hpj+pLUn2LLy0mSoHohhHsIDYB5BR
kp7/8cTX8D/EbMnjvReosm+dPHSPlRvtqNPERAWM9XdRtcNDqKImTGv4eOA6kZvd
iBCxP1JAkcHbhvOrAg4W0fG7wz36iv2dIQL5Oy2fshI74YyzTFcRFs8iMSp9dx3J
fz7pcBwayehSmC/kN6YgJxVBf4uzcNkHu3DCNfDQ9XU5AEwkOD+rwUuO43TsOoiv
WOM3/vUDvM59APnYlw87S5VT3xjfQAfQP2cGQp8JtsdgRx8MM6KzVDA17oDrN6+C
3mHdYXkFe3vVWvsRFcn/ECxU5c+hw9U3Wf/e9iGIhYWNZZwwXsne5cFcDCH8hp8J
T45c9sNhO5HHS8YX1k8OKKZnzoS8QxZErbLdTEvAvyQfLX6yr3LmyI8EIvJxiOaX
FTB+KJTRVl9NU1YOHVNTj0CTZDz/qBa+UKffMx3v4T5URgHduH6uyvThtvdKHCeX
Y9CMPsl9fJgz4W7Paojg
=rOhd
-----END PGP SIGNATURE-----




Message #108 received at 774332-close@bugs.debian.org (full text, mbox, reply):

From: Piotr Roszatycki <dexter@debian.org>
To: 774332-close@bugs.debian.org
Subject: Bug#774332: fixed in fakechroot 2.18-1
Date: Wed, 28 Oct 2015 09:34:51 +0000
Source: fakechroot
Source-Version: 2.18-1

We believe that the bug you reported is fixed in the latest version of
fakechroot, 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 774332@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Roszatycki <dexter@debian.org> (supplier of updated fakechroot 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 26 Oct 2015 22:08:24 +0100
Source: fakechroot
Binary: fakechroot libfakechroot
Architecture: source all amd64
Version: 2.18-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Roszatycki <dexter@debian.org>
Changed-By: Piotr Roszatycki <dexter@debian.org>
Description:
 fakechroot - gives a fake chroot environment - utilities
 libfakechroot - gives a fake chroot environment - runtime
Closes: 745082 749632 763391 774332
Changes:
 fakechroot (2.18-1) unstable; urgency=medium
 .
   * New upstream release:
     - Works correctly with stretch and vivid. Closes: #745082, #763391,
       #774332.
     - Doesn't mix _BSD_SOURCE and _XOPEN_SOURCE macros. Closes: #749632.
   * Build-Requires: debhelper >= 9.
Checksums-Sha1:
 59dc6582f9ebea49790df466b4341fe26b9f5c8f 1891 fakechroot_2.18-1.dsc
 ae375fa0a54c5ecef72f50154fef862d6f98d6fb 470498 fakechroot_2.18.orig.tar.gz
 9659409597fdcf56baa744496333b79f91936a70 9216 fakechroot_2.18-1.debian.tar.xz
 5a786aa38e6153f6191edffd1a45166014fb00fc 29488 fakechroot_2.18-1_all.deb
 4266db7b76d958e3cff6b03e3c4c84db986535c5 43116 libfakechroot_2.18-1_amd64.deb
Checksums-Sha256:
 ad7c73e6e13691db6c0f94d0e395ef30d6741d9e16fc0681f44dea9c28209c8f 1891 fakechroot_2.18-1.dsc
 728316cf7d1a2fdf8454e0ca39b3b9790e450a778c96cac9d488662a74d4418e 470498 fakechroot_2.18.orig.tar.gz
 c8bbe01d179136366284f491391b2b7fdbae00ec21ff3da31063c5f8dc7cd2dc 9216 fakechroot_2.18-1.debian.tar.xz
 e6d23b6c93c024df3f952af3898d7ac3e536f835d3a44562c78270ffe9349580 29488 fakechroot_2.18-1_all.deb
 2c649f130fd06fb16670d9631e74f2022e8d8cdf4e6540151a68af8dbac0e988 43116 libfakechroot_2.18-1_amd64.deb
Files:
 b704c9a7e06149eee3e34e9fd6ca60e9 1891 utils optional fakechroot_2.18-1.dsc
 bdcee07d3c9e3a8ff8443e2bed27a4f8 470498 utils optional fakechroot_2.18.orig.tar.gz
 b9b2a21537149ec93bbf3da2fe7bb25c 9216 utils optional fakechroot_2.18-1.debian.tar.xz
 e9ea5c1233170ae38c0e4e24a2eb8388 29488 utils optional fakechroot_2.18-1_all.deb
 58a79f19e11b942de30c05a3f1f47fb0 43116 libs optional libfakechroot_2.18-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWMI/XAAoJEFZiF/PEOVycDTwP/i2EobwQzlPiEbFOHjMGHeVK
YhRFZX69PPo3qUC5BY5vNJGbatAG9KSHSzsCJiBaGqDLSwczVsesBKo96DPMDYWo
9UukmpPz6ejhaQrr5Hw59j5bKIrIF7RyKYWNjmCLVcAtH9Ez7oq2If2zmXAZrm1h
9dz+qlOjX728+s/PM1pZtzG61pg6o/GUcA1Hpj+pLUn2LLy0mSoHohhHsIDYB5BR
kp7/8cTX8D/EbMnjvReosm+dPHSPlRvtqNPERAWM9XdRtcNDqKImTGv4eOA6kZvd
iBCxP1JAkcHbhvOrAg4W0fG7wz36iv2dIQL5Oy2fshI74YyzTFcRFs8iMSp9dx3J
fz7pcBwayehSmC/kN6YgJxVBf4uzcNkHu3DCNfDQ9XU5AEwkOD+rwUuO43TsOoiv
WOM3/vUDvM59APnYlw87S5VT3xjfQAfQP2cGQp8JtsdgRx8MM6KzVDA17oDrN6+C
3mHdYXkFe3vVWvsRFcn/ECxU5c+hw9U3Wf/e9iGIhYWNZZwwXsne5cFcDCH8hp8J
T45c9sNhO5HHS8YX1k8OKKZnzoS8QxZErbLdTEvAvyQfLX6yr3LmyI8EIvJxiOaX
FTB+KJTRVl9NU1YOHVNTj0CTZDz/qBa+UKffMx3v4T5URgHduH6uyvThtvdKHCeX
Y9CMPsl9fJgz4W7Paojg
=rOhd
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 01 Dec 2015 07:27:28 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 4 03:22:10 2018; Machine Name: beach

Debian Bug tracking system

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