[Fedora-packaging] Systemd scriptlet comments

Bill Nottingham notting at redhat.com
Tue Jul 26 18:59:52 UTC 2011


Not to be horribly glib, but...

Ville Skyttä (ville.skytta at iki.fi) said: 
> 3) pkg(sysv) -> pkg(systemd) + pkg-sysv(sysv) upgrade
> 
> Expected outcome: sysv init script and possible symlinks installed,
> bootup state saved, service loaded from systemd unit, restarted if it
> was running.

Don't do/support this.

> 4) pkg(sysv) + pkg-sysv(sysv) (init script co-ownership) ->
> pkg(systemd) upgrade
> 
> Expected outcome: pkg(systemd) and pkg-sysv(sysv) installed, sysv
> symlinks removed but init script in place, bootup state saved, service
> loaded from systemd unit, restarted if it was running.

REALLY don't do/support this. 

> 5) pkg(systemd) -> pkg(systemd) upgrade while local non-packaged sysv
> init script installed
> 
> Expected outcome: all sysv stuff intact, bootup state not saved, service
> loaded from systemd unit, restarted if it was running.

This should behave the same, scriptwise, as option #2.

> 7) pkg(systemd) initial install while local non-packaged sysv init
> script installed
> 
> Expected outcome: all sysv stuff intact, bootup state not saved, service
> loaded from systemd unit.

This should behave the same, scriptwise, as #6.

Bill


More information about the packaging mailing list