LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-21-2021, 08:27 AM   #1
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 907

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
LVM2 and systemd


As already reported LVM2 2.03.14 now depends on systemd in its udev rules.

This is the commit that made the breaking change:

https://sourceware.org/git/?p=lvm2.g...e14bd739c5c0f6

The old /lib/udev/rules.d/69-dm-lvm.rules file still exists in the source tree https://sourceware.org/git/?p=lvm2.g...les.in;hb=HEAD, but the above commit replaces it with a new version of the file. I don't know if there is a configure option to restore this old file.

I haven't reported to upstream as I don't have a Red Hat Bugzilla account.
 
Old 10-21-2021, 08:57 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,430

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by drumz View Post
As already reported LVM2 2.03.14 now depends on systemd in its udev rules.

This is the commit that made the breaking change:

https://sourceware.org/git/?p=lvm2.g...e14bd739c5c0f6

The old /lib/udev/rules.d/69-dm-lvm.rules file still exists in the source tree https://sourceware.org/git/?p=lvm2.g...les.in;hb=HEAD, but the above commit replaces it with a new version of the file. I don't know if there is a configure option to restore this old file.

I haven't reported to upstream as I don't have a Red Hat Bugzilla account.
I take a look at gentoo and their openRC version
lvm2 2.03.14 has not been tested yet
 
Old 10-21-2021, 11:35 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,918

Rep: Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035
I wonder if simply changing it to use 'setsid -f' as follows would suffice.
Code:
ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="/usr/bin/setsid -f lvm vgchange -aay --nohints $env{LVM_VG_NAME_COMPLETE}"
It'd achieve the same goal: of putting the activation in the background.
 
Old 10-21-2021, 04:25 PM   #4
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 907

Original Poster
Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Thu Oct 21 19:36:32 UTC 2021 current update, which downgrades lvm2 back to 2.03.13, fixes mounting for me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SystemD and SystemD Shim Numbnuts Linux - Newbie 7 01-15-2019 02:31 AM
LXer: The Story Behind ‘init’ and ‘systemd’: Why ‘init’ Needed to be Replaced with ‘systemd’ in Linu LXer Syndicated Linux News 1 04-07-2017 11:33 PM
LXer: Why pro-systemd and anti-systemd people will never get along LXer Syndicated Linux News 0 05-15-2015 11:44 PM
lvm2 to non lvm2 L1nuxn00b703 Red Hat 5 12-18-2013 04:32 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration