Bug 2254986

Summary: wsdd won't start unless /etc/defualt/wsdd exists
Product: [Fedora] Fedora Reporter: Laurent Jacquot <jk>
Component: wsddAssignee: Sam P <dagofthedofg>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 39CC: dagofthedofg, matt, oholy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: wsdd-0.8-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-19 02:46:09 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 Laurent Jacquot 2023-12-18 11:01:11 UTC
systemctl start wsdd fails with 'resource' error because /etc/default/wsdd does not exists

root@workstation#grep default /etc/systemd/system/multi-user.target.wants/wsdd.service
EnvironmentFile=/etc/default/wsdd

touch /etc/default/wsdd fixes it



Reproducible: Always

Comment 1 Laurent Jacquot 2023-12-18 13:58:34 UTC
another way to correct the problem is with the =- directive in /usr/lib/systemd/system/wsdd.service

changing EnvironmentFile=/etc/default/wsdd to EnvironmentFile=-/etc/default/wsdd

regards

Comment 2 Ondrej Holy 2024-02-20 13:31:08 UTC
The https://src.fedoraproject.org/rpms/wsdd/pull-request/2 request attempts to fix all the backward incompatible changes. Sam, can you please take a look at that?

Comment 3 Sam P 2024-02-25 22:56:06 UTC
Ondrej, thank you for the merge request. I will merge this, but long-term if we can swap the sed commands in the prep section to some patch files that might be a cleaner way to do things.

Comment 4 Matt Kinni 2024-04-19 08:45:09 UTC
Any update on this? Should the environment file instead point to the /etc/sysconfig/wsdd file that is shipped with the rpm, or is that only supposed to be used as an example?

Comment 5 Sam P 2024-04-19 12:58:32 UTC
Apologies for the delay, I will try to review this over the weekend and try to get an answer early next week.

Comment 6 Fedora Update System 2024-05-03 11:59:21 UTC
FEDORA-2024-a1a2fecd48 (wsdd-0.8-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a1a2fecd48

Comment 7 Fedora Update System 2024-05-04 03:17:56 UTC
FEDORA-2024-a1a2fecd48 has been pushed to the Fedora 39 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-a1a2fecd48`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a1a2fecd48

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

Comment 8 Fedora Update System 2024-05-19 02:46:09 UTC
FEDORA-2024-a1a2fecd48 (wsdd-0.8-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.