1 |
On 2021-12-02 08:12:55, Alec Warner wrote: |
2 |
> |
3 |
> Can we automate any of it? Emit QA warnings? etc. |
4 |
> |
5 |
|
6 |
I would love to be proven wrong, but I don't think so. We have two |
7 |
main problems. First, The service scripts are POSIX sh, which is |
8 |
better than bash, but still can't easily be parsed for semantic |
9 |
information. |
10 |
|
11 |
Second, if the daemon is "special," then the service script is |
12 |
justified in being similarly unconventional. Unusual runtime behavior |
13 |
can't be statically detected, and I doubt that the well-behaved |
14 |
portion of daemons in the tree is large enough that we can warn about |
15 |
every script that smells a little bit fishy. |