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 default
s6-rc-bundle: fatal: unable to take lock on /run/s6-rc/compiled: No such file or directory
(https://i.ibb.co/hYD91B2/20210716-141907.jpg) (https://ibb.co/hYD91B2)
I'm going to need some context here.
That 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?
Screenshot is my login page.
Which ISO are you using exactly? Judging from the error messages it appears to be an older one I think.
Iso is from 2021-04-25
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 (https://artixlinux.org/download.php) 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.
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.
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.
I can't login.
I can only invoke that command via chroot.
s6-rc: fatal: unable to take locks: No such file or directory
You should be able to switch to tty7 (ctrl+alt+f7). Are you saying it doesn't work?
Tried fresh install again.
Sbin/init does not exist, you are on your own.
If you do random things and ignore my questions, how am I supposed to help you?
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/288553
We fixed it by switching to tty2, logging in, and doing:
chown -R s6log:s6log /var/log/dmesg
chown -R s6log:s6log /var/log/udevd
For whatever reason those 2 directories are owned by root instead of by s6log.
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.
I am trying to figure out if it's my mistake, or if this is some issue. So I decied to reinstalled again. If it "random things", sorry, I thought that's best way to eliminate my mistake during install proces.
Thank you, I'll try fresh install and I hope for the best.
Restored backed up S-6 partition. So far, so good.
Same problem for me. s6-rc-bundle-update add default chrony yields
s6-rc-bundle-update: fatal: unable to take lock on /run/s6-rc/compiled: Permission denied even though i am root.