Bug 2254986 - wsdd won't start unless /etc/defualt/wsdd exists
Summary: wsdd won't start unless /etc/defualt/wsdd exists
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wsdd
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Sam P
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-18 11:01 UTC by Laurent Jacquot
Modified: 2024-05-19 02:46 UTC (History)
3 users (show)

Fixed In Version: wsdd-0.8-1.fc39
Clone Of:
Environment:
Last Closed: 2024-05-19 02:46:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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