cannot create transient scope: DBus error "org.freedesktop.systemd1.NoSuchUnit"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
I am running into an issue where I'm seeing the following messages:
internal error, please report: running "juju" failed: cannot create transient scope: DBus error "org.freedeskto
internal error, please report: running "kubectl" failed: cannot create transient scope: DBus error "org.freedeskto
When looking at journalctl --user the logs are:
Failed to start snap.juju.
snap.juju.
snap.juju.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
5.4.0-109-generic #123~18.04.1-Ubuntu
ii snapd 2.54.3+
Just a few moments ago, I experienced this same error when running `kubectl` as a regular user:
``` p.systemd1. NoSuchUnit" : [Unit snap.kubectl. kubectl. 0c38d3ea- 4559-4cc0- b754-055470be9a 1f.scope not found.]
$ kubectl get po -A
internal error, please report: running "kubectl" failed: cannot create transient scope: DBus error "org.freedeskto
```
I don't get this error when running the command as the privileged `root` user. I've rebooted the system to no avail. How do I resolve this error? Could it be that I have an ancient server??
```
Sys Info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
Snaps:
$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.58.3 14946 latest/stable canonical✓ core
core18 20230320 2721 latest/stable canonical✓ base
kubeadm 1.26.3 2980 latest/stable canonical✓ classic
kubectl 1.26.3 2914 latest/stable canonical✓ classic
```