[Bug 811016] [NEW] Move to /run breaks pbuilder --execute
James Hunt
811016 at bugs.launchpad.net
Fri Jul 15 11:55:16 UTC 2011
Public bug reported:
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.
** Affects: pbuilder (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Oneiric now has a "/run" directory. However, if you run:
- pbuilder --execute foo.sh, once it unpacks the base image, it attempts
- to copy the specified script to /run (a file, not a directory):
+ 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.
--
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