Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional subscription-manager fact generation #929

Closed
cgwalters opened this issue Dec 2, 2024 · 0 comments · Fixed by #977
Closed

Add optional subscription-manager fact generation #929

cgwalters opened this issue Dec 2, 2024 · 0 comments · Fixed by #977
Assignees
Labels
area/client Related to the client/CLI enhancement New feature or request

Comments

@cgwalters
Copy link
Collaborator

We’re discussing subscription-manager integration with bootc. First step is change detection in bootc that can trigger a systemd unit.
The main debate is where the writing of /etc/rhsm/bootc.facts lives. Proposal:

  • Add a cargo feature rhsm to support enabling this code (want this to cover the Debian/Arch cases)
  • Add a systemd unit bootc-rhsm-facts.service triggered by our bootc-status-updated.target. This unit should have ConditionDirectoryExists=/etc/rhsm (This dynamic detection will cover the fedora case)
  • The main thing to debate here is if we subpackage this as bootc-rhsm or just ship it in the main package. In a perfect world we’d subpackage it. But there are logistical overheads to doing this. Decision: Not a subpackage.
@cgwalters cgwalters added enhancement New feature or request area/client Related to the client/CLI labels Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client Related to the client/CLI enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants