You are not logged in.

#1 2018-08-26 03:20:18

Toolybird
Member
Registered: 2017-09-30
Posts: 72

systemd-nspawn containers - error on shutdown

Appears to have started a few weeks ago. Only just noticed it - seems harmless, but it sometimes delays the container shutdown:

[FAILED] Failed unmounting Temporary Directory (/tmp).

I'm suspecting the glibc upgrade (2.27 -> 2.28)

Anyone else can reproduce? Any tips on how to debug?

It's as simple as :

# pacstrap -i -c /path/to/container base --ignore linux
# systemd-nspawn -b -D /path/to/container
# poweroff

Last edited by Toolybird (2018-08-26 03:38:13)

Offline

#2 2018-10-15 21:42:50

sjensen
Member
From: Germany
Registered: 2018-08-08
Posts: 31

Re: systemd-nspawn containers - error on shutdown

I can reproduce it. I have it every time a container shuts down and also with every container.

From within a container:

$ sudo LANG=C umount /tmp
umount: /tmp: target is busy.
$ fuser -cu /tmp
$
$ LANG=C fuser -cu /tmp
$
$ LANG=C lsof /tmp
$

I have no clue...

Offline

Board footer

Powered by FluxBB