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

Felipe Sateler fsateler at debian.org
Tue Nov 3 12:44:00 GMT 2015


On 10 October 2015 at 09:54, Felipe Sateler <fsateler at debian.org> wrote:
> 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?).

I have attached a new version. Changes:

1. Add ConditionPathExists (because the service is shipped in another package).
2. Add RemainAfterExit=yes. I was getting the service started multiple
times during boot.


-- 

Saludos,
Felipe Sateler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-systemd-units.patch
Type: text/x-patch
Size: 3166 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20151103/4c773dd1/attachment.bin>


More information about the Pkg-systemd-maintainers mailing list