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

Alberto Milone alberto.milone at canonical.com
Wed Oct 5 11:51:42 UTC 2011


since we've already hit final freeze in Oneiric, I'm attaching only a
debdiff with the single fix for this bug (which we can then drop when we
merge the package in Oneiric+1).

** Patch added: "pbuilder_0.199+nmu3ubuntu3.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/811016/+attachment/2512597/+files/pbuilder_0.199%2Bnmu3ubuntu3.debdiff

** Changed in: pbuilder (Ubuntu)
    Milestone: None => ubuntu-11.10

** Changed in: pbuilder (Ubuntu)
     Assignee: (unassigned) => Alberto Milone (albertomilone)

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

-- 
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 Committed

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