i have a daemon process that quits soon after it starts (when it has some issue with its configurations).
then i usually fix the config, and do a guix system reconfigure. but i have
noticed from the logs that this process often remains in a resawn loop, even if
i herd stop and herd disable it after the reconfigure (i.e. a shepherd service
upgrade).
i have attached a respawn2.sh that when put under tests/ reproduces the issue
in a shepherd checkout (see the TODO notes):
$ guix shell
$ make check TESTS="tests/respawn2.sh"
what's wrong?
- is it my expectation that herd stop should stop the respawning loop?
- do i have a bug in my test.sh?
- is this a shepherd bug? if so, then shall i finish up this test case as a
proper patch for shepherd?
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“In all history there is no war which was not hatched by the governments, the
governments alone, independent of the interests of the people, to whom war is
always pernicious even when successful.”
— Leo Tolstoy (1828–1910), 'On Patriotism' (1894)
respawn2.sh
Description: application/shellscript
