Bug 2253415
| Summary: | Systemd unit file and defaults are incorrect and contain breaking changes | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Nick <nick> |
| Component: | wsdd | Assignee: | Sam P <dagofthedofg> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | dagofthedofg, oholy |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | wsdd-0.7.1-2.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-03 10:29:46 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
Nick
2023-12-07 09:19:00 UTC
Note that as this has now been released, if it gets fixed, it may be best if the ExecStart line in the service file now used both the $OPTIONS and $WSDD_PARAMS key words so any new installation also still works, in case the user has fixed the broken service file just by pointing it to /etc/sysconfig/wsdd. Thank you for reporting this Nick and apologies for the issues and the delays. I have pushed the following update for EPEL7 here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-ef66011582 to attempt to incorporate your suggested changes as well as merging Ondrej's tweaks to the best of my ability. Ondrej could you please review this update for any potential issues? I have set the update to require at least one positive karma before being deemed stable and disabled auto-promotion based on time so please feel free to add positive/negative karma based on your findings. Thank you. I am not aware of Ondrej's tweaks, but I've updated to your version on bhodi and it works in a compatible way with 0.7.0-1. Personally I would have dropped the WSDD_PARAMS from the /etc/sysconfig/wsdd file as it should not really have been there in the first place. The only people who will have it are those who did a fresh install of 0.7.1 or who never updated the file with a <= 0.7.0 installation. If neither of those groups of people have then changed their file, it will revert to the correct OPTIONS parameter only. This is just a personal preference. The most important thing is to leave both $OPTIONS and $WSDD_PARAMS in the service file. Then it will catch everyone. I'll give this good karma as it now gives a safe update and fixes broken systems. Sorry for the breaking changes. The epel7 update looks fine to me except for the fact that it seems redundant and confusing to have both $OPTIONS and $WSDD_PARAMS in the /etc/sysconfig/wsdd file. For other releases than epel7, I would perhaps suggest adding something like the following in the %prep section to fix the backward compatibility: sed -i "s/EnvironmentFile=\/etc\/default\/wsdd/EnvironmentFile=\/etc\/sysconfig\/wsdd/" etc/systemd/wsdd.service sed -i "s/$WSDD_PARAMS/$WSDD_PARAMS $OPTIONS/" etc/systemd/wsdd.service |