Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2041585

Summary: dbus-daemon: no process found
Product: Red Hat Enterprise Linux 9 Reporter: Jiri Jaburek <jjaburek>
Component: oddjobAssignee: Alexander Bokovoy <abokovoy>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: myusuf, rcritten, ssidhaye
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: oddjob-0.34.7-5.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:56:56 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 Jiri Jaburek 2022-01-17 18:29:30 UTC
Description of problem:

The oddjob RPMs (both oddjob and oddjob-mkhomedir) print the following when being installed:

  dbus-daemon: no process found

This is caused by

postinstall scriptlet (using /bin/sh):
if test $1 -eq 1 ; then
        killall -HUP dbus-daemon 2>&1 > /dev/null
fi

which contains bad redirect - it tells bash to first redirect stderr to where stdout is now, and independently redirect stdout to /dev/null, leaving the killall's stderr on the original console stdout.

The correct redirect is:

killall -HUP dbus-daemon >/dev/null 2>&1


Version-Release number of selected component (if applicable):
oddjob-0.34.7-4.el9

Comment 7 Mohammad Rizwan 2022-02-10 10:59:23 UTC
[root@master ~]# dnf install oddjob
Last metadata expiration check: 0:04:48 ago on Thu 10 Feb 2022 05:52:39 AM EST.
Package oddjob-0.34.7-4.el9.x86_64 is already installed.
Dependencies resolved.
===============================================================================================================================
 Package                           Architecture            Version                       Repository                       Size
===============================================================================================================================
Upgrading:
 oddjob                            x86_64                  0.34.7-5.el9                  rhel-AppStream                   73 k
 oddjob-mkhomedir                  x86_64                  0.34.7-5.el9                  rhel-AppStream                   31 k

Transaction Summary
===============================================================================================================================
Upgrade  2 Packages

Total download size: 104 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): oddjob-0.34.7-5.el9.x86_64.rpm                                                          1.8 MB/s |  73 kB     00:00    
(2/2): oddjob-mkhomedir-0.34.7-5.el9.x86_64.rpm                                                695 kB/s |  31 kB     00:00    
-------------------------------------------------------------------------------------------------------------------------------
Total                                                                                          2.2 MB/s | 104 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                       1/1 
  Upgrading        : oddjob-0.34.7-5.el9.x86_64                                                                            1/4 
  Running scriptlet: oddjob-0.34.7-5.el9.x86_64                                                                            1/4 
  Upgrading        : oddjob-mkhomedir-0.34.7-5.el9.x86_64                                                                  2/4 
  Running scriptlet: oddjob-mkhomedir-0.34.7-5.el9.x86_64                                                                  2/4 
  Cleanup          : oddjob-mkhomedir-0.34.7-4.el9.x86_64                                                                  3/4 
  Running scriptlet: oddjob-0.34.7-4.el9.x86_64                                                                            4/4 
  Cleanup          : oddjob-0.34.7-4.el9.x86_64                                                                            4/4 
  Running scriptlet: oddjob-0.34.7-4.el9.x86_64                                                                            4/4 
  Verifying        : oddjob-0.34.7-5.el9.x86_64                                                                            1/4 
  Verifying        : oddjob-0.34.7-4.el9.x86_64                                                                            2/4 
  Verifying        : oddjob-mkhomedir-0.34.7-5.el9.x86_64                                                                  3/4 
  Verifying        : oddjob-mkhomedir-0.34.7-4.el9.x86_64                                                                  4/4 

Upgraded:
  oddjob-0.34.7-5.el9.x86_64                                oddjob-mkhomedir-0.34.7-5.el9.x86_64                               

Complete!

No error installing the oddjob package. ipa-server-install is also successful. Hence marking the bug as verified.

Comment 9 errata-xmlrpc 2022-05-17 13:56:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: oddjob), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2622