Bug 1014625 - modules.d/90bcache needs te be aligned with bcache-tools
Summary: modules.d/90bcache needs te be aligned with bcache-tools
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 20
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1004693
TreeView+ depends on / blocked
 
Reported: 2013-10-02 12:32 UTC by Rolf Fokkens
Modified: 2014-01-22 10:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-22 10:54:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rolf Fokkens 2013-10-02 12:32:29 UTC
Description of problem:
bcache-tools contains /usr/lib/udev/rules.d/61-bcache.rules which will be renamed to /usr/lib/udev/rules.d/65-bcache.rules. See Bug 1004693.

Dracut relies in /usr/lib/dracut/modules.d/90bcache on /usr/lib/udev/rules.d/61-bcache.rules. This will break after the proposed change in bcache-tools.

Version-Release number of selected component (if applicable):
dracut-033-3.git20130913.fc20

Proposed solution:
Remove /usr/lib/dracut/modules.d/90bcache from dracut and include this in bcache-tools.

Alternatively dracut may be changed to rely in 65-bcache.rules instead of 61-bcache.rules, but this maintains a very tight dependency on the precise name and location of bcache (udev) rules.

Additional info:
https://lists.fedoraproject.org/pipermail/devel/2013-September/189724.html
https://bugzilla.redhat.com/show_bug.cgi?id=1004693

Comment 1 Nimimo 2013-10-02 12:45:03 UTC
Try globbing: /usr/lib/udev/rules.d/*-bcache.rules
I'd rather have the Dracut module maintained with Dracut.

Comment 2 Rolf Fokkens 2013-10-02 22:26:48 UTC
After discussing with Harald we agreed to remove the bcache module from dracut and integrating it into bcache-tools for easier maintain consistency between the udev rules file and the dracut module.

Releasing the dracut package _without_ the module will be synchronized with bcache _with_ the module.

Comment 3 Rolf Fokkens 2013-10-03 19:09:45 UTC
The new bcache-tools package is ready and will be released when the new dracut package is released.

Comment 4 Harald Hoyer 2014-01-22 10:54:34 UTC
$ rpm -q dracut
dracut-034-64.git20131205.fc20.1.x86_64
$ rpm -ql dracut | fgrep bcache
$


Note You need to log in before you can comment on or make changes to this bug.