[Bug 2024406] Re: sudo systemctl edit snapd.service fails to save changes
Tim Richardson
2024406 at bugs.launchpad.net
Tue Jun 20 04:43:34 UTC 2023
Sorry, I can not reproduce this bug. When I try again after a reboot it
works.
** Changed in: systemd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2024406
Title:
sudo systemctl edit snapd.service fails to save changes
Status in systemd package in Ubuntu:
Invalid
Bug description:
IN 22.04 this command
sudo systemctl edit snapd.service
opens the default editor.
Upon exiting, changes are saved
In 23.04, exiting gives this error:
Editing "/etc/systemd/system/snapd.service.d/override.conf" canceled:
temporary file is empty.
and changes are not saved.
This happens with nano as the default editor, and vim.tiny as the default editor.
Explicitly saving changes makes no difference to the problem.
I can't find any help resources about this problem.
by using
systemctl show -p FragmentPath snapd.service
I can find the file and edit it manually, as a workaround.
'
tim at vm1:/etc/systemd/system$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04
tim at vm1:/etc/systemd/system$ apt-cache policy systemd
systemd:
Installed: 252.5-2ubuntu3
Candidate: 252.5-2ubuntu3
Version table:
*** 252.5-2ubuntu3 500
500 http://au.archive.ubuntu.com/ubuntu lunar/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: systemd 252.5-2ubuntu3
ProcVersionSignature: Ubuntu 6.2.0-23.23-generic 6.2.12
Uname: Linux 6.2.0-23-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 20 08:10:15 2023
InstallationDate: Installed on 2023-05-17 (33 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-23-generic root=UUID=c274e419-27dd-47f1-96e5-6fdb35f886ad ro quiet splash vt.handoff=7
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/06/2015
dmi.bios.release: 0.0
dmi.bios.vendor: EFI Development Kit II / OVMF
dmi.bios.version: 0.0.0
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-6.2
dmi.modalias: dmi:bvnEFIDevelopmentKitII/OVMF:bvr0.0.0:bd02/06/2015:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-6.2:cvnQEMU:ct1:cvrpc-q35-6.2:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-6.2
dmi.sys.vendor: QEMU
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2024406/+subscriptions
More information about the foundations-bugs
mailing list