Public bug reported:
Running 'netplan apply' leaves leftover directories under /tmp.
Steps to reproduce:
1) Create a container
$ lxc launch images:ubuntu/focal f-netplan
2) Run 'netplan apply'
$ lxc exec f-netplan netplan apply
$ lxc exec f-netplan netplan apply
3) Check for leftovers
$ lxc exec f-netplan -- ls -l /tmp | grep netplan
Step 3 should return nothing but it currently looks like that:
$ lxc exec f-netplan -- ls -l /tmp | grep netplan
drwx------ 2 root root 2 Jul 31 14:15 netplan_jisn27s4
drwx------ 2 root root 2 Jul 31 14:15 netplan_p3hnod6y
On desktop/graphical sessions, this causes some noise from gsd-housekeeping:
Jul 31 15:48:24 foo gsd-housekeepin[1606]: Failed to enumerate children of
/tmp/netplan_n_2cznjs: Error opening directory '/tmp/netplan_n_2cznjs':
Permission denied
This issue was observed on Bionic and Focal.
Additional information:
$ lxc exec f-netplan -- dpkg -l | grep netplan
ii libnetplan0:amd64 0.99-0ubuntu3~20.04.2 amd64 YAML
network configuration abstraction runtime library
ii netplan.io 0.99-0ubuntu3~20.04.2 amd64 YAML
network configuration abstraction for various backends
$ lxc exec f-netplan -- lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04
** Affects: netplan.io (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889786
Title:
`netplan apply` leaves leftover directories under /tmp
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1889786/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs