Fwd: Bug#796603: keyboard-configuration: Has init script in runlevel S but no matching service file

Felipe Sateler fsateler at debian.org
Sat Oct 10 13:54:19 BST 2015


Control: tags -1 patch

Missed the bug cc, sorry for the duplicate.

On 1 September 2015 at 17:54, Michael Biebl <biebl at debian.org> wrote:
> Am 01.09.2015 um 19:38 schrieb Felipe Sateler:
>> On 1 September 2015 at 14:05, Anton Zinoviev <anton at lml.bas.bg> wrote:
>>> On Thu, Aug 27, 2015 at 03:18:17PM -0300, Felipe Sateler wrote:
>>>>
>>>> Does console-setup actually need to be run before user services are
>>>> started? My guess is that it only needs to run before getty, but it
>>>> should not block other services that want to start.
>>>
>>> It should run before fsck.
>>
>> That is definitely not what the init script says[1]:
>>
>> # Provides:          console-setup
>> # Required-Start:    $remote_fs
>
> Right, the $remote_fs dependency means it's actually started pretty late.
> I guess what Anton meant was keyboard-setup.

OK, so I added 2 service files, and preserved the early startup. However:

1. keyboard-setup is setup very early at boot, before
local-fs-pre.target so that it occurs before fsck (at least the ones
that don't happen in the initrd).
2. The ordering on console-setup is relaxed so that it starts early,
but after /usr and /usr/local are mounted and the root fs is remounted
(so that it can be saved in /etc). At the same time, this will not
delay any further services except the gettys by being
Before=system-getty.slice (BTW, maybe we need a getty-pre.target?).

Review welcome.

-- 

Saludos,
Felipe Sateler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-systemd-units.patch
Type: text/x-patch
Size: 3045 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151010/61f18c79/attachment-0002.bin>


More information about the Pkg-systemd-maintainers mailing list