Lorenzo <[email protected]> wrote:
> On Tue, 12 May 2026 13:28:52 +0200 Sven Hartge <[email protected]> wrote:

>> I am putting together a new version of my radsecproxy package which
>> will make usage of the instance feature from systemd.
>> 
>> The old Sys-V init-script does not really work for that anymore and I
>> would like to remove it on upgrade.

> In principle I don't see any issue, you could have a multi instance
> systemd service and old single instance sysv script, debhelper will
> make sure that there are no conflicts (but I know nothing specific to
> radsecproxy): would you reconsider your decision if could get
> assistance on simplifying/ refreshing the script?

All good points, but the init-script is a Debianism to begin with and
was never part of the upstream release and I would like to not need to
maintain it going forward.

systemd is well established in Debian and by the time Forky releases,
the amount of servers not using it will be basically zero. And the
radsecproxy package is quite niche to begin with, I can't imagine anyone
running the Debian package on a Sys-V-init system, so I don't really see
the value in keeping the init-script.

> If you want to remove the script no matter what it would be nice if you
> could file a bug against the orphan-sysvinit-scripts pacakge for a
> coordinated handover, attaching the last version of the script.

Good idea, I will file a bug once I am ready to move in that direction.

> You need to clean up because it's a conffile so it won't disappear on
> upgrade; dpkg has helpers and you don't need to write code in postinst,
> for example see
> https://salsa.debian.org/debian/socklog/-/commit/502a8cd4edf2679505493af0b7a817f9d10f0d85

> but consider that, for a sysvinit user, this will
> remove the script even if it's customized, which is unexpected on
> upgrade (it usually only happens on purge), so I suggest you drop
> a warning in NEWS file so that users who care have the chance to do a
> backup.

Also good point, I have added an entry for that.

Thank you for your input.

Grüße,
Sven!

-- 
Sigmentation fault. Core dumped.

Reply via email to