[artix-general] [s6][s6-scripts] upgrade on s6-scripts breaks several artix box functionalities

Dudemanguy dudemanguy at artixlinux.org
Sun Jun 14 03:42:55 CEST 2020


> Now, I don't have local tweaks on any s6 one-shot/daemon.  That said I did find several one-shots/daemons using DIRECTIVE instead of DIRECTIVES under /etc/s6/sv.  See:
> 
> ---------------------------------------------
> % 'grep' -r DIRECTIVE /etc/s6/sv | 'grep' -v DIRECTIVES
> /etc/s6/sv/udevd-log/run:importas -iu DIRECTIVE DIRECTIVE
> /etc/s6/sv/udevd-log/run:backtick -n ARGS { pipeline { echo $DIRECTIVE } sed "s/_/ /g" }
> /etc/s6/sv/dmesg/up:importas -iu DIRECTIVE DIRECTIVE
> /etc/s6/sv/dmesg/up:backtick -n ARGS { pipeline { echo $DIRECTIVE } sed "s/_/ /g" }
> /etc/s6/sv/clamd-log/run:importas -iu DIRECTIVE DIRECTIVE
> /etc/s6/sv/clamd-log/run:backtick -n ARGS { pipeline { echo $DIRECTIVE } sed "s/_/ /g" }
> /etc/s6/sv/clamd-log/conf:DIRECTIVE=n3_s2000000_T
> /etc/s6/sv/lvm2-monitor/down:importas -iu DIRECTIVE DIRECTIVE
> /etc/s6/sv/lvm2-monitor/down:backtick -n ARGS { pipeline { echo $DIRECTIVE } sed "s/_/ /g" }
> /etc/s6/sv/lvm2-monitor/up:importas -iu DIRECTIVE DIRECTIVE
> /etc/s6/sv/lvm2-monitor/up:backtick -n ARGS { pipeline { echo $DIRECTIVE } sed "s/_/ /g" }
> /etc/s6/sv/lvm2-pvscan/down:importas -iu DIRECTIVE DIRECTIVE
> /etc/s6/sv/lvm2-pvscan/down:backtick -n ARGS { pipeline { echo $DIRECTIVE } sed "s/_/ /g" }
> /etc/s6/sv/lvm2-pvscan/up:importas -iu DIRECTIVE DIRECTIVE
> /etc/s6/sv/lvm2-pvscan/up:backtick -n ARGS { pipeline { echo $DIRECTIVE } sed "s/_/ /g" }
> /etc/s6/sv/freshclam-log/run:importas -iu DIRECTIVE DIRECTIVE
> /etc/s6/sv/freshclam-log/run:backtick -n ARGS { pipeline { echo $DIRECTIVE } sed "s/_/ /g" }
> /etc/s6/sv/freshclam-log/conf:DIRECTIVE=n3_s2000000_T
> ---------------------------------------------

Alright so there's three things here.

1. udevd and dmesg are with s6-scripts so if you didn't update it, then 
those lines still existing make sense. They don't exist in the newest 
verison however and s6-scripts updating should be totally safe.

2.clam-log and freshclam-log are part of clamav-s6 which doesn't have 
those lines are the newest update. It shouldn't exist anymore.

3. lvm2-monitor and lvm2-pvscan... crap this is my fault. This is 
probably what messed up your boot. I forgot the up/down scripts call the 
log. Sorry, I'll push a fix a right now

You shouldn't have to manually change anything. I think lvm2-s6 is the 
actual culprit here.


More information about the artix-general mailing list