Re: [Tracker] s6 support Reply #30 – 24 March 2020, 15:14:39 Quote from: Dudemanguy – on 24 March 2020, 13:45:06That sort of defeats the purpose of process supervision though. Not sure how it would fix it though? Wouldn't the mount still fail.I just thought this flag is already used in s6
Re: [Tracker] s6 support Reply #31 – 27 March 2020, 12:09:02 I kind of gave up on this and just added this oneshot service that mount-net depends on instead of dhcpcd:while true; do routes=$(ip route show) if [[ -n "${routes}" ]]; then break fi sleep 1doneNo, I'm not proud
Re: [Tracker] s6 support Reply #32 – 27 March 2020, 16:08:13 Quote from: dnkl – on 27 March 2020, 12:09:02I kind of gave up on this and just added this oneshot service that mount-net depends on instead of dhcpcd:while true; do routes=$(ip route show) if [[ -n "${routes}" ]]; then break fi sleep 1doneNo, I'm not proud At least it works! I briefly tried some things like writing the wpa_supplicant -P option directly to /dev/fd/3, but it didn't seem to work (as in the service didn't even start) for some reason. Maybe I did something wrong though.
Re: [Tracker] s6 support Reply #33 – 09 April 2020, 02:43:46 Minor note. I stopped being stupid realized that the purpose of opensysusers is to create system accounts so the newest version of s6 uses a s6log.conf file to create the s6log user for logging instead of the install script. Nothing changes for current s6 users however I also reworked the permissions handling so that the s6log group no longer needs any ownership over the /var/log directory. Instead, the individual logging directories are created with an install command that assigns the proper user/group/ownership (did you know you could assign group ownership with install? I didn't).Anyways, you don't have to do anything, but for people on s6 already, feel free to set /var/log's ownership back to only root with a "chown root:root: /var/log" command after you get the next update.Edit: Actually I think you might need to readd any users to the s6log group after the update since the opensysusers hook runs and does its thing. Last Edit: 09 April 2020, 02:53:17 by Dudemanguy
Re: [Tracker] s6 support Reply #34 – 23 November 2020, 16:35:02 Quote from: Dudemanguy – on 28 October 2019, 04:49:07Another thing to note, I have compiled s6-linux-init with the option to print all messages to /dev/console on startup. By default, your /dev/console is tty1 which means you will get a ton of messages on bootup by default. I have not made up my mind on how to handle this quite yet. The messages can be a little annoying, but also they can contain some very vital, important information. As a workaround you could set /dev/console to a different tty as part of your kernel's parameter (i.e. console=tty7 for grub) to get it to print somewhere else. Probably, I just need to think of something clever with logging.I set console=tty8 in /etc/default/grub. Seeing messages from cryptsetup-s6 on tty1 was nearly a deal breaker. I thought about moving to openrc because of this.You better document console=ttyX somewhere on the artix linux wiki.
Re: [Tracker] s6 support Reply #35 – 23 November 2020, 17:46:24 This thread is pretty old and should be closed since much has changed since then (ex. the default s6-rc invocations are no longer verbose and nearly every service has its own logger now). But yes, I can document that.