← Back to team overview

touch-packages team mailing list archive

[Bug 1539546] Re: Service mountdevsubfs has to be enabled to start service lvm2

 

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)

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

Title:
  Service mountdevsubfs has to be enabled to start service lvm2

Status in lvm2 package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1539546/+subscriptions


References