dirinstall on 12.04 appears to require `fai-divert -a /sbin/initctl`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fai (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
i've been starting down the migration path from one lts release to another and trying out vm installs using fai 3.4.8ubuntu2 on precise hosts. the vms (ganeti-managed) are built using fai dirinstall.
it appears that upstart in precise behaves differently than lucid with respect to chroots (looks like it started supporting chroot "sessions" in natty). in my testing this caused problems with both lucid and
precise guests. when performing a lucid dirinstall i ended up w/atd and acpid processes running outside the chroot. with a precise dirinstall init complained that it had had its "Configuration directory deleted" (referencing the path to the chroot) and was left in a somewhat confused state, logging errs like:
init: Failed to spawn network-interface (tap0) pre-start process: unable to execute: No such file or directory
on vm bring-up.
my workaround for this was to add a hook to updatebase containing:
fai-divert -a /sbin/initctl
should /sbin/initctl be added to the list of automatic diversions in updatebase?
thank you.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: fai-client 3.4.8ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu Jul 5 15:36:35 2012
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/usr/bin/zsh
SourcePackage: fai
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
The attachment "one-line change to /usr/lib/ fai/updatebase to additionally divert /sbin/initctl" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]