http://bugzilla.suse.com/show_bug.cgi?id=1116030
Bug ID: 1116030 Summary: Please convert SysV init scripts by pdnsd into native systemd services Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: fbui@suse.com QA Contact: qa-bugs@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=1116030
Franck Bui fbui@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dap.darkness@gmail.com Assignee|bnc-team-screening@forge.pr |meissner@suse.com |ovo.novell.com |
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c1
Marcus Meissner meissner@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fbui@suse.com Flags| |needinfo?(fbui@suse.com)
--- Comment #1 from Marcus Meissner meissner@suse.com --- and why is this assigned to me? ;)
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c2
Franck Bui fbui@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(fbui@suse.com) |
--- Comment #2 from Franck Bui fbui@suse.com --- Because you did the last main changes to the package according to the changelogs file:
---- Wed Jul 23 15:54:16 UTC 2014 - meissner@suse.com
- make init script executable, fix build ----
But admittedly this was done a few years ago ;)
Can you suggest another candidate ?
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c3
Dmitriy Perlow dap.darkness@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED Assignee|meissner@suse.com |dap.darkness@gmail.com
--- Comment #3 from Dmitriy Perlow dap.darkness@gmail.com --- Let it be..
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c4
--- Comment #4 from Franck Bui fbui@suse.com --- Any update ? Thanks.
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c5
Josef Möllers josef.moellers@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |josef.moellers@suse.com Flags| |needinfo?(dap.darkness@gmai | |l.com)
--- Comment #5 from Josef Möllers josef.moellers@suse.com --- Ping Dimitri. Any progress?
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c6
--- Comment #6 from Josef Möllers josef.moellers@suse.com --- (In reply to Josef Möllers from comment #5)
Ping Dimitri.
I'm sorry Dmitriy, I had a knot in my brain.
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c7
--- Comment #7 from Dmitriy Perlow dap.darkness@gmail.com --- Afai see it is should not be a rocket science. However I had not have a time for a half of a year. I've just asked for a help at openSUSE Factory mailing list unless I will have to make a delete request from Factory.
http://bugzilla.suse.com/show_bug.cgi?id=1116030
Jan Engelhardt jengelh@inai.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@inai.de Assignee|dap.darkness@gmail.com |jengelh@inai.de
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c8
Jan Engelhardt jengelh@inai.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(dap.darkness@gmai | |l.com) |
--- Comment #8 from Jan Engelhardt jengelh@inai.de --- created request id 705872 created request id 705872
http://bugzilla.suse.com/show_bug.cgi?id=1116030
Jan Engelhardt jengelh@inai.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS
http://bugzilla.suse.com/show_bug.cgi?id=1116030 http://bugzilla.suse.com/show_bug.cgi?id=1116030#c9
Josef Möllers josef.moellers@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Josef Möllers josef.moellers@suse.com --- Closed as per comment #8