[Bug 1004158] Re: ltsp-update-image doesn't work on precise in an openvz container

Marc Gariépy gariepy.marc at gmail.com
Fri Jun 8 14:52:01 UTC 2012


** Description changed:

- when generating the image, if we do it inside an openvz container, the
- ionice command make the the process fail.
+ [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 at ltsp-root03:~# ltsp-update-image -n -a i386
- Regenerating kernel... 
+ 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.
+ 
+ 
  we should pull this commit to fix the issue in precise and quantal
  http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/revision/2242

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/1004158

Title:
  ltsp-update-image doesn't work on precise in an openvz container

Status in Linux Terminal Server Project:
  Fix Released
Status in “ltsp” package in Ubuntu:
  Triaged
Status in “ltsp” source package in Precise:
  Triaged
Status in “ltsp” source package in Quantal:
  Triaged

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 at 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.

  
  we should pull this commit to fix the issue in precise and quantal
  http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/revision/2242

To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/1004158/+subscriptions




More information about the foundations-bugs mailing list