Your message dated Thu, 26 May 2016 14:10:21 +0200
with message-id <[email protected]>
and subject line ifrename already has native service unit, closing.
has caused the Debian Bug report #796704,
regarding ifrename: Has init script in runlevel S but no matching service file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
796704: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796704
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ifrename
Severity: important
User: [email protected]
Usertags: init-rcs-service

Hi,

Your package ifrename 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.

We have prepared a transition wiki page[2] explaining the issue in
more detail, and outlining some general guidance. Please refer to it
as it will have useful information.

If you have any other doubts, feel free to ask in
[email protected]
-- 

[1] 
http://sources.debian.net/src/systemd/222-2/debian/patches/Add-support-for-rcS.d-init-scripts-to-the-sysv-gener.patch/
[763315] https://bugs.debian.org/763315
[2] https://wiki.debian.org/Teams/pkg-systemd/rcSMigration

--- End Message ---
--- Begin Message ---
Version: 30~pre9-9

Hello!

While investigating this bug I found that ifrename already ships a
native unit file since the above version (with additional fixes
to it in later versions). Thus this bug report can be closed.

While having the wireless-tools sources at hand I looked at it
and would like to suggest one possible additional improvement.
Given that the service does nothing on stop, I don't think
it needs to Conflict (or be Before) shutdown.target.
That should only be needed if your service needs to be
stopped before shutdown (but since you don't do anything on
stop it's obviously not needed).

Regards,
Andreas Henriksson

--- End Message ---

Reply via email to