Artix Linux Forum

Init systems => runit => Topic started by: mattz7 on 25 January 2020, 13:27:12

Title: system hangs at Unmounting filesystems
Post by: mattz7 on 25 January 2020, 13:27:12
Hi :)

My system hangs at Unmounting filesystems. It says it's busy and never shuts down the computer. I suspect this is because of an nfs entry in fstab. But this is only my suspicion since runit isn't verbose about it.
(https://i.ibb.co/9hvY6PY/IMG-20200125-131210.jpg) (https://ibb.co/9hvY6PY)(https://i.ibb.co/HYPQNbY/IMG-20200125-131222.jpg) (https://ibb.co/HYPQNbY)

/etc/fstab
Code: [Select]
server:/paccache      /var/cache/pacman/pkg/                     nfs   auto,user,nofail,rw,noatime,intr,soft                    0    0

When I press ctr+alt+del, runit tells me "signals only work in stage 2".
(https://i.ibb.co/J3X0jcs/IMG-20200124-235712.jpg) (https://ibb.co/J3X0jcs)

Does anyone know how to troubleshoot this problem? I've recently moved from openrc to runit, so I don't have a lot of experience using runit.
Title: Re: system hangs at Unmounting filesystems
Post by: ndowens on 25 January 2020, 16:39:23
I would comment out the nfs line in fstab to test that theory
Title: Re: system hangs at Unmounting filesystems
Post by: mattz7 on 25 January 2020, 16:50:31
Thanks for your reply.

I did replace the nfs line with a bind line. I use autofs so I figured I could re-mount the autofs location in a different folder and that would be fine.

Code: [Select]
/nfs/server/paccache     /var/cache/pacman/pkg/                     none   bind,user,nofail,rw                    0    0

Since I put the above line in place of the nfs line, I haven't had an issue with shutting down the system, so I guess the nfs line was really at fault. I'll give it some more time to test the issue,  though.
Title: Re: system hangs at Unmounting filesystems
Post by: mchand on 24 September 2023, 09:22:59
Do you know how to get the autofs service to run?