Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

  1. #11
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,719

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by heyjoe View Post
    What can I do in order to have proper unmounting?
    Reading through all of https://lists.opensuse.org/opensuse-.../msg00341.html (which is the same problem) it appears there is little you can do.

    I suppose you could forgo the splash screen and uninstall plymouth, but I concede that is not a very satisfactory solution.
    Regards, Paul

    2x Tumbleweed (Snapshot: 20210330) KDE Plasma 5
    2x Leap 15.2 KDE Plasma 5

  2. #12
    heyjoe NNTP User

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by tannington View Post
    Reading through all of https://lists.opensuse.org/opensuse-.../msg00341.html (which is the same problem) it appears there is little you can do.

    I suppose you could forgo the splash screen and uninstall plymouth, but I concede that is not a very satisfactory solution.
    I don't have the situation described there, i.e. plymouth is not trying to display splash screen on shutdown. In fact my grub command line parameters have always been:

    Code:
    video=2560x1440 resume=/dev/sdb2 splash=verbose quiet showopts nouveau.modeset=0 elevator=deadline
    and I also tried:

    Code:
    video=2560x1440 resume=/dev/sdb2 splash=verbose quiet showopts nouveau.modeset=0 elevator=deadline plymouth.enable=0
    but that changed nothing.

  3. #13
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,719

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by heyjoe View Post
    I don't have the situation described there, i.e. plymouth is not trying to display splash screen on shutdown. In fact my grub command line parameters have always been:
    Indeed... nonetheless from your error log it does look as if plymouthd is implicated in the failure to unmount cleanly.

    and I also tried:
    Code:
    video=2560x1440 resume=/dev/sdb2 splash=verbose quiet showopts nouveau.modeset=0 elevator=deadline plymouth.enable=0
    but that changed nothing.
    So, as you're not using plymouth, what happens if instead of disabling you do actually remove the plymouth packages?

    If it still occurs, then boot with the debug options and post the whole (rather than just extracts) of shutdown-log.txt
    Regards, Paul

    2x Tumbleweed (Snapshot: 20210330) KDE Plasma 5
    2x Leap 15.2 KDE Plasma 5

  4. #14
    heyjoe NNTP User

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by tannington View Post
    So, as you're not using plymouth, what happens if instead of disabling you do actually remove the plymouth packages?
    Searched for "plymouth" in yast and unistalled all found packages:

    Code:
    Deleting plymouth-dracut
    Deleting plymouth-plugin-label-ft
    Deleting plymouth-branding-openSUSE
    Deleting plymouth-scripts
    Deleting plymouth
    Additional rpm output:
    warning: /etc/plymouth/plymouthd.conf saved as /etc/plymouth/plymouthd.conf.rpmsave
    
    Deleting plymouth-plugin-script
    Deleting libply-splash-graphics4
    Deleting libply-splash-core4
    Deleting libply-boot-client4
    Deleting libply4
    If it still occurs, then boot with the debug options and post the whole (rather than just extracts) of shutdown-log.txt
    Right after uninstalling plymouth packages I added systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M to bootloader as explained on the link. Rebooted twice to make sure it has come into effect. The first time I didn't see any red notice during shutdown. The second time it was there again. The 2 logs I saved as shutdown-log-1.txt and shutdown-log-2.txt. Then I removed the added bootloader options.

    https://susepaste.org/4723773c

    I am reluctant to pasting the full text of shutdown-log.txt in a public forum for security and privacy reasons as it seems to reveal too much info about how the data is structured on this system, local usernames etc. Please let me know what in particular I should look for, so I can paste additionally only the relevant parts. Thanks.

  5. #15
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,905
    Blog Entries
    15

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Hi
    After you removed plymouth, did you add package locks, did you rebuild initrd?
    Code:
    zypper rm libply-boot-client4 libply-splash-core4 libply-splash-graphics4 libply4 plymouth  plymouth-branding-openSUSE plymouth-dracut  plymouth-plugin-label-ft plymouth-plugin-script plymouth-scripts
    
    zypper al libply-boot-client4 libply-splash-core4 libply-splash-graphics4 libply4 plymouth  plymouth-branding-openSUSE plymouth-dracut  plymouth-plugin-label-ft plymouth-plugin-script plymouth-scripts
    
    mkinitrd
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #16
    heyjoe NNTP User

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by malcolmlewis View Post
    Hi
    After you removed plymouth, did you add package locks,
    No. And I haven't run any updates either. Why is adding locks necessary?

    did you rebuild initrd?
    After reading your post - yes + rebooted twice. The red error messages still appear on shutdown. The only change is that on boot the number of text info messages which display are less. They used to be a whole screen and more, now only 1/3 of the screen.

  7. #17
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,905
    Blog Entries
    15

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by heyjoe View Post
    No. And I haven't run any updates either. Why is adding locks necessary?


    After reading your post - yes + rebooted twice. The red error messages still appear on shutdown. The only change is that on boot the number of text info messages which display are less. They used to be a whole screen and more, now only 1/3 of the screen.
    Hi
    Else plymouth will re-install the next time you update....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #18
    heyjoe NNTP User

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Else plymouth will re-install the next time you update....
    Are you sure? I just ran 'zypper ref' and 'zypper up' and it tells me "Nothing to do".

    In any case - the problem seems unrelated to plymouth, so I wonder what to do next. Any ideas?

  9. #19
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,719

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by heyjoe View Post
    The red error messages still appear on shutdown.
    Still for /var and /run ?

    Look at the very start of the shutdown-log (for the lsof output), any open files? (There didn't appear to be anything shown by https://susepaste.org/4723773c but we don't know if it includes the start of the log). As plymouth is now eliminated, journalctl files maybe?

    Then look through the remainder of the log for anything suspicious (using | grep -i mount | grep -iE "var|runtime" won't necessarily pick out the offending line). I'm sorry I can't tell you what to specifically look for. I also understand your reasons and hence reluctance to share the entire log.


    Also, you wrote in the initial post:
    This has been happening since I installed Leap 42.1 (currently I use 42.3).
    Could you clarify that: What version is it happening with? Was it a clean install or a (down?)grade? Or did you mean it has been happening all the time since 42.1 through 42.2 to 42.3 ???
    Regards, Paul

    2x Tumbleweed (Snapshot: 20210330) KDE Plasma 5
    2x Leap 15.2 KDE Plasma 5

  10. #20
    heyjoe NNTP User

    Default Re: Always getting 'Failed unmounting Runtime Directory' (and /var) during shutdown

    Quote Originally Posted by tannington View Post
    Still for /var and /run ?
    Yes.


    Look at the very start of the shutdown-log (for the lsof output), any open files? (There didn't appear to be anything shown by https://susepaste.org/4723773c but we don't know if it includes the start of the log).
    The first 20 lines of the latest log file:

    https://susepaste.org/71c124c1


    As plymouth is now eliminated, journalctl files maybe?
    Please explain.


    Then look through the remainder of the log for anything suspicious (using | grep -i mount | grep -iE "var|runtime" won't necessarily pick out the offending line). I'm sorry I can't tell you what to specifically look for. I also understand your reasons and hence reluctance to share the entire log.
    These are the last 40 lines of the log:

    https://susepaste.org/29aa84b3

    The message "Failed to unmount /var" appears during shutdown right before this message (I don't know why it is not in the log though):

    Code:
    [   31.245825] systemd-shutdown[1]: Unmounting /var.
    /var is sdb3
    Does that clarify anything?

    Could you clarify that: What version is it happening with? Was it a clean install or a (down?)grade? Or did you mean it has been happening all the time since 42.1 through 42.2 to 42.3 ???
    I am running Leap 42.3, upgraded from 42.2, upgraded from 42.1, upgraded from 13.2. IIRC it started happening after upgrading from 13.2 to Leap 42.1.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •