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

Forgotten dirs for local systemd-unit-files #1981

Closed
TriMoon opened this issue Dec 12, 2024 · 3 comments
Closed

Forgotten dirs for local systemd-unit-files #1981

TriMoon opened this issue Dec 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@TriMoon
Copy link

TriMoon commented Dec 12, 2024

Describe the bug

See: Forgotten dirs for local systemd-unit-files at fedora-selinux/selinux-policy repo.

What did you expect to happen?

I expected for the service to start at boot without SELinux denials.

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
                   Digest: sha256:254a17f27cead0ce16b5c08c56799c30ef6f2e07b8aa34494d9969852b5903cd
                  Version: 41.20241210 (2024-12-10T08:55:14Z)
            LocalPackages: epson-inkjet-printer-escpr-1.8.5-1.x86_64

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
                   Digest: sha256:10ebb6e959a7574a56cd90451652eb3cc2ce6e406465661092875ea91d6318f3
                  Version: 41.20241104 (2024-11-04T05:00:08Z)
            LocalPackages: epson-inkjet-printer-escpr-1.8.5-1.x86_64 lact-0.5.6-0.x86_64

Hardware

PC

Extra information or context

I'm trying to make use of the service of Asus X670e Ethernet Fix under /usr/local/lib/systemd/system...

@dosubot dosubot bot added the bug Something isn't working label Dec 12, 2024
@KyleGospo
Copy link
Member

@KyleGospo KyleGospo closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2024
@TriMoon
Copy link
Author

TriMoon commented Dec 14, 2024

@KyleGospo Any idea why the service isn't started at boot-up, while it shows as enabled?
Is it an SELinux problem or something that is ostree related?

PS: The local SELinux rules are not present after boot, but the permissions of the dirs and files still have my modified values...

@KyleGospo
Copy link
Member

Instead of /usr/lib try /etc

If it can't work there, you probably need to use something like a system extension. And even that might mount it too late.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants