[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd.

Thierry Vignaud thierry.vignaud at gmail.com
Sun Apr 29 14:05:11 CEST 2012


On 29 April 2012 13:52,  <root at mageia.org> wrote:
> services: Use no-block mode for service start/stop under systemd.

Please use "(function_name)" instead of "services:"

eg: "(_run_action) use no-block mode for service start/stop under systemd"

This makes history clearer

> This is perhaps the same issue as the 'cpufreq' bug on first boot,
> but by changing things to use systemctl directly, I have inadvertantly
> bypased the solution and reintroduced the bug.
>
> As there is likely no reason to block, we will simply use no-block mode
> unconditionally. Longer term, we may need to decide under what context
> we are restarting/starting a given service (i.e. in an interactive GUI
> vs from a script) and use the appropriate mode with appropriate user
> feedback.

For the record:
- $::isInstall is set in the installer
- $::isStandalone is set in programs that load the standalone.pm module
  (aka: "use standalone;")
  eg: service_harddrake

> https://bugs.mageia.org/show_bug.cgi?id=4439

Also please use "mga#XXXX" instead of full URL.
Simpler, faster to read, and it's independent of any
URL change


More information about the Mageia-dev mailing list