make-fai-nfsroot failes to create initramfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fai (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: fai-server
In fai 3.2, update-initramfs is diverted and replaced by /bin/true, during the creation of the nfsroot (make-fai-nfsroot).
This is done so the initramfs doesn't needs to be regenerated for each packet that want it to be that way during install. In the end of this process the divert is removed and update-initramfs is explicitly run "update-initramfs -k all -t -u".
The problem with this is that it won't generate a initramfs because the statefiles for initramfs-tools is bork because that it didn't get created during the postinst-script for the kernel package.
This is a bug thats in the future, in a ubuntu perspective, because gutsy has fai 3.1.8 or something.
The quick&dirty way to fix this is to remove the divertion in make-fai-nfsroot, The right way to fix it is to ether patch initramfs-tools or to fiddle with the linux-image postinst-script.
fai (3.2.1-0ubuntu1) gutsy; urgency=low
* Sync New Upstream Version to ubuntu. fai-nfsroot. conf: use archive.ubuntu.com for bootstrap
- Exception Request granted in LP: #139637
- Problems with update-initramfs fixed: LP: #137511
- fai-setup works now LP: #89026
- static ip problem fixed ages ago: LP: #69862
- fix dependency breakage: LP: #93876
* Upload to ubuntu with some small changes:
* Turn the package from native to non-native, the orig tarball is identical
to the tarball in debian.
* bin/fai: check if /proc is mounted in the nfsroot. if it isn't mount it
* conf/NFSROOT: deinstall upstart, use sysvinit instead
* conf/NFSROOT: install linux-image-generic as kernel image. This is
thankfully consistent on all ubuntu architectures. We can drop
unionsfs modules as well, since we have them in the kernel package.
* conf/make-
* conf/sources.list: use archive.ubuntu.com as sources.
* conf/sources.list: use fai-team's PPA for live-initramfs packages
fai (3.2.1) unstable; urgency=low
* mount swap partitions with identical priorities nfsroot. conf: add variable NFSROOT_HOOKS config/ DEFAULT: fix typos in linux-image-amd64 fai-chboot. 8: add option -C and support for $FAI_ETC_DIR LAST.source: add ignore pattern config/ FAIBASE: add fai-client etc/dhcpd. conf: fix path
* fai-mirror: also match lowercase class names (for hostsnames),
use $cfdir instead of fixed path /etc/fai
* subroutines-linux: add timeout to nc call
* subroutines: change message for faimond in task_faiend()
* control: readd libapt-pkg-perl to depends, nfs-server (user space)
does not support locking, so FAI cannot use it, remove wget, add arch
to mknbi
* get-config-dir-svn: add svn+ssh support
* QUESTIONNAIRE: add USB stick, split bootb and dhcp
* faimond, faimond.8: use Proc::Daemon, add options tTldP
* faimond: do not allow ; in message (security), do not print ip and
port number
* make-fai-nfsroot: add option -U, do not divert update-initramfs (added
because of a Ubuntu bug), activate -U if Ubuntu is detected
determine the arch inside the nfsroot for defining a class, this help
building amd64 nfsroots on i386 and vice versa,
add support for running hooks, (closes: #342467)
* make-fai-
* make-fai-nfsroot.9: add info about NFSROOT_HOOKS
* fai-mirror.8, make-fai-nfsroot.8: enhance/add info of -C, add info
about variable FAI_ETC_DIR
* packages_
* fai-chboot,
* savelog.
* packages_
* fai-do-scripts: exit with maximum error code of all child scripts that
had an error
* fai: change message when stamp file already exists (closes: #441437)
* fai-cd: remove arch specific path
* fai-cd.8: add info about USB stick (closes: #441988),
improve man page (closes: #441991)
* new get-config-dir-git: add method git for access (closes: #441992)
* examples/
* faimond-gui: new tool that produces graphical output of faimond
* faimond-gui.8: new man page
* get-config-dir-svn: fix svn+ssh with username (Closes: #442021)
* fai-guide.sgml: add info about NFSROOT_HOOKS
fai (3.2) unstable; urgency=low
* subroutines-linux: fix extra slash in path (closes: #428860),
...