Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 175983
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias Schwarzott <zzam@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
lvm2-ebuild-install-init-script.diff ebuild change to install the init-script patch Matthias Schwarzott 2007-04-25 16:30 0000 600 bytes Details | Diff
lvm.rc Simplest possible init-script for lvm text/plain Matthias Schwarzott 2007-04-25 16:32 0000 532 bytes Details
lvm Updated lvm-initscript text/plain Matthias Schwarzott 2007-05-02 08:21 0000 752 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 175983 depends on: Show dependency tree
Bug 175983 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-25 16:30 0000
lvm2 does not work with baselayout-2, as this (after version 2.0.0_alpha1) has
skipped support for the old volume-addons (/lib/rcscripts/addons/lvm-start.sh
in this case).

------- Comment #1 From Matthias Schwarzott 2007-04-25 16:30:31 0000 -------
Created an attachment (id=117238) [details]
ebuild change to install the init-script

------- Comment #2 From Matthias Schwarzott 2007-04-25 16:32:29 0000 -------
Created an attachment (id=117240) [details]
Simplest possible init-script for lvm

This init-script will just include the old addons to do the real
starting/stopping of lvm.

Additionally it checks if we run under baselayout-2.

------- Comment #3 From Matthias Schwarzott 2007-04-26 06:53:56 0000 -------
You can also add some elog to postinst, about adding that to runlevel boot with
baselayout-2.

------- Comment #4 From Matthias Schwarzott 2007-05-02 08:21:24 0000 -------
Created an attachment (id=117924) [details]
Updated lvm-initscript

Updated initscript that should solve the dep-cycles it created on baselayout-1
systems.
It is generic enough to be used for all other volume-managers (dm, md, evms).

------- Comment #5 From Mike Auty 2007-05-05 10:55:00 0000 -------
As far as I'm aware start_addon and stop_addon still exist, are these going
away anytime soon?

I've just written a similar dm-crypt script (bug 177100) and I'm going to be
adding in the dependency checking for "before checkroot" (yoink!), but I've
used start_addon and stop_addon instead...

------- Comment #6 From Doug Goldstein 2007-05-09 16:33:13 0000 -------
I've added this script to the latest version, lvm2-2-02.17 only without a
revbump since baselayout-2 is masked.

robbat: If you have an issue with this change, please let me know. It's not
destructive and necessary for people to help test baselayout-2.

------- Comment #7 From Michiel de Bruijne 2007-05-10 06:31:02 0000 -------
(In reply to comment #6)
> I've added this script to the latest version, lvm2-2-02.17 only without a
> revbump since baselayout-2 is masked.
> 
> robbat: If you have an issue with this change, please let me know. It's not
> destructive and necessary for people to help test baselayout-2.
> 

Hi Doug (or another dev),

Would you be so kind to put in an ewarn/elog about adding the init to the boot
runlevel? If people use lvm2 on the root partition and baselayout2 without
adding it to the boot runlevel have an unbootable system. Thanks!

------- Comment #8 From Doug Goldstein 2007-05-10 15:07:02 0000 -------
Michiel: Good idea. Done. :)

robbat fixed my typo from yesterday..

------- Comment #9 From Michiel de Bruijne 2007-05-10 20:52:15 0000 -------
(In reply to comment #8)
> Michiel: Good idea. Done. :)
> 
> robbat fixed my typo from yesterday..
> 

Thanks a lot Doug!!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug