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

Michael Biebl biebl at debian.org
Mon Sep 27 09:39:27 BST 2021


I don't understand.
You added something to the file, but not between the comments?
Can you share a copy of this file / or at least a screenshot.

The comments (and the full copy of the original unit file) are actually 
there to make it easier when editing an override.
I'd like to better understand your comments regarding the bad 
ergonomics. How would you make it differently?

Am 27.09.21 um 10:16 schrieb Xavier Bestel:
> Ok, I didn't read the comments and just added the line I needed, and of
> course it didn't work.
> Sorry for the noise; the ergonomics aren't great but I should have
> known better.
> 
> 	Xav
> 
> Le vendredi 24 septembre 2021 à 17:43 +0200, Michael Biebl a écrit :
>> 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/20210927/80273b1a/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list