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

Christoph Berg myon at debian.org
Tue Jun 21 20:44:24 UTC 2016


Re: Ferenc Wágner 2016-06-21 <87eg7q2s9s.fsf at lant.ki.iif.hu>
> Christoph Berg <myon at debian.org> writes:
> 
> > Re: Dhionel Díaz 2016-06-21 <0c44f8f5-4d46-60e7-2bc3-d1695686953a at cenditel.gob.ve>
> >
> >>> What about depending on inetd | systemd-sysv and invoking update-inetd
> >>> only if systemd is not running?
> >
> > Doesn't that fail if the system is switched to/from systemd after the
> > package was already installed?
> 
> Sure it does.  But if you do both, one (probably inetd, coming later)
> will fail to bind if systemd manages the socket and also starts inetd.

That's why I keep saying we shouldn't try to hack it up unless there's
a sane solution. I'd really just keep it as it is now.

> Hmm, maybe you could have the csync2.socket conflict with inet.service
> to avoid this failure mode...  That would serve csync2 via inetd instead
> of systemd, which is inefficient, but maybe acceptable.

I don't see why that would be inefficient, both will fork a new
process for every connection.

Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20160621/ec7c07ed/attachment.sig>


More information about the Debian-ha-maintainers mailing list