Closed LeMerP closed 7 years ago
This issue is related to the development-1.x branch. master branch is working as expected.
This issue is related to the development-1.x branch
So I'd like to keep it open to don't accidentally release this bug with the next 1.x release :)
Thanks for reporting!
As I can see, there are systemd modules (i.e. Rex::Service::SuSE::systemd). It seems they just will not be used.
I think what we need to do:
Until then service_provider_for
can be used to override the automatic selection:
service_provider_for SuSE => 'systemd';
This might be a problem of the development-1.x branch solved by #1126 i have to create a suse leap test system
i just tested it, and indeed it was fixed with #1126
Since openSUSE Leap uses systemd instead of System V as service manager, a service does not need to be symlinked under /etc/rc.d anymore. Running 'service "foo" => "reload";' on such machine will often produce strange output like:
I would suggest to use the /usr/sbin/service %s command for operations like "start, restart, stop, reload, status" and /usr/bin/systemctl to manage service autostart.