SysVinit Script that ships with Debian Bullseye '.deb' of Radicale3 does not work. #1414
Replies: 9 comments 2 replies
-
I noticed after submitting this that the Init Script was written by a Package Maintainer. I filed a bug via "reportbug" within Devuan. Hopefully they see it and forward it upstream if needed. That may take some time, so I'm open to ideas if y'all have any adapted Init Scripts that y'all have been using with Radicale 3. I'll post the upstream bug number if/when I get it. |
Beta Was this translation helpful? Give feedback.
-
Init scripts shipped with Debian are supposed to work, so this seemed better reported to the Debian Project. Bug #1000147 has been marked as fixed (as someone was able to figure out working adjustments). Another issue is the complete removal of logging support. System daemons aren't supposed to be logging via stdout/stderr, so Radicale 3.0 dumping all messages to output is a problem. Perhaps SystemD supports this, but last I'd read this software was supposed to be "Radicale", not "SystemD-Radicale". |
Beta Was this translation helpful? Give feedback.
-
Quoting Elliott Mitchell (2021-12-06 02:52:57)
Another issue is [...]
Please report each issue as a separate report, to make them actionable.
Or mention issue ID for an issue already reported.
|
Beta Was this translation helpful? Give feedback.
-
Hey @ehem , |
Beta Was this translation helpful? Give feedback.
-
I fixed the calls to
There's still the problem with logging, though |
Beta Was this translation helpful? Give feedback.
-
Since we're already using the
|
Beta Was this translation helpful? Give feedback.
-
It looks like the stop/restart functions need a little fix too:
|
Beta Was this translation helpful? Give feedback.
-
As I understand it the bug-report for this one is addressed here: |
Beta Was this translation helpful? Give feedback.
-
Note that the dpkg start-stop-daemon supports the --output option to redirect output streams (both stdout and stderr). I came up with the following patch and looked where to submit it and found this thread. Hence I'll just leave this here.
|
Beta Was this translation helpful? Give feedback.
-
Hi All,
The SysVinit script that ships with the Debian Bullseye '.deb' of Radicale3 does not work for systems running SysV instead of SystemD. (Service fails to start). It appears to be the same as the the one that comes with the '.deb' for Radicale2 (Buster). It calls the "--daemon" flag which is valid for Radicale2 but doesn't appear to be valid for Radicale3. Simply removing "--daemon" option does not help.
Has support for SysVinit been totally dropped? Is this now something that the package maintainer should manage?
Are there any plans to rewrite the script for Radicale3? (It would be greatly appreciated. :) )
More info:
Devuan 3 "Beowolf" (Debian Buster with SysVinit) - Radicale2 starts fine.
Devuan 4 "Chimaera" (Debian Bullseye with SysVinit) - Radicale3 fails to start. ("/etc/init.d/radicale" appears to be the same as the one from Radicale2, but seems to need to a rewrite to work with Radicale3)
As you can see, it starts up fine ran as the 'radicale' user that script is configured to use.
Init script attached as TXT file: radicale_init.txt
Beta Was this translation helpful? Give feedback.
All reactions