I've just come across this, although the code seems to have evolved a
bit since this report was filed. There is no reason for /usr/sbin to be
in the path of the user. It is wrong for pbuilder-dist to search for the
builder using the user's PATH settings as it is going to be launched
under sudo anyway.
Why does this check need to exist? The relevant lines are 80-86:
for file in os.environ['PATH'].split(':'):
if os.path.exists(os.path.join(file, builder)):
builder = ''
break
if builder:
print 'Error: Could not find "%s".' % builder
sys.exit(1)
** Changed in: ubuntu-dev-tools (Ubuntu)
Status: New => Triaged
** Changed in: ubuntu-dev-tools (Ubuntu)
Importance: Undecided => Medium
--
path to builder joined using + in pbuilder-dist
https://bugs.launchpad.net/bugs/398974
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs