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

Colin Guthrie mageia at colin.guthr.ie
Sun Apr 29 14:20:44 CEST 2012


'Twas brillig, and Thierry Vignaud at 29/04/12 13:05 did gyre and gimble:
> 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

No worries.

>> 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


OK, so using $::isStandalone could work here.

>> 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

I tend to (try to) use mga# format in package changelogs, but full urls
in svn/git commits for easy clicking. But really, keyword bookmarks
should make shortened versions almost as useful.

It would be quite nice if my shell detected "keywords" replacements like
it does URLs... so it could detect mga#123, fdo#123, rhbz#123 bgo#123,
bko#123, lp#123 style formats and allowed you to "Open URL" on those too
:D Might have to look at that at some point as it would certainly have
geek kudos :)

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list