Bug#994981: /bin/systemctl: systemcdl edit doesn't work

Michael Biebl biebl at debian.org
Fri Sep 24 16:43:56 BST 2021


Control: tags -1 + moreinfo unreproducible

Am 24.09.21 um 12:05 schrieb Xavier Bestel:
> Package: systemd
> Version: 247.9-1
> Severity: normal
> File: /bin/systemctl
> 
> Dear Maintainer,
> 
> When I try to edit systemd's config:
> root at dev5:~# systemctl edit systemd-logind.service
> Editing "/etc/systemd/system/systemd-logind.service.d/override.conf" canceled: temporary file is empty.
> 
> (the systemd-logind.service.d/ folder doesn't exist)

When you run that command, you should get your EDITOR started with the 
following text


### Editing /etc/systemd/system/systemd-logind.service.d/override.conf
### Anything between here and the comment below will become the new 
contents of the file



### Lines below this comment will be discarded

### /lib/systemd/system/systemd-logind.service
...


If you do not actually make any changes, i.e. the file will be empty, it 
will be discarded. What kind of changes did you make betweenn the
###
###

###
lines?
Can you attach it to this bug report?

fwiw, this feature works fine here. Thus marking the bug report accordingly.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210924/083e26cb/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list