[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrade package from init script to Systemd, move config folder



On Thu, 27 Apr 2023 08:20:34 +0200, Simon Richter <sjr@debian.org>
wrote:
>On Wed, Apr 26, 2023 at 04:25:19PM +0200, Marc Haber wrote:
>> I am not sure whether it is doing non-systemd users a favor to keep a
>> probably outdated, bitrotting and untested init script in the
>> canonical place. My gut feeling is that it might be better to ship the
>> old init script in /usr/share/doc/package/examples unless the package
>> maintainer is reasonably sure that the init script will actually work.
>
>No, that is worse, because if an updated init script is shipped as an
>example only, I will not even get a notification that I might want to
>change my installed init script.

You have a point here. Maybe it would be a good idea to have a
standardized function in /lib/lsb/init-functions that emits a warning
that the package maintainer has changed the mechanism to invoke the
daemon and that the init script might need additional work, so that a
lazy maintainer like me might just call that function to give the
local admin a heads-up.

Greetings
Marc
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | 
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834


Reply to: