| Summary: | The old SysV initscript should be packaged into subpackage when replaced with systemd one | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jóhann B. Guðmundsson <johannbg> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | iarlyy, jonathan, notting, plautrba, rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-18 15:14:06 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jóhann B. Guðmundsson
2011-04-18 14:33:05 UTC
... Don't have any of those here. Also, that's a REALLY BAD idea for making upgrades sane with respect to migrating service state. I'm surprised you think we should do this. If i'm not mistaken then users need to manually preserve service state. From https://fedoraproject.org/wiki/User:Toshio/Systemd_scriptlet_options # Save the current service runlevel info # User must manually run systemd-sysv-convert --apply httpd # to migrate them to systemd targets so what's the problem with updating with/usr/bin/systemd-sysv-convert --save $service and then remove the old sysv script and have it packed seperatly since, since end users must manually run systemd-sysv-convert --apply $service to migrate the service state? I'm not following your reasoning on why y Dam enter button I'm not following why your are so surpriced that I suggest we should do this. (In reply to comment #1) > ... Don't have any of those here. We have /etc/init.d/single which is provided by initscripts And we also have /lib/systemd/system/single.service Which is provided by systemd-units and gets picked up and used by systemd ( which is the reason I filed this bug in the first place ) So what's the plan here between you and Lennart? (In reply to comment #3) > If i'm not mistaken then users need to manually preserve service state. > > From https://fedoraproject.org/wiki/User:Toshio/Systemd_scriptlet_options Hadn't seen these guidelines yet - that alleviates it somewhat. https://fedorahosted.org/fpc/ticket/31#comment:37 is most of my reasoning - any time a SysV script moves from package A to package B, it greatly complicates the state tracking. Hence, unless you want to explicitly disavow keeping consistent state, it's best to keep it in the same package and deal with the consequences there. With respect to 'single', that's not a service that we support administrator overrides of in SysV, so it's less of a concern with state tracking. I'll move it to -legacy in any case - fixed in git commit b4bdede. |