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

None of the elemental-setup-*.service files are owned by a package #1896

Closed
kkaempf opened this issue Dec 21, 2023 · 4 comments · Fixed by #1962
Closed

None of the elemental-setup-*.service files are owned by a package #1896

kkaempf opened this issue Dec 21, 2023 · 4 comments · Fixed by #1962
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@kkaempf
Copy link
Contributor

kkaempf commented Dec 21, 2023

Running

rpm -qf /usr/lib/systemd/system/elemental-setup-*

shows is not owned by any package for all of them.

@kkaempf kkaempf added the kind/bug Something isn't working label Dec 21, 2023
@kkaempf kkaempf added this to the 2024-Q1-v2.8x milestone Jan 3, 2024
@kkaempf kkaempf transferred this issue from rancher/elemental Jan 5, 2024
@frelon
Copy link
Contributor

frelon commented Jan 5, 2024

Yep, both this and the permission bits in #1895 are because of embedding+extracting in the init command. One way to get around both of these would be to wrap the embedded features in a tar/rpm and install it that way.

@kkaempf
Copy link
Contributor Author

kkaempf commented Jan 5, 2024

It will probably not be accepted to SLE as-is.

What's wrong with providing the respective .service files within the RPM ?

@davidcassany
Copy link
Contributor

It will probably not be accepted to SLE as-is.

I agree this is a bit uncommon. But we should consider them as user defined services. We could consider installing them in /etc/systemd/system so it is clear that those files are not necessarily provided by an RPM.

What's wrong with providing the respective .service files within the RPM ?

Couples us a bit more to SUSE specifics. Having them embedded within the elemental-client binary makes possible the story of making simple Elemental OS out of any Linux OS including systemd, dracut and grub.

@kkaempf
Copy link
Contributor Author

kkaempf commented Jan 8, 2024

👍 on the move to /etc/systemd/system then.

@kkaempf kkaempf moved this to 🗳️ To Do in Elemental Feb 7, 2024
@frelon frelon self-assigned this Feb 19, 2024
@frelon frelon moved this from 🗳️ To Do to 🏃🏼‍♂️ In Progress in Elemental Feb 19, 2024
@frelon frelon moved this from 🏃🏼‍♂️ In Progress to 👀 Needs review in Elemental Feb 19, 2024
@github-project-automation github-project-automation bot moved this from 👀 Needs review to ✅ Done in Elemental Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
Archived in project
3 participants