On 2/2/22 06:40, Colin S wrote:> What is the situation now, under the
new system, with respect to srv/log
> service pairs?
>
> Using sshd just as an example, service directories for sshd-srv and
> sshd-log exist in /etc/s6/sv having been installed by package
> openssh-s6. However my compiled database also contains a bundle called
> sshd with these two as its only contents for which no corresponding
> source directory exists. This bundle would seem to have been generated
> at some point. Was this treated as a special case and the bundle created
> automatically? If so, does this still happen?
>
> When migrating to the new regime, what are the correct entries to make
> in /etc/s6/adminsv/default/contents.d in order to start sshd on boot?
> Would sshd alone work or are both sshd-srv and sshd-log required?
>
> Presumably one could always recreate the existing situation in compiled
> by using a custom sshd bundle in adminsv if that isn't done
> automatically anyway somehow. There are quite a few -s6 packages which
> have a similar structure, so it would be tidier not to have to make
> doubled-up entries for each if that were possible.
>
> Thanks.
>
> Colin
Oh, sshd is defined as a pipeline name in s6-rc. If you look in
/etc/s6/sv/sshd-log, you'll see a file named "pipeline-name" which has
"sshd" in it. This is how it's created (and indeed it's considered a
bundle). You can just touch "sshd" in the contents.d directory and that
will work just fine.
More information about the artix-general
mailing list