[Pbuilder-maint] Bug#341453: marked as done (pbuilder: PATH not preserved when either BUILDUSERID or BUILDUSERNAME isn't set)

Debian Bug Tracking System owner at bugs.debian.org
Sun Dec 4 06:48:09 UTC 2005


Your message dated Sat, 03 Dec 2005 22:32:07 -0800
with message-id <E1EinPr-0001qY-8M at spohr.debian.org>
and subject line Bug#341453: fixed in pbuilder 0.140
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Nov 2005 17:56:30 +0000
>From mh at glandium.org Wed Nov 30 09:56:30 2005
Return-path: <mh at glandium.org>
Received: from aputeaux-153-1-43-15.w82-124.abo.wanadoo.fr ([82.124.7.15] helo=namakemono.glandium.org)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EhWBy-0006tc-5J
	for submit at bugs.debian.org; Wed, 30 Nov 2005 09:56:30 -0800
Received: from mh by namakemono.glandium.org with local (Exim 4.60)
	(envelope-from <mh at glandium.org>)
	id 1EhWBF-0001I2-6u; Wed, 30 Nov 2005 18:55:45 +0100
Content-Type: multipart/mixed; boundary="===============1423590814=="
MIME-Version: 1.0
From: Mike Hommey <mh at glandium.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: pbuilder: PATH not preserved when either BUILDUSERID or BUILDUSERNAME isn't
 set
X-Mailer: reportbug 3.17
Date: Wed, 30 Nov 2005 18:55:45 +0100
Message-Id: <E1EhWBF-0001I2-6u at namakemono.glandium.org>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============1423590814==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: pbuilder
Version: 0.139
Severity: normal
Tags: patch

When either BUILDUSERID or BUILDUSERNAME isn't set (which is the default
configuration), exporting PATH is useless because SUTOUSER, being su in
that case doesn't preserve environment.

Patch attached.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.3.9      Bootstrap a Debian system
ii  coreutils                     5.93-5     The GNU core utilities
ii  debianutils                   2.15.1     Miscellaneous utilities specific t
ii  debootstrap                   0.3.3      Bootstrap a basic Debian system
ii  gcc                           4:4.0.2-1  The GNU C compiler
ii  wget                          1.10.2-1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.9.9      Scripts to make the life of a Debi
ii  fakeroot                      1.5.5      Gives a fake root environment
ii  sudo                          1.6.8p9-3  Provide limited super user privile

-- no debconf information

--===============1423590814==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff"

--- /usr/lib/pbuilder/pbuilder-buildpackage	2005-11-16 23:35:46.000000000 +0100
+++ /tmp/pbuilder-buildpackage	2005-11-30 18:52:09.064875696 +0100
@@ -39,7 +39,7 @@
     echo "I: using fakeroot in build."
 else
     # run the build in root
-    SUTOUSER="su "
+    SUTOUSER="su -p"
     BUILDUSERID=0
     BUILDUSERNAME=root
 fi

--===============1423590814==--

---------------------------------------
Received: (at 341453-close) by bugs.debian.org; 4 Dec 2005 06:41:21 +0000
>From katie at ftp-master.debian.org Sat Dec 03 22:41:21 2005
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EinPr-0001qY-8M; Sat, 03 Dec 2005 22:32:07 -0800
From: Junichi Uekawa <dancer at debian.org>
To: 341453-close at bugs.debian.org
X-Katie: $Revision: 1.60 $
Subject: Bug#341453: fixed in pbuilder 0.140
Message-Id: <E1EinPr-0001qY-8M at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Sat, 03 Dec 2005 22:32:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: pbuilder
Source-Version: 0.140

We believe that the bug you reported is fixed in the latest version of
pbuilder, which is due to be installed in the Debian FTP archive:

pbuilder_0.140.dsc
  to pool/main/p/pbuilder/pbuilder_0.140.dsc
pbuilder_0.140.tar.gz
  to pool/main/p/pbuilder/pbuilder_0.140.tar.gz
pbuilder_0.140_all.deb
  to pool/main/p/pbuilder/pbuilder_0.140_all.deb



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 341453 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Junichi Uekawa <dancer at debian.org> (supplier of updated pbuilder 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 at debian.org)


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

Format: 1.7
Date: Sun,  4 Dec 2005 15:21:06 +0900
Source: pbuilder
Binary: pbuilder
Architecture: source all
Version: 0.140
Distribution: unstable
Urgency: low
Maintainer: Debian pbuilder maintenance team <pbuilder-maint at lists.alioth.debian.org>
Changed-By: Junichi Uekawa <dancer at debian.org>
Description: 
 pbuilder   - personal package builder for Debian packages
Closes: 178350 338976 340715 341453 341916
Changes: 
 pbuilder (0.140) unstable; urgency=low
 .
   [Junichi Uekawa]
   * Bug fix: "pbuilder: PATH not preserved when either BUILDUSERID or
     BUILDUSERNAME isn't set", thanks to Mike Hommey (Closes: #341453).
   * pbuilder-doc.xml: Document ccache support in FAQ (Closes: #178350).
   * Bug fix: "/usr/share/doc/pbuilder/examples/B90linda missing
     --force-yes option", thanks to qfunk (Closes: #340715).
     Note: --allow-unauthenticated is probably a better option here, but
     apt-get in sarge does not support it, we will revisit it after etch.
   * debconf compatibility level 4
   * Bug fix: "pbuilder-buildpackage-funcs check for createbuilduser for
     SUTOUSER is bogus", thanks to Brian Nelson (Closes: #338976).
   * Bug fix: "--no-targz option creates tarball in pbuilder create",
     thanks to Junichi Uekawa (Closes: #341916).
Files: 
 8439bf8407108faef5d2d1fd610db9e9 673 devel extra pbuilder_0.140.dsc
 a4ec99695567b073ba2d7e2a363bb37c 278500 devel extra pbuilder_0.140.tar.gz
 d29f2fe5e2573e0ce533bc5c5ceb36e0 73476 devel extra pbuilder_0.140_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDkosF2Dd9TugeVcERAlWhAJ4lu0CmuUHHLkzc/lwJNvVcsxlKPQCeKsIb
EuxMGPjpgjsxH3OhlK3A1kE=
=C3Ng
-----END PGP SIGNATURE-----




More information about the Pbuilder-maint mailing list