--bindmounts does not accept space-delimited list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pbuilder (Ubuntu) |
Fix Released
|
Undecided
|
Loïc Minier |
Bug Description
Binary package hint: pbuilder
In pbuilder version 0.183ubuntu1 (which comes with Jaunty), the man-pages states for `--bindmounts':
--bindmounts bind-mount-points
However, when I specify multiple directories in such a space-delimited list, only the very first argument to `--bindmounts' will actually be bind-mounted.
Note that applying the `--bindmounts' option multiple times with a separate directory for each switch actually does what is expected, i.e., bind-mounts multiple directories. Therefore, if this bug can be reproduced successfully, either pbuilder's man-page or implemented should be adjusted (IMHO).
You need to quote the list for your shell, e.g.:
--bindmounts "foo bar"
This wont work:
--bindmounts foo bar
This is because pbuilder gets two arguments in the first case and three in the second case.
Closing this bug; let me know if you think this is still an issue.
Thanks,