Description of problem: SELinux is preventing touch from 'write' accesses on the file /var/cache/ddclient/.esmtp_queue/zkZHQGJq/lock. ***** Plugin catchall (100. confidence) suggests ************************** Se ci credi touch dovrebbe essere consentito write accesso al lock file per impostazione predefinita. Then si dovrebbe riportare il problema come bug. E' possibile generare un modulo di politica locale per consentire questo accesso. Do consentire questo accesso per ora eseguendo: # ausearch -c 'touch' --raw | audit2allow -M my-$MODULE_NOME # semodule -X 300 -i miei-touch.pp Additional Information: Source Context system_u:system_r:system_mail_t:s0 Target Context system_u:object_r:ddclient_var_t:s0 Target Objects /var/cache/ddclient/.esmtp_queue/zkZHQGJq/lock [ file ] Source touch Source Path touch Port <Sconosciuto> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-39.2-1.fc39.noarch Local Policy RPM selinux-policy-targeted-39.2-1.fc39.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.5.12-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Nov 20 22:44:24 UTC 2023 x86_64 Alert Count 2 First Seen 2023-11-24 02:30:12 CET Last Seen 2023-11-24 05:20:29 CET Local ID cd1f3071-93e2-4aa3-8e8c-244b758b8c03 Raw Audit Messages type=AVC msg=audit(1700799629.564:2281): avc: denied { write } for pid=318092 comm="touch" path="/var/cache/ddclient/.esmtp_queue/zkZHQGJq/lock" dev="sde4" ino=19013949 scontext=system_u:system_r:system_mail_t:s0 tcontext=system_u:object_r:ddclient_var_t:s0 tclass=file permissive=1 Hash: touch,system_mail_t,ddclient_var_t,file,write Version-Release number of selected component: selinux-policy-targeted-39.2-1.fc39.noarch Additional info: reporter: libreport-2.17.11 reason: SELinux is preventing touch from 'write' accesses on the file /var/cache/ddclient/.esmtp_queue/zkZHQGJq/lock. package: selinux-policy-targeted-39.2-1.fc39.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.5.12-300.fc39.x86_64 component: selinux-policy
Created attachment 2001224 [details] File: description
Created attachment 2001225 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2247977 ***