Bug 2248817

Summary: Check of /var/lock/subsys/oddjobd will always fail
Product: [Fedora] Fedora Reporter: Sumit Bose <sbose>
Component: oddjobAssignee: Alexander Bokovoy <abokovoy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: abokovoy, nalin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: oddjob-0.34.7-13.fc41 oddjob-0.34.7-13.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-05 11:50:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sumit Bose 2023-11-09 08:00:22 UTC
The post-install script of oddjob-mkhomedir is checking if /var/lock/subsys/oddjobd to trigger a reload. But with systemd's oddjob.service /var/lock/subsys/oddjobd is never created and hence the reload is not send and oddjob-mkhomedir is not available after package installation.

I'm not sure what would be be proper systemd replacement for the check of /var/lock/subsys/oddjobd. Maybe the most easy fix would be to check for /run/oddjobd.pid?

Reproducible: Always

Comment 1 Aoife Moloney 2024-02-15 23:04:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Fedora Update System 2024-07-05 10:29:44 UTC
FEDORA-2024-a6fa7a69ac (oddjob-0.34.7-13.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a6fa7a69ac

Comment 3 Fedora Update System 2024-07-05 10:33:55 UTC
FEDORA-2024-b7fb7b6807 (oddjob-0.34.7-13.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b7fb7b6807

Comment 4 Fedora Update System 2024-07-05 11:50:27 UTC
FEDORA-2024-a6fa7a69ac (oddjob-0.34.7-13.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2024-07-06 02:25:56 UTC
FEDORA-2024-b7fb7b6807 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b7fb7b6807`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b7fb7b6807

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

Comment 6 Fedora Update System 2024-07-21 01:39:25 UTC
FEDORA-2024-b7fb7b6807 (oddjob-0.34.7-13.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.