http://bugzilla.suse.com/show_bug.cgi?id=1116038
Bug ID: 1116038 Summary: Please convert SysV init scripts by smbtad into native systemd services Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba Assignee: samba-maintainers@SuSE.de Reporter: fbui@suse.com QA Contact: samba-maintainers@SuSE.de Found By: --- Blocker: ---
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 units.
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 task.
Thanks in advance.
http://bugzilla.suse.com/show_bug.cgi?id=1116038
Franck Bui fbui@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|samba-maintainers@SuSE.de |hhetter@suse.com
http://bugzilla.suse.com/show_bug.cgi?id=1116038 http://bugzilla.suse.com/show_bug.cgi?id=1116038#c1
Josef Möllers josef.moellers@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |josef.moellers@suse.com
--- Comment #1 from Josef Möllers josef.moellers@suse.com --- See https://build.opensuse.org/request/show/686396
http://bugzilla.suse.com/show_bug.cgi?id=1116038 http://bugzilla.suse.com/show_bug.cgi?id=1116038#c2
Josef Möllers josef.moellers@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Josef Möllers josef.moellers@suse.com --- SR was accepted, so closing.