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
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1809084

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

Status in systemd package in Ubuntu:
  New

Bug description:
  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.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to