[Bug 811016] Re: Move to /run breaks pbuilder --execute

Launchpad Bug Tracker 811016 at bugs.launchpad.net
Wed Oct 5 13:21:12 UTC 2011


This bug was fixed in the package pbuilder - 0.199+nmu3ubuntu3

---------------
pbuilder (0.199+nmu3ubuntu3) oneiric; urgency=low

  * pbuilder:
    - Rename the /run script from --execute to /runscript (LP: #811016).
 -- Alberto Milone <alberto.milone at canonical.com>   Wed, 05 Oct 2011 12:31:52 +0100

** Changed in: pbuilder (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/811016

Title:
  Move to /run breaks pbuilder --execute

Status in Debian Package Builder:
  Fix Released
Status in “pbuilder” package in Ubuntu:
  Fix Released

Bug description:
  Oneiric now has a "/run" directory. However, if you run:

  pbuilder --execute foo.sh

  ... once it unpacks the base oneiric image, pbuilder attempts to copy
  the specified script (here "foo.sh") to "/run" as a file, not a
  directory. This fails since the base oneiric image now includes a
  /run/ directory:

  119   RUNNAME="$BUILDPLACE/run"
  120   cat "$EXECPROGRAM" > "$RUNNAME"     # XXX: FAILS since /run already exists... as a directory
  121   chmod a+x "$RUNNAME"
  122   executehooks "F"
  123   ( ${CHROOTEXEC} /run "$@" )
  124   RET=$?
  125   rm -f "$RUNNAME"

  Affects pbuilder on both natty+oneiric.

To manage notifications about this bug go to:
https://bugs.launchpad.net/pbuilder/+bug/811016/+subscriptions




More information about the foundations-bugs mailing list