Service mountdevsubfs has to be enabled to start service lvm2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Xenial daily cloud image 20160129: insserv: Service mountdevsubfs has to be enabled to start service lvm2
This is causing juju bootstraps to fail on Xenial.
http://
lvm2:
Installed: 2.02.133-1ubuntu4
Candidate: 2.02.133-1ubuntu4
Version table:
*** 2.02.133-1ubuntu4 500
500 http://
100 /var/lib/
# from cloudinit log
Setting up lvm2 (2.02.133-1ubuntu4) ...
update-initramfs: deferring update (trigger activated)
insserv: Service mountdevsubfs has to be enabled to start service lvm2
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package lvm2 (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.120ubuntu7) ...
update-initramfs: Generating /boot/initrd.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
W: mdadm: /etc/mdadm/
Errors were encountered while processing:
lvm2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lvm2 (2.02.133-1ubuntu4) ...
update-initramfs: deferring update (trigger activated)
insserv: Service mountdevsubfs has to be enabled to start service lvm2
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package lvm2 (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.120ubuntu7) ...
update-initramfs: Generating /boot/initrd.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
W: mdadm: /etc/mdadm/
Errors were encountered while processing:
lvm2
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command:
update-rc.d lvm2 defaults
in the maintainer script is throwing the error; the mountdevsubfs is showing as masked by systemd:
$ systemctl status mountdevsubfs service
● mountdevsubfs.
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
but lvm2 is as well - so not quite sure what the problem is:
$ systemctl status lvm2
● lvm2.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)