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

Thorsten Glaser 811016 at bugs.launchpad.net
Fri Jul 15 17:35:01 UTC 2011


James Hunt dixit:

>Affects pbuilder on both natty+oneiric.

Yes, we fixed that in Debian. You should merge pbuilder.

bye,
//mirabilos
-- 
Support mksh as /bin/sh and RoQA dash NOW!
‣ src:bash (256 (275) bugs: 0 RC, 177 (192) I&N, 79 (83) M&W, 0 F&P)
‣ src:dash (81 (89) bugs: 3 RC, 43 (46) I&N, 35 (40) M&W, 0 F&P)
‣ src:mksh (2 bugs: 0 RC, 0 I&N, 2 M&W, 0 F&P)

-- 
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 “pbuilder” package in Ubuntu:
  New

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/ubuntu/+source/pbuilder/+bug/811016/+subscriptions




More information about the foundations-bugs mailing list