Bug 1331369

Summary: ostree alters initramfs
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: ostreeAssignee: Colin Walters <walters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: walters
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-17 13:03:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harald Hoyer 2016-04-28 11:49:04 UTC
Because xdg-app needs ostree, ostree has to be installed.
The package contains /etc/dracut.conf.d/ostree.conf

First of all my boot process should not be altered because I want to use xdg-app. 

Secondly, please use /usr/lib/dracut/dracut.conf.d/ for RPMs. /etc is for the admin.

Please split out the dracut part somehow. I don't plan to use ostree for my /usr. I only want to use xdg-app.

Thanks

Comment 1 Colin Walters 2016-04-28 12:48:43 UTC
Hm...we could probably delete the conf file entirely, and change rpm-ostree to invoke dracut with `--add ostree` ?

Comment 2 Harald Hoyer 2016-04-28 13:38:53 UTC
(In reply to Colin Walters from comment #1)
> Hm...we could probably delete the conf file entirely, and change rpm-ostree
> to invoke dracut with `--add ostree` ?

yes, you could

Comment 3 Colin Walters 2016-04-28 20:27:06 UTC
https://github.com/projectatomic/rpm-ostree/pull/276

Comment 4 Jan Kurik 2016-07-26 05:12:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 5 Colin Walters 2016-09-16 12:38:09 UTC
Er, still didn't make the spec change, will do now.

Comment 6 Colin Walters 2017-03-17 13:03:06 UTC
commit af4b821a6645fc93ca067c67f5f4bdf569a93b30
Author:     Colin Walters <walters>
AuthorDate: Fri Sep 16 08:39:25 2016 -0400
Commit:     Colin Walters <walters>
CommitDate: Fri Sep 16 09:16:27 2016 -0400

    Set --with-dracut=yesbutnoconf
    
      Resolves: #1331369

This will also help, except things get messier since flatpak wants rofiles-fuse which currently lives in the binary package.

commit 3b37a92bc97525bf1550935e8e26447e29466b6b
Author:     Colin Walters <walters>
AuthorDate: Tue Feb 7 13:23:03 2017 -0500
Commit:     Colin Walters <walters>
CommitDate: Tue Feb 7 14:39:45 2017 -0500

    Split off ostree-libs
    
    This is the inverse of upstream https://github.com/ostreedev/ostree/pull/659 but
    renaming the package would be hard for low immediate gain. With this at least,
    flatpak could theoretically depend just on libostree. And similarly for
    rpm-ostree compose tree (when that gets split out).