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

Allow iio-sensor-proxy connect to syslog over a unix stream socket #2537

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Jan 27, 2025

The commit addresses the following AVC denial:
type=AVC msg=audit(1733659266.934:144): avc: denied { search } for pid=974 comm="iio-sensor-prox" name="journal" dev="tmpfs" ino=46 scontext=system_u:system_r:iiosensorproxy_t:s0 tcontext=system_u:object_r:syslogd_var_run_t:s0 tclass=dir permissive=0 type=SYSCALL msg=audit(1733659266.934:144): arch=x86_64 syscall=sendmsg success=no exit=EACCES a0=9 a1=7ffc118c5010 a2=4000 a3=60 items=0 ppid=1 pid=974 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=iio-sensor-prox exe=/usr/libexec/iio-sensor-proxy subj=system_u:system_r:iiosensorproxy_t:s0 key=(null)

Resolves: rhbz#2331002

The commit addresses the following AVC denial:
type=AVC msg=audit(1733659266.934:144): avc:  denied  { search } for  pid=974 comm="iio-sensor-prox" name="journal" dev="tmpfs" ino=46 scontext=system_u:system_r:iiosensorproxy_t:s0 tcontext=system_u:object_r:syslogd_var_run_t:s0 tclass=dir permissive=0
type=SYSCALL msg=audit(1733659266.934:144): arch=x86_64 syscall=sendmsg success=no exit=EACCES a0=9 a1=7ffc118c5010 a2=4000 a3=60 items=0 ppid=1 pid=974 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=iio-sensor-prox exe=/usr/libexec/iio-sensor-proxy subj=system_u:system_r:iiosensorproxy_t:s0 key=(null)

Resolves: rhbz#2331002
@zpytela zpytela merged commit e7b4fd3 into fedora-selinux:rawhide Jan 27, 2025
3 of 4 checks passed
@zpytela zpytela deleted the iiosensor-syslog branch January 27, 2025 16:01
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

Successfully merging this pull request may close these issues.

1 participant