http://bugzilla.suse.com/show_bug.cgi?id=1116034
Bug ID: 1116034 Summary: Please convert SysV init scripts by safte-monitor into native systemd services Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem 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=1116034
Franck Bui fbui@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |hare@suse.com |ovo.novell.com |
https://bugzilla.suse.com/show_bug.cgi?id=1116034
Hannes Reinecke hare@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|hare@suse.com |martin.wilck@suse.com
https://bugzilla.suse.com/show_bug.cgi?id=1116034 https://bugzilla.suse.com/show_bug.cgi?id=1116034#c2
Martin Wilck martin.wilck@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |hare@suse.com Flags| |needinfo?(hare@suse.com)
--- Comment #2 from Martin Wilck martin.wilck@suse.com --- This project seems to be dead. The URL yields a HTTP 404 error. I found a 6-y-old mirror on Github:
https://github.com/andrewbasterfield/safte-monitor
We don't ship it for Factory. The latest package for Leap is in openSUSE:Backports:SLE-15-SP2.
Do we still need to carry this apparently unmaintained package?
https://bugzilla.suse.com/show_bug.cgi?id=1116034 https://bugzilla.suse.com/show_bug.cgi?id=1116034#c3
--- Comment #3 from Martin Wilck martin.wilck@suse.com --- Well, I invested some (probably too much) time into polishing this package and created sr#1033144 for Base:System.
Re-iterating the status:
- last upstream release (1.0.0rc1) was 2005 - upstream web site http://oss.metaparadigm.com/safte-monitor disappeared; last archived by wayback machine in Sept. 2017 - GH mirror https://github.com/andrewbasterfield/safte-monitor, 1.0.0rc1 + a few patches
The package includes a web server and listens on a port (8123 by default). So it should be audited in some way I suppose. No upstream support will be available.
@Hannes, do we have hardware (enclosures supporting SAF-TE) to test this?