How to debug a crash in a /etc/init.d script? Works OK when run from command line, worked in 22.04.

Little Girl littlergirl at gmail.com
Sat Jun 8 13:07:41 UTC 2024


Hey there,

Ralf Mardorf via ubuntu-users wrote:

>there's a German expression that says, three guesses.
>
>1. Your install seem to be using a mix of /usr/local/libexec/ and
>/usr/libexec/, which looks suspicious to me.
>
>2. Since it worked before, it could be a race condition. Systemd
>could be running the init script before the dependencies are ready
>for use.
>
>I'll save the third guess for now.

Can I add a third?

3. The system may be using a Python 3 command to run the script.

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list