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

Javier je-vv at e.email
Sun Jun 14 01:58:41 CEST 2020


OK, 1st of all, I found the one package causing the weird broken state on the artix box.  It's s6-scripts, as suspected yesterday.  I could upgrade all other s6 packages, and by preventing only s6-scripts from upgrading, no issues show up.

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
---------------------------------------------

That means that the following s6 daemons/one-shots need upgrade prior to getting s6-scripts upgraded I'd guess:

udevd
dmesg
lvm2-monitor
lvm2-pvscan
clamd
freshclam

Did I get it right?  Now, if that were the case, it's OK to go replace all "DIRECTIVE" appearances on those lines show, with "DIRECTIVES"?  Would that work out?  I'm not sure if there are also syntax changes to consider...  Otherwise, I'd guess the corresponding packages need upgrade ASAP, so s6-scripts can be upgraded.  As an additional thing, these of course come from packages I do have installed on the box with artix-s6, but there might be others with "DIRECTIVE" present in the scripts rather than "DIRECTIVES".

Is there anything else that might be affecting, or just that DIRECTIVE change?

Thanks !

-- 
Javier

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20200613/67b13004/attachment.sig>


More information about the artix-general mailing list