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 samba-bgqd read cups config files #2442

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Nov 20, 2024

The commit addresses the following AVC denial:
type=PROCTITLE msg=audit(11/20/2024 01:53:25.982:911) : proctitle=/usr/libexec/samba/samba-bgqd --foreground --no-process-group type=PATH msg=audit(11/20/2024 01:53:25.982:911) : item=0 name=/etc/cups/client.conf nametype=UNKNOWN cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0 type=SYSCALL msg=audit(11/20/2024 01:53:25.982:911) : arch=x86_64 syscall=openat success=no exit=ENOENT(No such file or directory) a0=AT_FDCWD a1=0x7ffc519178b0 a2=O_RDONLY a3=0x0 items=1 ppid=10091 pid=10093 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=samba-bgqd exe=/usr/libexec/samba/samba-bgqd subj=system_u:system_r:samba_bgqd_t:s0 key=(null) type=AVC msg=audit(11/20/2024 01:53:25.982:911) : avc: denied { search } for pid=10093 comm=samba-bgqd name=cups dev="vda2" ino=262662 scontext=system_u:system_r:samba_bgqd_t:s0 tcontext=system_u:object_r:cupsd_etc_t:s0 tclass=dir permissive=1

The commit addresses the following AVC denial:
type=PROCTITLE msg=audit(11/20/2024 01:53:25.982:911) : proctitle=/usr/libexec/samba/samba-bgqd --foreground --no-process-group
type=PATH msg=audit(11/20/2024 01:53:25.982:911) : item=0 name=/etc/cups/client.conf nametype=UNKNOWN cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0
type=SYSCALL msg=audit(11/20/2024 01:53:25.982:911) : arch=x86_64 syscall=openat success=no exit=ENOENT(No such file or directory) a0=AT_FDCWD a1=0x7ffc519178b0 a2=O_RDONLY a3=0x0 items=1 ppid=10091 pid=10093 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=samba-bgqd exe=/usr/libexec/samba/samba-bgqd subj=system_u:system_r:samba_bgqd_t:s0 key=(null)
type=AVC msg=audit(11/20/2024 01:53:25.982:911) : avc:  denied  { search } for  pid=10093 comm=samba-bgqd name=cups dev="vda2" ino=262662 scontext=system_u:system_r:samba_bgqd_t:s0 tcontext=system_u:object_r:cupsd_etc_t:s0 tclass=dir permissive=1
@zpytela zpytela merged commit 07ad942 into fedora-selinux:rawhide Nov 22, 2024
4 checks passed
@zpytela zpytela deleted the sambabgqd-cupsd branch November 22, 2024 13:29
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