Package: systemd
Version: 215-9
Severity: serious
Tags: upstream confirmed patch

Michael points out a regression in 215-9 wrt. handling init scripts
with a .sh suffix. This is closely related, but not identical to
#775404, so let's track it as a separate bug.

I posted a fix with a test case to the upstream ML:
http://lists.freedesktop.org/archives/systemd-devel/2015-January/027245.html

Martin

----- Forwarded message from Michael Biebl <bi...@debian.org> -----

Date: Thu, 15 Jan 2015 01:25:34 +0100
From: Michael Biebl <bi...@debian.org>
To: Niels Thykier <ni...@thykier.net>, 775...@bugs.debian.org, Martin Pitt 
<mp...@debian.org>
CC: Cyril Brulebois <k...@debian.org>, 
pkg-systemd-maintain...@lists.alioth.debian.org
Subject: Re: Bug#775265: unblock: systemd/215-9
X-Spam-Status: No, score=0.8 required=3.4 tests=BAYES_00,DNS_FROM_AHBL_RHSBL, 
T_RP_MATCHES_RCVD autolearn=no version=3.3.2

Am 13.01.2015 um 17:04 schrieb Niels Thykier:
> Control: tags -1 d-i
> 
> Ok from RT, CC'ing KiBi for d-i ACK.
> 
> Original message quoted below for KiBi's convenience. :)
> 
> ~Niels
> 
> On 2015-01-13 12:07, Martin Pitt wrote:

>> |   [ Michael Biebl ]
>> |   * sysv-generator: handle Provides: for non-virtual facility names.
>> |     (Closes: #774335)
>>
>> RC bug.
>>
>> http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?id=7024b5117a

A user reported a nasty regression via IRC regarding this patch.
For SysV init scripts having a .sh extension, we create a foo.service ->
foo.service symlink, and subsequently, systemctl start/stop/restart
foo.service will fail:

# apt-get install console-common
Setting up console-common (0.7.88) ...
Looking for keymap to install:
NONE
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
Failed to start keymap.service: Unit keymap.service failed to load: Too
many levels of symbolic links.
invoke-rc.d: initscript keymap.sh, action "start" failed.
dpkg: error processing package console-common (--configure):
 subprocess installed post-installation script returned error exit status 6
Errors were encountered while processing:
 console-common


Will need to fix that in a follow-up upload.

Sorry for this.


Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

----- End forwarded message -----

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

Reply via email to