System stuck when shutdown

Share your ideas, questions or suggestions with us here.
hunghung
Posts: 64
Joined: Tue Sep 24, 2019 1:31 pm

System stuck when shutdown

Post by hunghung »

It's stuck at Saving dependencies cache... My keyboard was already turned off but other part of the system still on. It stucked for 30 mins so I decided to hit reset. I'm posting this from MX Linux, don't know if my GhostBSD installation would boot up properly after this incident or just broken :(
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: System stuck when shutdown

Post by ericbsd »

It should be fine, to boot back in.
hunghung
Posts: 64
Joined: Tue Sep 24, 2019 1:31 pm

Re: System stuck when shutdown

Post by hunghung »

ericbsd wrote: Sat Oct 19, 2019 9:01 am It should be fine, to boot back in.
Yes, it was fine. But with OpenRC shutdown is slower than plain FreeBSD and sometime unreliable as it just stucks at Saving dependencies cache... I don't know why it is but I still appreciate your works to modernize FreeBSD's init system :)
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: System stuck when shutdown

Post by ericbsd »

hunghung wrote: Mon Oct 28, 2019 2:39 pm
ericbsd wrote: Sat Oct 19, 2019 9:01 am It should be fine, to boot back in.
Yes, it was fine. But with OpenRC shutdown is slower than plain FreeBSD and sometime unreliable as it just stucks at Saving dependencies cache... I don't know why it is but I still appreciate your works to modernize FreeBSD's init system :)
I think caching was added to speed up the boot with OpenRC I would probably test the boot without caching to see how much of a difference that it makes.
hunghung
Posts: 64
Joined: Tue Sep 24, 2019 1:31 pm

Re: System stuck when shutdown

Post by hunghung »

ericbsd wrote: Mon Oct 28, 2019 3:21 pmI think caching was added to speed up the boot with OpenRC I would probably test the boot without caching to see how much of a difference that it makes.
Today it stucked again. I've to reset manually and it booted OK after that. Not a serious bug but it's annoying, though :)
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: System stuck when shutdown

Post by ericbsd »

You can try:

Code: Select all

rc-update delete savecache
that will remove save cache
hunghung
Posts: 64
Joined: Tue Sep 24, 2019 1:31 pm

Re: System stuck when shutdown

Post by hunghung »

ericbsd wrote: Mon Nov 04, 2019 12:59 pm You can try:

Code: Select all

rc-update delete savecache
that will remove save cache
What does it mean?

Code: Select all

 * rc-update: service `savecache' is not in the runlevel `default'
hunghung
Posts: 64
Joined: Tue Sep 24, 2019 1:31 pm

Re: System stuck when shutdown

Post by hunghung »

The command above didn't work. It's still started with Caching service dependencies... and stopped with Saving service dependencies...
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: System stuck when shutdown

Post by ericbsd »

Oh sorry I forgot the last part

Code: Select all

sudo rc-update delete savecache shutdown
hunghung
Posts: 64
Joined: Tue Sep 24, 2019 1:31 pm

Re: System stuck when shutdown

Post by hunghung »

ericbsd wrote: Tue Nov 05, 2019 8:05 am Oh sorry I forgot the last part

Code: Select all

sudo rc-update delete savecache shutdown
This command worked. But how to rollback it? :)
Post Reply