Manjaro won't shutdown

My manjaro won’t shutdown, when I try to shutdown everything shuts down but it hangs on the black screen and I see this error: “rm: error while loading shared libraries: libcrypt.so.2: cannot open shared object file: Permission denied”

I tried reinstalling libxcrypt and I also tried reinstalling apparmor, to no avail.
I think the problem is related to apparmor

This is what I see when I try to shutdown. a black screen with the following text:

[ 9825.387409] watchdog: watchdog0: watchdog did not stop!
rm: error while loading shared libraries: libcrypt.so.2: cannot open shared object file: Permission denied
Unmounting all devices.
Detaching loop devices.
Disassembling stacked devices.
[ 9927.224688] kauditd_printk_skb: 35 callbacks suppressed

unlikely

Is your system up to date?
sudo pacman -Syu
… do not just adapt single packages - always update the whole system

1 Like

I did pacman -Syu

$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do

Is there a way to do an integrity check?

below a screenshot of the full error (don’t worry about the var unmounting, it was always like that. but the what is below the var notification is new and it causes the hanging):

Since I am not allowed to post photos, I post the text I see during shutdown, but is not logged anywhere I can find:

[ 9825.387409] watchdog: watchdog0: watchdog did not stop!
rm: error while loading shared libraries: libcrypt.so.2: cannot open shared object file: Permission denied
Unmounting all devices.
Detaching loop devices.
Disassembling stacked devices.
[ 9927.224688] kauditd_printk_skb: 35 callbacks suppressed

I have removed your screenshot. Please don’t post screeenshots in the future. See:

On my system I’ve disabled watchdog with a nowatchdog parameter in /etc/default/grub since this would sometimes take the system 90 seconds to shutdown.

It is something to try.