Fresh install S6 problem [SOLVED] 16 July 2021, 14:28:49 Hello and thank you in advance. I can't log into Artix s 6 XFCE. Chrooted, and I have problem s6-rc-bundle add NetworkManager defaults6-rc-bundle: fatal: unable to take lock on /run/s6-rc/compiled: No such file or directory Last Edit: 07 August 2021, 08:38:23 by RIA77
Re: Fresh install S6 problem Reply #2 – 16 July 2021, 15:00:40 I'm going to need some context here.Quote from: RIA77 – on 16 July 2021, 14:28:49Chrooted, and I have problem s6-rc-bundle add NetworkManager defaults6-rc-bundle: fatal: unable to take lock on /run/s6-rc/compiled: No such file or directoryThat won't work. Well the s6-rc-bundle command is incorrect (you probably want to use s6-rc-bundle-update add default NetworkManager), but more importantly you have to pass the -c since you are in a chrooted environment and s6-rc isn't actually running on that machine. See the Installation page on the wiki (specifically the network configuration) section that gives an example.As for your screenshot, that looks considerably more concerning. What's the context of this?
Re: Fresh install S6 problem Reply #4 – 16 July 2021, 15:23:15 Which ISO are you using exactly? Judging from the error messages it appears to be an older one I think.
Re: Fresh install S6 problem Reply #6 – 16 July 2021, 15:29:22 Okay that's probably good. I'm not sure what exactly is going on here, but it looks like for some reason s6-log is not allowed to write in /var/log/dmesg or /var/log/udevd. I don't know how that could happen or what exactly "Operation not permitted" means here. You could attempt to chroot into the partition and perform a full update if you want but it's probably easier to just try to reinstall from a newer ISO like the weekly iso on this page. 04-25 is kind of old and there's been a ton of changes since then so trying to debug that is not really helpful.
Re: Fresh install S6 problem Reply #7 – 16 July 2021, 15:34:15 Already tried with full update via chroot. There is no any changes. That's why I am here. System is updated with latest updates. Thank you. Last Edit: 16 July 2021, 15:45:30 by RIA77
Re: Fresh install S6 problem Reply #8 – 16 July 2021, 18:30:57 Oh okay, if you are on the latest s6-scripts, you should able to use the fallback getty on tty7 if you aren't aware already. If possible, could you list the output of all your active services on here (sudo s6-rc -a list)? It looks like only udevd and dmesg are failing for you but I'm curious to see if you have added any other services that also log.
Re: Fresh install S6 problem Reply #9 – 16 July 2021, 20:09:50 I can't login. I can only invoke that command via chroot.s6-rc: fatal: unable to take locks: No such file or directory
Re: Fresh install S6 problem Reply #10 – 16 July 2021, 20:34:45 You should be able to switch to tty7 (ctrl+alt+f7). Are you saying it doesn't work?
Re: Fresh install S6 problem Reply #11 – 17 July 2021, 12:37:50 Tried fresh install again.Sbin/init does not exist, you are on your own.
Re: Fresh install S6 problem Reply #12 – 17 July 2021, 16:45:11 If you do random things and ignore my questions, how am I supposed to help you? 2 Likes
Re: Fresh install S6 problem Reply #13 – 18 July 2021, 04:59:00 I thought it was an isolated incident, however we had another user in our telegram with that same problem as the screenshot:https://t.me/artixlinux/288553We fixed it by switching to tty2, logging in, and doing:Code: [Select]chown -R s6log:s6log /var/log/dmesgchown -R s6log:s6log /var/log/udevdFor whatever reason those 2 directories are owned by root instead of by s6log. 2 Likes
Re: Fresh install S6 problem Reply #14 – 18 July 2021, 05:43:03 That's very odd indeed. On a clean install, those directories should normally be created by the scripts with the s6log user:group permissions. I need to figure out how that could happen. Thanks for figuring that out. 1 Likes