Control: tags -1 patch

On Sat, 22 Aug 2015 22:22:00 -0300 fsate...@debian.org wrote:
> Package: ipsec-tools
> Severity: important
> User: pkg-systemd-maintain...@lists.alioth.debian.org
> Usertags: init-rcs-service
>
> Hi,
>
> Your package ipsec-tools has an initscript that is enabled in
> runlevel S, but it does not provide a corresponding systemd service
> unit.
>
> Systemd generates units for all sysv init scripts that do not have a
> corresponding systemd unit. By default, it sets
> DefaultDependencies=yes, which means they get ordered after early
> boot has finished.
>
> The problem is that to preserve the runlevel S semantics, systemd in
> debian is currently[1] ordering all S services Before=sysinit.target.
> This target is particularly early in the boot sequence, which means
> that it is most of the time too strict. In turn, this means it is
> fairly easy to end up with dependency cycles. For an example, see bug
> [763315]. Do note that the cycle still exists with sysvinit, it is
> just that systemd complains more loudly.
>
> Please add a systemd unit for the given service with the appropriate
> dependencies, which most of the time will be less strict than
> Before=sysinit.target. In other cases, the script is simply not
> applicable in systemd, in which case the package should ship a
> symlink to /dev/null as /lib/systemd/system/<initscript>.service.


Please find attached a debdiff for a systemd unit that wraps the
current init script.

Saludos

Attachment: ipsec-tools.debdiff
Description: Binary data

Reply via email to