Public bug reported:

On Ubuntu version

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04

and systemd package Version: 229-4ubuntu21.10

When the --full argument is used with systemctl edit a confirm prompt of

...some.service" already exists. Overwrite with "..."? [(y)es, (n)o]

is issued. Since the systemctl edit command won't function w/o a unit
file in place the message tells the user something they already know.
There appears to be no way to bypass this message, so it makes running
systemctl edit from a script more difficult.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1809084

Title:
  Confirm prompt for systemctl --full edit is redundant and interferes
  with scripting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1809084/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to