system-config-lvm fails with invoke-rc.d: unknown initscript, /etc/init.d/lvm2 not found.

Bug #390421 reported by Andres Mujica
60
This bug affects 19 people
Affects Status Importance Assigned to Milestone
system-config-lvm (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: system-config-lvm

according to upstream debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519579 a change was included into start script for system-config-lvm.

As Ubuntu doesn't use the lvm2 init script this gives the error specified before.

Release of Ubuntu: Karmic Alpha 2
Package Version: 1.1.4-4
Expected Results: clean start
Actual Results: fails with the message stated above

I'm attaching a really simple patch for this to work

ProblemType: Bug
Architecture: amd64
Date: Sun Jun 21 19:47:14 2009
DistroRelease: Ubuntu 9.10
Package: system-config-lvm 1.1.4-4
PackageArchitecture: all
ProcEnviron:
 LANG=es_CO.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-9.10-generic
SourcePackage: system-config-lvm
Uname: Linux 2.6.30-9-generic x86_64

Revision history for this message
Andres Mujica (andres.mujica) wrote :
Changed in system-config-lvm (Ubuntu):
importance: Undecided → Low
status: New → Triaged
tags: added: regression-potential
Changed in system-config-lvm (Ubuntu):
importance: Low → Medium
tags: added: bitesize
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-lvm - 1.1.4-4ubuntu1

---------------
system-config-lvm (1.1.4-4ubuntu1) karmic; urgency=low

  * In Ubuntu, we use udev rather than an init script to activate lvm2, so
    don't try to invoke the init script (thanks, Andres Mujica; LP:
    #390421).

 -- Colin Watson <email address hidden> Thu, 02 Jul 2009 11:09:51 +0100

Changed in system-config-lvm (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Beginner (tobias-haegele) wrote :

This bug also happens in 13.10

Revision history for this message
Pat Callahan (pat-callahan1) wrote :

This one is closed see Bug #1239912 against 13.10 so take a look there.
for the record, the workaround:

sudo /usr/share/system-config-lvm/system-config-lvm.py;

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.