-
Notifications
You must be signed in to change notification settings - Fork 180
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
systemd-homed not working on f41 #2452
Comments
Applying the |
Also got this:
|
As far as i can see #2018 was merged into the rawhide branch on 24th Sept 2024. But I really am confused by the parallel efforts to create the systemd-homed selinux policy in the above mentioned pull request as well as in multiple Fedora Discussions [1] [2] [3]. Or these are problems of Silverblue specifically with my device setup, the below commands work perfectly fine for me on Fedora Workstation with SELinux enabled (that's far from a clean install however). So hopefully it'll be fixed in F42. Wanted to try it out on a clean, luks2-full-disk-encrypted install of Silverblue the last few days but had these SELinux Alerts trying to create a homed user:
I also don't know if restoring SELinux file context is still required, it didn't change the behavior for me:
|
@RoepLuke, the original source code is https://github.com/richiedaze/homed-selinux, it was meant for testing on fedora. Oringinally, this policy was created on silverblue for silverblue, then modified for all the other variants. This policy was tested by me for a year, then tested publicly tested for another year before I was recommended to modify this policy for upstream and create a pull request to have it merged into the fedora-selinux policy. Prior to f41, using systemd-homed would create directories/files that would receive default labels. Merging the policy does not relabel these directories/files, thus needing a restorecon to fix label mismatches. New f41+ installs does not require restorecon modification because the directories/files where created with the proper labels because the policy was already implemented. @tulilirockz @RoepLuke , the systemd-homed policy was merged in f41, along with a new release of systemd which modified systemd-homed with Add bulk directory support to homed #30646 that didn't contain the addition to the policy. Fix systemd-homed blobs directory permissions was added to the policy to address these issues. @tulilirockz these issues should have been resolved, if so, please close this issue. If not, please post the current selinux denials so that we can resolve this issue. Ty |
Havent tested it on any other version, but
homectl create
doesn't seem to work on my current image. I am using Bluefin-dx:latest which is based on Fedora 41.system logs:
rpm -qa | grep selinux
:authselect current
:bootc status
: (if that is even useful)journalctl -b | audit2allow -m myerrors
:The text was updated successfully, but these errors were encountered: