Mailinglist Archive: opensuse-factory (498 mails)

< Previous Next >
Re: [opensuse-factory] Re: systemd[1]: Failed unmounting Runtime Directory.
  • From: jcsl <trcs@xxxxxxx>
  • Date: Sun, 22 May 2016 14:59:55 +0200
  • Message-id: <1724970.soy8Q1b7Jb@phenom>
El domingo, 22 de mayo de 2016 14:38:05 (CEST) Yamaban escribió:
On Sun, 22 May 2016 14:29, Andrei Borzenkov wrote:
22.05.2016 11:58, jcsl пишет:
El sábado, 21 de mayo de 2016 18:25:08 (CEST) Cristian Rodríguez
escribió:
On Sat, May 21, 2016 at 5:08 PM, jcsl wrote:
How do I get what is keeping /run busy?

Boot with

systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M

create /usr/lib/systemd/system-shutdown/debug.sh and make it
executable with the following content

#!/bin/sh
mount -o remount,rw /
lsof /run > /shutdown-log.txt
dmesg >> /shutdown-log.txt
mount -o remount,ro /


Reboot the system

send /shutdown-log.txt back for analysis.

Thanks for the detailed instructions. I have attached the shutdown log of
my desktop and my netbook.

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
plymouthd 1967 root mem REG 0,19 217032 16798 /var/run/nscd/group


plymouthd is started to display splash screen during shutdown

[ 198.372560] systemd[1]: Starting Show Plymouth Reboot Screen...
[ 198.373926] systemd[1]: rc-local.service: Changed exited -> dead
[ 198.374221] systemd[1959]: plymouth-reboot.service: Executing:
/usr/sbin/plymouthd --mode=shutdown --attach-to-session

As long as this is the only one left it should be OK. It is not clean,
but fixing it will probably require much more efforts than it is worth.

The correct way would be shutting down nscd BEFORE plymouthd is started
for shutdown-splash.

IMHO adding the following line to plymouth-reboot.service should end this.
[code]
ExecStartPre=/usr/bin/systemctl stop nscd.service
[/code]

- Yamaban.

By adding that line to the file the output of lsof is empty but the "Failed
unmounting Runtime Directory" message remains. In addition, isn't the runtime
dir /run/user/<uid>? The output of lsof was /var/run/nscd/group...

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >