[Bug 1124029] Re: 'ltsp-client-builder' failed with error code 1 during LTSP server installation with 20120213.1 alternate images
Launchpad Bug Tracker
1124029 at bugs.launchpad.net
Wed Feb 13 22:42:10 UTC 2013
This bug was fixed in the package ltsp - 5.3.7-0ubuntu2.5
---------------
ltsp (5.3.7-0ubuntu2.5) precise-proposed; urgency=low
* Add an hack to ltsp-client-builder to ensure /run/resolvconf exists in
the target. This is an hack because /run/resolvconf should always exist
in there but for some reason, doesn't in some weird corner case.
This hack avoids some installation failing when trying to touch
/etc/resolv.conf (LP: #1124029)
-- Stephane Graber <stgraber at ubuntu.com> Wed, 13 Feb 2013 13:08:57 -0500
** Changed in: ltsp (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
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/1124029
Title:
'ltsp-client-builder' failed with error code 1 during LTSP server
installation with 20120213.1 alternate images
Status in “ltsp” package in Ubuntu:
Triaged
Status in “ltsp” source package in Precise:
Fix Released
Bug description:
== Rationale ==
For some reason /run/resolvconf sometimes (race condition) doesn't exist at the time we try to setup LTSP. This is a bug in its own but is then making a touch /etc/resolv.conf fail in ltsp-client-builder.
The workaround for now is to call mkdir -p /run/resolvconf through in-
target, thereby ensuring /run/resolvconf always exists, which should
make the touch succeed.
== Test case ==
It's unfortunately a race condition, so short of trying a few installs and considering it fixed, there's no trivial way of confirming this.
One could try to remove /run/resolvconf on purpose just before ltsp-client-builder is called and see what happens, but that'd require some pretty careful timing.
== Regression potential ==
This is a mkdir -p of a directory under /run, so it really shouldn't ever fail.
However the fix is just working around a bigger problem and if anything inside the target tries to resolve a hostname, this will still fail as we won't have any DNS servers configured.
--- original report ---
The following error occurs during LTSP server installation on hardware
with Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64+mac
(20130213.1).
Feb 13 11:40:02 main-menu[409]: (process:21643): mount: mounting proc on /target/proc failed: Device or resource busy
Feb 13 11:40:02 main-menu[409]: WARNING **: Configuring 'ltsp-client-builder' failed with error code 1
Feb 13 11:40:02 main-menu[409]: WARNING **: Menu item 'ltsp-client-builder' failed.
**This is with amd64+mac and will report the outcome of i386 and amd64
installations shortly.
== Test case ==
1) Press F4
2) Choose LTSP
3) Install
(This is a side-by-side installation along with another precise alternate one. Not sure if that's any reason for this)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/1124029/+subscriptions
More information about the foundations-bugs
mailing list