[Bug 1116055] New: Please convert SysV init scripts by xsp into native systemd services
http://bugzilla.suse.com/show_bug.cgi?id=1116055 Bug ID: 1116055 Summary: Please convert SysV init scripts by xsp into native systemd services Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Mono Assignee: bnc-team-mono@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. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1116055 Josef Möllers <josef.moellers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |josef.moellers@suse.com Assignee|bnc-team-mono@forge.provo.n |josef.moellers@suse.com |ovell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1116055 http://bugzilla.suse.com/show_bug.cgi?id=1116055#c1 --- Comment #1 from Josef Möllers <josef.moellers@suse.com> --- Created attachment 796940 --> http://bugzilla.suse.com/attachment.cgi?id=796940&action=edit systemd service file and overwrite settings I've started converting the init script, but haven't been able to complete for the following reasons: 1) I have no means of testing 2) I do not know where /usr/lib/mono/2.0/xsp2.exe comes from (in order to add a dependency) I have attached to files as far as I could do them: * xsp.service is the service file, it should go to /usr/lib/systemd/system * overwrite.conf sets the user and group, it should go to /etc/systemd/system/xsp.service.d/ (note that this directory does not yet exist). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1116055 http://bugzilla.suse.com/show_bug.cgi?id=1116055#c2 Josef Möllers <josef.moellers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|josef.moellers@suse.com |k0da@opensuse.org --- Comment #2 from Josef Möllers <josef.moellers@suse.com> --- Please have a look at the files and adapt them appropriately. Feel free to contact me if you have any questions. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1116055 http://bugzilla.suse.com/show_bug.cgi?id=1116055#c3 --- Comment #3 from Josef Möllers <josef.moellers@suse.com> --- See https://build.opensuse.org/request/show/681499 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1116055 http://bugzilla.suse.com/show_bug.cgi?id=1116055#c4 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #4 from Franck Bui <fbui@suse.com> --- Josef did the conversion and its work was accepted hence closing. Thanks Josef. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com