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

SELinux is preventing sddm-helper from add_name access on the directory wayland-errors. #2575

Open
septatrix opened this issue Feb 14, 2025 · 0 comments

Comments

@septatrix
Copy link

SELinux is preventing sddm-helper from add_name access on the directory wayland-errors.

*****  Plugin catchall_boolean (89.3 confidence) suggests   ******************

If you want to allow polyinstantiation to enabled
Then you must tell SELinux about this by enabling the 'polyinstantiation_enabled' boolean.

Do
setsebool -P polyinstantiation_enabled 1

*****  Plugin catchall (11.6 confidence) suggests   **************************

If you believe that sddm-helper should be allowed add_name access on the wayland-errors directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'sddm-helper' --raw | audit2allow -M my-sddmhelper
# semodule -X 300 -i my-sddmhelper.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:home_root_t:s0
Target Objects                wayland-errors [ dir ]
Source                        sddm-helper
Source Path                   sddm-helper
Port                          <Unknown>
Host                          Framework-13-AMD
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.32-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.32-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     Framework-13-AMD
Platform                      Linux Framework-13-AMD 6.12.11-200.fc41.x86_64 #1
                              SMP PREEMPT_DYNAMIC Fri Jan 24 04:59:58 UTC 2025
                              x86_64
Alert Count                   58
First Seen                    2024-10-29 23:30:17 CET
Last Seen                     2025-02-12 19:10:00 CET
Local ID                      571ddf23-dbe1-4bd6-874a-41c38db49f25

Raw Audit Messages
type=AVC msg=audit(1739383800.862:181): avc:  denied  { add_name } for  pid=2571 comm="sddm-helper" name="wayland-errors" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:home_root_t:s0 tclass=dir permissive=0


Hash: sddm-helper,xdm_t,home_root_t,dir,add_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant