Skip to content

Allow logwatch work with opensmtpd #2812

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

Open
wants to merge 1 commit into
base: rawhide
Choose a base branch
from

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Aug 3, 2025

The commit addresses the following AVC denial:
type=PATH msg=audit(02/14/2025 16:18:03.070:27334) : item=0 name=/var/run/smtpd.sock inode=5339 dev=00:1b mode=socket,666 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:sendmail_var_run_t:s0 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0 type=SYSCALL msg=audit(02/14/2025 16:18:03.070:27334) : arch=unknown-elf-type(x86_64) syscall=read success=no exit=EACCES a0=0x3 a1=0x7fff3f878790 a2=0x6e a3=0x55fc6e981790 items=1 ppid=264760 pid=264850 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=unknown(917) sgid=unknown(917) fsgid=unknown(917) tty=(none) ses=unset comm=sendmail exe=/usr/sbin/smtpctl subj=system_u:system_r:logwatch_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(02/14/2025 16:18:03.070:27334) : avc: denied { write } for pid=264850 comm=sendmail name=smtpd.sock dev="tmpfs" ino=5339 scontext=system_u:system_r:logwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sendmail_var_run_t:s0 tclass=sock_file permissive=0

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2342843

The commit addresses the following AVC denial:
type=PATH msg=audit(02/14/2025 16:18:03.070:27334) : item=0 name=/var/run/smtpd.sock inode=5339 dev=00:1b mode=socket,666 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:sendmail_var_run_t:s0 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0
type=SYSCALL msg=audit(02/14/2025 16:18:03.070:27334) : arch=unknown-elf-type(x86_64) syscall=read success=no exit=EACCES a0=0x3 a1=0x7fff3f878790 a2=0x6e a3=0x55fc6e981790 items=1 ppid=264760 pid=264850 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=unknown(917) sgid=unknown(917) fsgid=unknown(917) tty=(none) ses=unset comm=sendmail exe=/usr/sbin/smtpctl subj=system_u:system_r:logwatch_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(02/14/2025 16:18:03.070:27334) : avc:  denied  { write } for  pid=264850 comm=sendmail name=smtpd.sock dev="tmpfs" ino=5339 scontext=system_u:system_r:logwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sendmail_var_run_t:s0 tclass=sock_file permissive=0

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2342843
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