Hi Matthias,

Matthias Liertzer <matth...@liertzer.at> writes:
> I stumbled upon the same bug as the original bug reporter. Systemd drops
> the .sh suffix from init scripts in /etc/init.d when translating sysv
> script filenames in /etc/init.d to a corresponding systemd .service name
> (see:
> http://sources.debian.net/src/systemd/204-5/src/core/service.c?hl=337#L337)
>
> Hence, invoke-rc.d should strip the .sh suffix as well, if present,
> before invoking systemctl.
>
> A patch for invoke-rc.d is attached.
Thanks! The patch looks good to me.

-- 
Best regards,
Michael


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to