Service mountdevsubfs has to be enabled to start service lvm2

Bug #1539546 reported by Ryan Beisner
10
This bug affects 2 people
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://pastebin.ubuntu.com/14694925/

lvm2:
  Installed: 2.02.133-1ubuntu4
  Candidate: 2.02.133-1ubuntu4
  Version table:
 *** 2.02.133-1ubuntu4 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

# 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.img-4.3.0-7-generic
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/mdadm.conf defines no arrays.
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.img-4.3.0-7-generic
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/mdadm.conf defines no arrays.
Errors were encountered while processing:
 lvm2
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tags: uosci
Revision history for this message
James Page (james-page) wrote :

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
● mountdevsubfs.service
   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)

Revision history for this message
Louis Bouchard (louis) wrote :

Hi,

This appeared in the autopkgtests yesterday after I uploaded lvm2. This was caused by another upload that required pitti to fix things in the Xenial images

It was fixed late last night & the tests ran correctly

Revision history for this message
Alexander List (alexlist) wrote :

Still visible today during an upgrade from 15.10 to 16.04:

Setting up lvm2 (2.02.133-1ubuntu9) ...
Installing new version of config file /etc/init.d/lvm2 ...
Installing new version of config file /etc/lvm/lvm.conf ...
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for initramfs-tools (0.122ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-18-lowlatency
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lvm2 (Ubuntu):
status: New → Confirmed
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.