Bug 2227428 - ostree-system-generator fails with an error on non-ostree systems
Summary: ostree-system-generator fails with an error on non-ostree systems
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ostree
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-29 15:49 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2023-07-31 17:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-31 13:18:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-906 0 None None None 2023-07-29 15:51:38 UTC

Description Zbigniew Jędrzejewski-Szmek 2023-07-29 15:49:51 UTC
The generator fails:
$ /usr/lib/systemd/system-generators/ostree-system-generator 
ostree-system-generator: No ostree= cmdline

The user might install the package to use one of the tools in the package, or to read the man pages, or just for experimentation, and the generator which runs unconditionally should gracefully do nothing if the kernel parameter is not present.

Reproducible: Always

Comment 1 Colin Walters 2023-07-31 13:18:39 UTC
Which version are you using?  This should have been fixed by https://github.com/ostreedev/ostree/pull/2911 which is in 2023.5

Tentatively closing, reopen if this is not already fixed for you.

Comment 2 Zbigniew Jędrzejewski-Szmek 2023-07-31 17:40:24 UTC
Yep, I had ostree-0:2023.4-2.fc38.x86_64. I should have checked the latest version… Thanks!


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