Bug 1116032 - Please convert SysV init scripts by pen into native systemd services
Please convert SysV init scripts by pen into native systemd services
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Network
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Joachim Werner
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2018-11-14 15:29 UTC by Franck Bui
Modified: 2019-06-03 09:19 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Franck Bui 2018-11-14 15:29:43 UTC
It would be great if the SysV init scrips shipped by this package could
be converted into systemd native services.

Indeed most packages shipped by openSUSE Factory switched to native
systemd unit files years ago and we plan to drop the obsolete/limited
SysV compat support in the future.

If this appears to be a big task, one quick way to solve it is to copy
and ship (as is) the .service unit wrappers generated automatically by
systemd-sysv-generator at boot. Indeed such wrappers are generated by
systemd in order to support SysV init scripts similarly to native

You can see the content of a wrapper unit with:

 $ systemctl cat <sysvinit-script>.service

As you could see the wrapper unit simply calls the SysV script, which
should be moved out of /etc/init.d, probably in a directory owned by
your package.

In all cases we would be glad to provide any help if needed in this

Thanks in advance.
Comment 1 Josef Möllers 2019-03-13 08:37:35 UTC
Comment 2 Josef Möllers 2019-06-03 09:19:25 UTC