[Bug 811016] Re: Move to /run breaks pbuilder --execute
Alberto Milone
alberto.milone at canonical.com
Mon Sep 12 08:43:13 UTC 2011
Merging 0.199+nmu4 from unstable should solve the issue (I cherrypicked
the fix and it works fine here)
--
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:
Confirmed
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