[Debian-ha-maintainers] Bug#807428: Bug#807428: csync2: socket activation and running as system user

Ferenc Wágner wferi at niif.hu
Tue Jun 21 06:15:53 UTC 2016


Dhionel Díaz <ddiaz at cenditel.gob.ve> writes:

> El 20/06/16 a las 05:57, Christoph Berg escribió:
> 
>> Re: Dhionel Díaz 2015-12-08 <5667290F.3060300 at cenditel.gob.ve>
>>
>>> The attached patch was prepared to make csync2 a socket activated
>>> service managed with systemd and avoid the use of inetd,
>> 
>> Unfortunately I don't think we should apply it as-is for the time
>> being, as it removes the actual inetd support, rendering csync2
>> unusable for people running systems on sysvinit. I'm not aware of a
>> general solution for running inetd in parallel with socket-activated
>> services from the same package, so this will likely need to wait until
>> such a solution is found.
>
> Do you think an approach similar to the one implemented for saned
> would be appropriate?
>
> In that way the sysadmin would be able to switch between inetd and
> systemd support with just a few commands and inetd could also be
> selected in the postinst to preserve the current behaviour.

What about depending on inetd | systemd-sysv and invoking update-inetd
only if systemd is not running?

Don't forget to depend on update-inetd as well.
-- 
Feri



More information about the Debian-ha-maintainers mailing list