Bug 1262329 - "systemctl edit some.service" is broken
Summary: "systemctl edit some.service" is broken
Keywords:
Status: CLOSED DUPLICATE of bug 1262328
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 22
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-11 12:28 UTC by klingt.net
Modified: 2015-09-11 14:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-11 14:09:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description klingt.net 2015-09-11 12:28:58 UTC
Description of problem:

Calling `systemctl edit some.service`, after upgrading systemd on my fedora-22 droplet to release `23.fc22`` will result in the following error message:

```
Failed to execute vim: Bad address
editor failed with error code 1.
```

`strace systemctl edit some.service | grep vim` gives the following hint:

```
ioctl(1, TCGETS, 0x7ffebaecd410)        = -1 ENOTTY (Inappropriate ioctl for device)
writev(2, [{"Cannot edit units if not on a tt"..., 33}, {"\n", 1}], 2Cannot edit units if not on a tty
) = 34
```

Version-Release number of selected component (if applicable):

23.fc22

How reproducible:

(replace `some.service` with an existing service name)

Steps to Reproduce:
1. systemctl edit some.service

Actual results:


Expected results:


Additional info:

`uname -a`: Linux klingt.net 4.1.6-200.fc22.x86_64 #1 SMP Mon Aug 17 19:54:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-09-11 14:09:15 UTC

*** This bug has been marked as a duplicate of bug 1262328 ***


Note You need to log in before you can comment on or make changes to this bug.