On 10/3/21 17:30, Javier wrote> So it seems we have a new bundle called
*network*. Is it meant only for
> non artix provided <package>-s6 oneshots and services. given it's under
> **/etc/s6/adminsv**? Or is meant to include everything depending on
> *networking* somehow? Should we, for example, move freshclam, dhcpcd,
> and other *netowrw* oneshots/services to the new bundle?
You can put anything that *depends* on a network being up in the new
network bundle. So freshclam would make sense to put there, but *not*
dhcpcd. dhcpcd is a network *provider* so it should happen before that
bundle goes up (i.e. leave it in the default bundle). Eventually the
mount-net oneshot will go in there, it was left out for now because of
how s6-rc-upgrade works.
>> *Note*: the *-s6 packages in Artix that are an optional dependency of
>> s6-scripts install themselves inside the boot bundle. They do not need
>> to be enabled manually or added to any other bundle
>
> This seems to kill the procedure I always apply. To be honest, it's not
> that often that I add new <package>-s6 packages, but I'd like to be
> certain. Should I stop applying my procedure moving forward?
Like the message says, that only applies to optional dependencies of
s6-scripts. There are only two of those for now (and probably for the
forseeable future): cryptsetup-s6 and lvm2-s6. These two have to work a
bit specially because a user might depend on them to mount certain
critical filesystems during boot time. To be clear, also adding them
to default doesn't do any harm. It's just simply not needed. It's been
this way for quite a long time actually. You just didn't notice. ;)
In general, nothing much changed. There is now just a new network bundle
that you can opt to add services to require a network to be up. It
executes *after* default so you would not add those services to the
default bundle. For this to actually work, you of course need to have a
service installed that provides a network like dhcpcd that goes up with
your default bundle.
More information about the artix-general
mailing list