dirinstall on 12.04 appears to require `fai-divert -a /sbin/initctl`

Bug #1021506 reported by andrew bezella
8
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu Jul 5 15:36:35 2012
PackageArchitecture: all
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.conffile..etc.fai.fai.conf: [modified]
mtime.conffile..etc.fai.fai.conf: 2012-06-19T10:48:39.830062

Revision history for this message
andrew bezella (abezella) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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

tags: added: patch
Revision history for this message
andrew bezella (abezella) wrote :

updated patch for fai 5.0.3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.