On Fri, Jan 16, 2015 at 11:17:11PM +0100, Luca Beltrame wrote:
openSUSE supports only systemd. So my question is ... why keep init scripts instead of systemd units?
My answer will be a bit longer so if you are impatient, skip to "TL;DR" below. About month ago, I installed 13.1 on an e-mail server with amavisd and additional package named amavisd-milter. In amavisd-new package, there is both a systemd unit file and an init script. The init script works perfectly and if amavisd-milter is present, it's started before amavisd itself. The systemd unit file kind of tries to do the same but it's broken somehow so that amavisd-milter is started but once "rcamavis start" finishes, it's not running any more (without any clue in the log). I have no idea why and I have no idea how to debug it (if the init script was broken, it would be much easier). So I worked around the issue by removing the systemd unit file so that the init script is used instead. Now imagine I would be forced to replace the init script by a systemd unit file in a package I'm maintaining. If something goes wrong, I would have no idea how to fix it or even how to debug it. But I would still be responsible for fixing it. If a bug on daemon start was reported, it would be assigned to me and I would be expected to fix it somehow. That's a situation I don't want to face - and I'm not going to. TL;DR There are package maintainers who understand their packages and take care of them but they don't understand systemd unit files and/or systemd itself and its quirks. And they don't have any intention to. What Tomáš proposed would mean they would have to (a) formally take responsibility for something they can't be actually responsible for, (b) resign on their maintainership or even (c) let the package be dropped from the distribution if noone else is able / willing to take over. When I raised my concern that once sysvinit would be dropped, it would be only matter of time before a check is added pushing maintainers to replace init scripts by systemd unit file, the answer was like "Why would we do that? The init scripts will still work." So that's the question you should really ask, not why keep init scripts but why force maintainers to replace them. Michal Kubeček -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org