[Bug 1889786] Re: `netplan apply` leaves leftover directories under /tmp
Lukas Märdian
1889786 at bugs.launchpad.net
Wed Mar 16 15:25:48 UTC 2022
This should be fixed as of v0.104
(https://github.com/canonical/netplan/pull/259)
Please re-open if this is still an issue.
** Changed in: netplan.io (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1889786
Title:
`netplan apply` leaves leftover directories under /tmp
Status in netplan.io package in Ubuntu:
Fix Released
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1889786/+subscriptions
More information about the foundations-bugs
mailing list