On Tue, 19 May 2020 04:14:05 +0100
tux...@sapo.pt wrote:

> The problem is that this init systems are not shell aware.

I don't know what "shell aware" means. The minute a file begins with:

#!/bin/sh

the rest of the text executes according to the
grammar/syntax/capabilities of /bin/sh.

> yes they can fork and exec a shell script, 

What more would anyone want?

> but does the service files
> or daemon files are shell based?

I don't understand the preceding sentence.

> No they are not, they are in a intermediate language that for example
> in systemd, is not even Turing Feature complete( I am speaking about  
> the unit files language )..

That's systemd's problem, but a s6 run or finish script can be
written in /bin/sh, or even in compiled C++ if somebody wanted a
difficult life.

> 
> I don't know much about systemd, or s6 to be honest, only a bit..
> But the s6 creator told in the devuan conference that s6 is not shell
> aware, and I believe he told, there is not simple way to turn it
> shell aware..

This whole discussion balances on the definition of "shell aware". What
is "shell aware?"
 
SteveT

Steve Litt 
May 2020 featured book: Troubleshooting Techniques
     of the Successful Technologist
http://www.troubleshooters.com/techniques
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to