Debian/sid and oneiric based builds fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbuild (Debian) |
Fix Released
|
Unknown
|
|||
sbuild (Ubuntu) |
Fix Released
|
Medium
|
Barry Warsaw | ||
Natty |
Fix Released
|
Medium
|
Loïc Minier | ||
Oneiric |
Fix Released
|
Medium
|
Barry Warsaw |
Bug Description
Setup:
mk-sbuild --vg=<name> --distro=debian sid
Issue:
schroot into the sbuild environment is fine; however when I try to complete builds with this schroot sbuild fails to create locks in /var/lock - this is a symbolic link to /run/lock and is absolute rather than relative which I suspect may be the issue:
>>> Excerpt from log <<<
Package: args4j
Version: 2.0.16-1
Source Version: 2.0.16-1
Architecture: amd64
E: Can't create lock file /var/lib/
Workaround:
I fixed this locally by making /var/lock and /var/run directories within the schroot. Builds then complete OK.
Impact: need special setup to use chroots of recent suites like oneiric or current Debian sid with sbuild
Bug was addressed by moving locks to a different directory within the chroot, one which belongs to sbuild.
Regression potential: limited, can't really see what could regress here outside of introducing new bugs of course
Related branches
Changed in sbuild (Ubuntu): | |
status: | New → Confirmed |
Changed in sbuild (Ubuntu Natty): | |
status: | New → In Progress |
assignee: | nobody → Loïc Minier (lool) |
importance: | Undecided → Medium |
status: | In Progress → Confirmed |
status: | Confirmed → Triaged |
description: | updated |
Changed in sbuild (Debian): | |
status: | Unknown → Fix Released |
I've also noticed this with Oneiric.