Mailinglist Archive: yast-devel (62 mails)

< Previous Next >
Re: [yast-devel] systemd & installation


On 03/20/2014 03:38 PM, Lukas Ocilka wrote:
On 20.3.2014 15:31, Vladimir Moravec wrote:
So, does it mean we should change the Service.rb to use `service_start`
instead of `systemctl` during (first stage) installation? Is there a
`service_stop` command?

Vlado, would you have a look, please?

Yes, I will patch the Yast::Service module and I'm considering to add
this also into the Yast::SystemdService to have consistent API in
installation environment for both modules.

IIUC, there should be just one module to be changed and not two of them.
For historical reasons we maybe have Service and SystemdService, but if
we keep Service as "THE" API, then it probably just needs to call
SystemdService underneath (or vice versa?).

I agree, but currently they are not merged and their API is different.
Now it's easier to add support for inst-sys for both of them separatelly
than to share the implementation of SystemdService within Service.

Or if the need for starting a service in inst-sys is not that urgent, I
would add it later with changing the implementation of Service at once.

vlado
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups