Testing a zfsroot deploy without zfs present, curtin will trigger an
install of the full linux-image-generic package during the install deps
check.

This produces this output:

[    7.696444] cloud-init[1214]: Cloud-init v. 17.1 running 'modules:config' at 
Thu, 21 Dec 2017 21:39:54 +0000. Up 6.72 seconds.
[^[[0;32m  OK  ^[[0m] Started Apply the settings specified in cloud-config.
         Starting Execute cloud user/final scripts...
[    8.616435] cloud-init[1435]: Hit:1 http://archive.ubuntu.com/ubuntu xenial 
InRelease
[    8.672908] cloud-init[1435]: Get:2 http://security.ubuntu.com/ubuntu 
xenial-security InRelease [102 kB]
[    8.674883] cloud-init[1435]: Get:3 http://archive.ubuntu.com/ubuntu 
xenial-updates InRelease [102 kB]
[    8.928164] cloud-init[1435]: Get:4 http://archive.ubuntu.com/ubuntu 
xenial-backports InRelease [102 kB]
[    8.995416] cloud-init[1435]: Get:5 http://archive.ubuntu.com/ubuntu 
xenial/universe amd64 Packages [7532 kB]
[    9.080891] cloud-init[1435]: Get:6 http://security.ubuntu.com/ubuntu 
xenial-security/main amd64 Packages [409 kB]
[    9.283115] cloud-init[1435]: Get:7 http://security.ubuntu.com/ubuntu 
xenial-security/universe amd64 Packages [191 kB]
[    9.350155] cloud-init[1435]: Get:8 http://security.ubuntu.com/ubuntu 
xenial-security/multiverse amd64 Packages [3208 B]
[    9.442908] cloud-init[1435]: Get:9 http://archive.ubuntu.com/ubuntu 
xenial/multiverse amd64 Packages [144 kB]
[    9.516022] cloud-init[1435]: Get:10 http://archive.ubuntu.com/ubuntu 
xenial-updates/main amd64 Packages [683 kB]
[    9.579850] cloud-init[1435]: Get:11 http://archive.ubuntu.com/ubuntu 
xenial-updates/universe amd64 Packages [566 kB]
[    9.652460] cloud-init[1435]: Get:12 http://archive.ubuntu.com/ubuntu 
xenial-updates/multiverse amd64 Packages [16.2 kB]
[    9.716868] cloud-init[1435]: Get:13 http://archive.ubuntu.com/ubuntu 
xenial-backports/main amd64 Packages [4836 B]
[    9.780898] cloud-init[1435]: Get:14 http://archive.ubuntu.com/ubuntu 
xenial-backports/universe amd64 Packages [6612 B]
[   10.718880] cloud-init[1435]: Fetched 9861 kB in 2s (4415 kB/s)
[   11.385174] cloud-init[1435]: Reading package lists...
[   11.449013] cloud-init[1435]: Reading package lists...
[   11.561550] cloud-init[1435]: Building dependency tree...
[   11.563580] cloud-init[1435]: Reading state information...
[   11.664585] cloud-init[1435]: The following package was automatically 
installed and is no longer required:
[   11.666506] cloud-init[1435]:   libfreetype6
[   11.667620] cloud-init[1435]: Use 'apt autoremove' to remove it.
[   11.669035] cloud-init[1435]: The following additional packages will be 
installed:
[   11.670778] cloud-init[1435]:   libnvpair1linux libuutil1linux libzfs2linux 
libzpool2linux zfs-doc
[   11.672519] cloud-init[1435]: Suggested packages:
[   11.673680] cloud-init[1435]:   fdutils linux-doc-4.4.0 | linux-source-4.4.0 
linux-tools
[   11.675245] cloud-init[1435]:   linux-headers-4.4.0-103-generic 
samba-common-bin nfs-kernel-server
[   11.676981] cloud-init[1435]:   zfs-initramfs
[   11.678095] cloud-init[1435]: Recommended packages:
[   11.679275] cloud-init[1435]:   grub-pc | grub-efi-amd64 | grub-efi-ia32 | 
grub | lilo zfs-zed
[   11.680847] cloud-init[1435]: The following NEW packages will be installed:
[   11.681995] cloud-init[1435]:   libnvpair1linux libuutil1linux libzfs2linux 
libzpool2linux
[   11.683237] cloud-init[1435]:   linux-image-4.4.0-103-generic zfs-doc 
zfsutils-linux
[   11.811514] cloud-init[1435]: 0 upgraded, 7 newly installed, 0 to remove and 
8 not upgraded.
[   11.813829] cloud-init[1435]: Need to get 22.8 MB of archives.
[   11.815138] cloud-init[1435]: After this operation, 69.7 MB of additional 
disk space will be used.


Using an initrd produced from this branch, the same dep check path shows:

[    8.078240] cloud-init[1225]: Cloud-init v. 17.1 running 'modules:config' at 
Thu, 21 Dec 2017 21:06:17 +0000. Up 7.10 seconds.
[^[[0;32m  OK  ^[[0m] Started Apply the settings specified in cloud-config.
         Starting Execute cloud user/final scripts...
[    9.099855] cloud-init[1430]: Hit:1 http://archive.ubuntu.com/ubuntu xenial 
InRelease
[    9.102304] cloud-init[1430]: Get:2 http://security.ubuntu.com/ubuntu 
xenial-security InRelease [102 kB]
[    9.156567] cloud-init[1430]: Get:3 http://archive.ubuntu.com/ubuntu 
xenial-updates InRelease [102 kB]
[    9.412186] cloud-init[1430]: Get:4 http://archive.ubuntu.com/ubuntu 
xenial-backports InRelease [102 kB]
[    9.443453] cloud-init[1430]: Get:5 http://security.ubuntu.com/ubuntu 
xenial-security/main amd64 Packages [409 kB]
[    9.483278] cloud-init[1430]: Get:6 http://archive.ubuntu.com/ubuntu 
xenial/universe amd64 Packages [7532 kB]
[    9.637120] cloud-init[1430]: Get:7 http://security.ubuntu.com/ubuntu 
xenial-security/universe amd64 Packages [191 kB]
[    9.701364] cloud-init[1430]: Get:8 http://security.ubuntu.com/ubuntu 
xenial-security/multiverse amd64 Packages [3208 B]
[    9.886424] cloud-init[1430]: Get:9 http://archive.ubuntu.com/ubuntu 
xenial/multiverse amd64 Packages [144 kB]
[    9.954894] cloud-init[1430]: Get:10 http://archive.ubuntu.com/ubuntu 
xenial-updates/main amd64 Packages [683 kB]
[   10.035288] cloud-init[1430]: Get:11 http://archive.ubuntu.com/ubuntu 
xenial-updates/universe amd64 Packages [566 kB]
[   10.113280] cloud-init[1430]: Get:12 http://archive.ubuntu.com/ubuntu 
xenial-updates/multiverse amd64 Packages [16.2 kB]
[   10.180125] cloud-init[1430]: Get:13 http://archive.ubuntu.com/ubuntu 
xenial-backports/main amd64 Packages [4836 B]
[   10.247432] cloud-init[1430]: Get:14 http://archive.ubuntu.com/ubuntu 
xenial-backports/universe amd64 Packages [6612 B]
[   11.176975] cloud-init[1430]: Fetched 9861 kB in 2s (4469 kB/s)
[   11.859076] cloud-init[1430]: Reading package lists...
[   11.923092] cloud-init[1430]: Reading package lists...
[   12.080138] cloud-init[1430]: Building dependency tree...
[   12.081346] cloud-init[1430]: Reading state information...
[   12.192458] cloud-init[1430]: The following package was automatically 
installed and is no longer required:
[   12.193183] cloud-init[1430]:   libfreetype6
[   12.193445] cloud-init[1430]: Use 'apt autoremove' to remove it.
[   12.194023] cloud-init[1430]: The following additional packages will be 
installed:
[   12.194523] cloud-init[1430]:   libnvpair1linux libuutil1linux libzfs2linux 
libzpool2linux zfs-doc
[   12.195359] cloud-init[1430]: Suggested packages:
[   12.195559] cloud-init[1430]:   samba-common-bin nfs-kernel-server 
zfs-initramfs
[   12.195889] cloud-init[1430]: Recommended packages:
[   12.196362] cloud-init[1430]:   zfs-dkms zfs-zed
[   12.197353] cloud-init[1430]: The following NEW packages will be installed:
[   12.197900] cloud-init[1430]:   libnvpair1linux libuutil1linux libzfs2linux 
libzpool2linux zfs-doc
[   12.198154] cloud-init[1430]:   zfsutils-linux
[   12.345896] cloud-init[1430]: 0 upgraded, 6 newly installed, 0 to remove and 
8 not upgraded.
[   12.346565] cloud-init[1430]: Need to get 867 kB of archives.
[   12.347059] cloud-init[1430]: After this operation, 2775 kB of additional 
disk space will be used.


The linux-image-generic package is no longer requested due to the presence of 
the 'zfs' module in the initramfs.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1737592

Title:
  no zfs module in initramfs

Status in maas-images:
  Confirmed
Status in initramfs-tools package in Ubuntu:
  Invalid

Bug description:
  zfs support exists in Ubuntu kernels for 16.04 and later, but the
  default initramfs build does not include this module.

  Other common filesystems are included.

  As a small piece of information:
  $ du -hs /lib/modules/4.13.0-17-generic/kernel/zfs/
  3.2M  /lib/modules/4.13.0-17-generic/kernel/zfs/


  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: initramfs-tools-core 0.125ubuntu12
  ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
  Uname: Linux 4.13.0-17-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.20.8-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Dec 11 13:05:15 2017
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-23 (872 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: initramfs-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas-images/+bug/1737592/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to