[New: openFATE 320260] YaST service manager doesn't handle Instantiated Services ("foo@.service")
Feature added by: Christian Boltz (cboltz) Feature #320260, revision 1 Title: YaST service manager doesn't handle Instantiated Services ("foo@.service") openSUSE Distribution: Unconfirmed Priority Requester: Mandatory Requested by: Christian Boltz (cboltz) Partner organization: openSUSE.org Description: YaST2 service manager can't handle "Instantiated Services", for example "openvpn@.service". Expected behaviour: If a user tries to enable or start such a service, - display an input box to get the parameter name - enable/start "openvpn@$userinput.service" See https://bugzilla.opensuse.org/show_bug.cgi?id=960298 (https://bugzilla.opensuse.org/show_bug.cgi?id=960298) for technical details. Arvin called this a "non-trivial feature request" in the bugreport, but I slightly doubt. In python-like pseudocode, it's something like def handle_enable_button(): servicename = servicelist.selected_service.name # assuming this does not include the ".service" suffix ### begin added code if servicename.endswith('@') param = get_user_input("Please enter the parameter to use") servicename = servicename + 'param' ### end added code shell_exec("systemctl enable " + servicename) -- openSUSE Feature: https://features.opensuse.org/320260
participants (1)
-
fate_noreply@suse.de