Bug 2412472 - %post scriptlet: failed
Summary: %post scriptlet: failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: audit
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Steve Grubb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-05 12:42 UTC by Petr Sklenar
Modified: 2026-01-27 17:52 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-01-27 17:52:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Sklenar 2025-11-05 12:42:12 UTC
update audit to version : audit-0:4.1.2-2.fc43.x86_64 

Reproducible: Always

Steps to Reproduce:
1.have f43 base install
2.dnf upgrade to version audit-0:4.1.2-2.fc43.x86_64 

Actual Results:
[297/805] Upgrading sudo-python-plugin- 100% |   5.5 MiB/s | 100.9 KiB |  00m00s
[298/805] Upgrading audit-0:4.1.2-2.fc4 100% |  11.2 KiB/s | 507.7 KiB |  00m45s
>>> Running %post scriptlet: audit-0:4.1.2-2.fc43.x86_64                        
>>> Finished %post scriptlet: audit-0:4.1.2-2.fc43.x86_64                       
>>> Scriptlet output:                                                           
>>> Warning: The unit file, source configuration file or drop-ins of auditd.serv
>>> Job for auditd.service failed because a timeout was exceeded.               
>>> See "systemctl status auditd.service" and "journalctl -xeu auditd.service" f
>>>                                                                             
[299/805] Upgrading samba-client-2:4.23 100% |  24.8 MiB/s |   2.5 MiB |  00m00s
[300/805] Installing kernel-0:6.17.7-30 100% |   5.5 KiB/s | 124.0   B |  00m00s
[301/805] Upgrading libvirt-daemon-0:11 100% |  17.1 MiB/s | 737.5 KiB |  00m00s
[302/805]

Expected Results:
no fail

Comment 1 Petr Sklenar 2025-11-05 12:44:27 UTC
after the update , auditd was running

systemctl status auditd shows no issues


journalctl
-- Boot 339e5c4d610f4336b6b2cdf16e2abd61 --
Nov 05 06:33:37 fedora systemd[1]: Starting auditd.service - Security Audit Logging Service...
Nov 05 06:33:37 fedora auditd[692]: No plugins found, not dispatching events
Nov 05 06:33:37 fedora auditd[692]: Init complete, auditd 4.1.1 listening for events (startup state enable)
Nov 05 06:33:37 fedora systemd[1]: Started auditd.service - Security Audit Logging Service.
Nov 05 06:38:07 fedora auditd[692]: The audit daemon is exiting.
Nov 05 06:38:07 fedora systemd[1]: auditd.service: Deactivated successfully.
Nov 05 06:38:07 fedora systemd[1]: Starting auditd.service - Security Audit Logging Service...
Nov 05 06:38:07 fedora auditd[6312]: No plugins found, not dispatching events
Nov 05 06:38:07 fedora auditd[6312]: Init complete, auditd 4.1.2 listening for events (startup state enable)
Nov 05 06:38:07 fedora systemd[1]: auditd.service: Can't open PID file '/run/auditd.pid' (yet?) after start: No such file or directory
Nov 05 06:38:52 fedora systemd[1]: auditd.service: start operation timed out. Terminating.
Nov 05 06:38:52 fedora auditd[6312]: The audit daemon is exiting.
Nov 05 06:38:52 fedora systemd[1]: auditd.service: Failed with result 'timeout'.
Nov 05 06:38:52 fedora systemd[1]: Failed to start auditd.service - Security Audit Logging Service.
Nov 05 06:38:52 fedora systemd[1]: auditd.service: Scheduled restart job, restart counter is at 1.
Nov 05 06:38:52 fedora systemd[1]: Starting auditd.service - Security Audit Logging Service...
Nov 05 06:38:52 fedora auditd[6450]: No plugins found, not dispatching events
Nov 05 06:38:52 fedora auditd[6450]: Init complete, auditd 4.1.2 listening for events (startup state enable)
Nov 05 06:38:52 fedora systemd[1]: auditd.service: Can't open PID file '/run/auditd.pid' (yet?) after start: No such file or directory
Nov 05 06:39:37 fedora systemd[1]: auditd.service: start operation timed out. Terminating.
Nov 05 06:39:37 fedora auditd[6450]: The audit daemon is exiting.
Nov 05 06:39:37 fedora systemd[1]: auditd.service: Failed with result 'timeout'.
Nov 05 06:39:37 fedora systemd[1]: Failed to start auditd.service - Security Audit Logging Service.
Nov 05 06:39:37 fedora systemd[1]: auditd.service: Scheduled restart job, restart counter is at 2.
Nov 05 06:39:37 fedora systemd[1]: Starting auditd.service - Security Audit Logging Service...
Nov 05 06:39:38 fedora auditd[9368]: No plugins found, not dispatching events
Nov 05 06:39:38 fedora auditd[9368]: Init complete, auditd 4.1.2 listening for events (startup state enable)
Nov 05 06:39:38 fedora systemd[1]: Started auditd.service - Security Audit Logging Service.

Comment 3 Steve Grubb 2025-11-05 16:16:44 UTC
It's because systemd was using the old units file which locates the pidfile in /run. Systemd loses track until new unit files are loaded.

Comment 4 Steve Grubb 2026-01-27 17:52:38 UTC
Going to close this out. At this point everyone made the jump to the new audit and the next release won't change the pid file location with respect to the current release which avoids the problem.


Note You need to log in before you can comment on or make changes to this bug.