Bug 2391493

Summary: post-install script refers to dbus-daemon
Product: [Fedora] Fedora Reporter: Ian Collier <imc>
Component: oddjobAssignee: Alexander Bokovoy <abokovoy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 42CC: abokovoy, nalin
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: oddjob-0.34.7-17.fc44 oddjob-0.34.7-17.fc43 oddjob-0.34.7-16.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-07 00:17:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Collier 2025-08-28 15:17:13 UTC
Description of problem:
Installing oddjob tries to HUP a process called dbus-daemon and this is incorrect and unnecessary and might result in an error message.

Version-Release number of selected component (if applicable):
oddjob-0.34.7-15.fc42.x86_64

How reproducible:
reliable

Steps to Reproduce:
1. Install Fedora server in text mode
2. dnf install oddjob

Actual results:
>>> Running %post scriptlet: oddjob-0:0.34.7-15.fc42.x86_64
>>> Finished %post scriptlet: oddjob-0:0.34.7-15.fc42.x86_64
>>> Scriptlet output:
>>> dbus-daemon: no process found

Expected results:
No error message

Additional info:
This happens because the script refers to the process "dbus-daemon"; but dbus-broker and not dbus-daemon is the default dbus server on Fedora.  In fact it's not necessary to HUP the daemon at all because it auto-loads changed files.  Note that if GDM is running then it will have a dbus-daemon process and so that will be (needlessly) told to reload and there is no error message in that case.

Moreover, the line in the script that does this:
   killall -HUP dbus-daemon 2>&1 > /dev/null
has the redirects in the wrong order so it doesn't suppress error output.

Comment 1 Fedora Update System 2025-09-23 08:09:41 UTC
FEDORA-2025-d2fd807a0b (oddjob-0.34.7-17.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d2fd807a0b

Comment 2 Fedora Update System 2025-09-23 08:19:18 UTC
FEDORA-2025-1f47aeaa50 (oddjob-0.34.7-17.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-1f47aeaa50

Comment 3 Fedora Update System 2025-09-23 08:19:56 UTC
FEDORA-2025-f94220b7d9 (oddjob-0.34.7-16.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f94220b7d9

Comment 4 Fedora Update System 2025-09-23 09:20:23 UTC
FEDORA-2025-d2fd807a0b (oddjob-0.34.7-17.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2025-09-24 15:51:38 UTC
FEDORA-2025-1f47aeaa50 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-1f47aeaa50`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-1f47aeaa50

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-09-24 16:33:11 UTC
FEDORA-2025-f94220b7d9 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f94220b7d9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f94220b7d9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-10-07 00:17:26 UTC
FEDORA-2025-1f47aeaa50 (oddjob-0.34.7-17.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-10-07 00:54:42 UTC
FEDORA-2025-f94220b7d9 (oddjob-0.34.7-16.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.