Markus Robert Kessler
2023-10-02 18:09:39 UTC
Hi all,
in the meantime I had a closer look at the sources.
I saw, that in main.c within the archive the original authors just try to
open the desired pidfile given by options, only tested for write(!)
access.
That's not a proper solution.
I tested with inserting some more lines, which first test, it the desired
filename exists, and if so, the program terminates with error, instead of
damaging existing files. This approach seems similar to other distros'
solution.
This could be taken as a starting point for a bug report -- if someone
wants to write one. And, if helpful, I could provide this as a patch.
Best regards,
Markus
in the meantime I had a closer look at the sources.
I saw, that in main.c within the archive the original authors just try to
open the desired pidfile given by options, only tested for write(!)
access.
That's not a proper solution.
I tested with inserting some more lines, which first test, it the desired
filename exists, and if so, the program terminates with error, instead of
damaging existing files. This approach seems similar to other distros'
solution.
This could be taken as a starting point for a bug report -- if someone
wants to write one. And, if helpful, I could provide this as a patch.
Best regards,
Markus
--
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm