Re: [RFC PATCH 2/7] 10-dm.rules: don't deactivate devices for DISK_RO=1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2024-03-04 at 12:27 +0100, Peter Rajnoha wrote:
> On 3/4/24 12:19, Peter Rajnoha wrote:
> > 
> > Now, I'm asking myself why we have the 'ACTION="add"' in the
> > systemd
> > rule at all. Why is it not just checking 
> > DM_UDEV_DISABLE_OTHER_RULES_FLAG?
> > 
> 
> Oh! :)
> 
> https://github.com/systemd/systemd/commit/35a6750d9e26b26b423fbe815bead7d750210d8d
> 

This systemd rule is wrong, and I will to post a PR for it, but as
I said in the cover letter, I want to address these issues one by one.

If DM_UDEV_DISABLE_OTHER_RULES_FLAG=1, systemd should import
SYSTEMD_READY from the db rather than set it to 0.

Martin






[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux