ltsp-update-image doesn't work on precise in an openvz container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Undecided
|
Unassigned | ||
ltsp (Ubuntu) |
Fix Released
|
Low
|
Stéphane Graber | ||
Precise |
Fix Released
|
Low
|
Stéphane Graber | ||
Quantal |
Fix Released
|
Low
|
Stéphane Graber |
Bug Description
[impact]
when generating the image, if we do it inside an openvz container, the ionice command make the the process fail.
[test case]
in a openvz container run:
root@ltsp-root03:~# ltsp-update-image -n -a i386
Regenerating kernel...
Skipping yaboot configuration. install yaboot package if you need it.
Skipping netabootwrap images. Install the aboot package if you need them.
Skipping sparc piggyback images. Install the sparc-utils package if you need them.
Done.
Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/i386
ionice: ioprio_set failed: Operation not permitted
Error: mksquashfs failed to build the ltsp image, exiting
[regression potential]
really low, the change consist of testing if ionice works on a command to set it.
if it fails, ionice is unset.
[development fix]
I know this section is deprecated but it's actually relevant in this case ;)
The fix hasn't hit quantal yet because of some massive packaging rework going on with LTSP to try and bring us in sync with Debian. I can guarantee that we will have a new upstream release in quantal that will include this fix. ETA is of a couple of weeks.
we should pull this commit to fix the issue in precise and quantal
http://
Changed in ltsp (Ubuntu): | |
milestone: | none → precise-updates |
Changed in ltsp (Ubuntu): | |
milestone: | precise-updates → quantal-alpha-1 |
milestone: | quantal-alpha-1 → precise-updates |
milestone: | precise-updates → none |
description: | updated |
Changed in ltsp (Ubuntu Precise): | |
status: | Triaged → In Progress |
description: | updated |
Changed in ltsp (Ubuntu Quantal): | |
status: | Triaged → Fix Released |
As discussed on IRC, won't SRU only for that as OpenVZ isn't a supported container technology in 12.04 but it'll be bundled whenever we SRU ltsp for Precise.
As it's commited upstream, it'll also land with the next LTSP uploaded in Quantal.