On 28.11.2014 10:32, Johannes Meixner wrote:
On Nov 26 18:16 Lukas Ocilka additionally wrote (excerpt):
Whenever we can't decide what is the correct decision, we have to ask user.
Only all those together makes sense from my point of view:
Have a simple [Apply] button but when the service does not support a really safe "reload" method (i.e. that neither makes the service temporaryly unavailability nor resets existing connections), then ask the user for confirmation if he wants to disrupt the currently running service to apply the new settings right now.
That's a good point but it's actually something completely different. It's a different use case, e.g., something like Samba service to which clients might be connected "right now" and copying files. If we talk about DNS, DHCP or NTP Server, then nobody cares.
As far as I understand it this means the `apply_settings` method whould have to be able to ask the user if needed.
If there is a risk, those Yast modules already ask the admin whether to restart that service or skip it. Bye Lukas -- Lukas Ocilka, Systems Management (Yast) Team Leader Cloud & Systems Management Department, SUSE Linux -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org