Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Fresh install S6 problem [SOLVED] (Read 2696 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Fresh install S6 problem [SOLVED]

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

Re: Fresh install S6 problem

Reply #1

Re: Fresh install S6 problem

Reply #2
I'm going to need some context here.

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

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?

Re: Fresh install S6 problem

Reply #3
Screenshot is my login page.

Re: Fresh install S6 problem

Reply #4
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 #5
Iso is from 2021-04-25

Re: Fresh install S6 problem

Reply #6
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
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.

Re: Fresh install S6 problem

Reply #8
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
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
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
Tried fresh install again.
Sbin/init does not exist, you are on your own.

Re: Fresh install S6 problem

Reply #12
If you do random things and ignore my questions, how am I supposed to help you?

Re: Fresh install S6 problem

Reply #13
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:
Code: [Select]
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.
Chris Cromer

Re: Fresh install S6 problem

Reply #14
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.