[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30464] [PATCH 1/2] services: Add console-agetty-service.
From: |
Ludovic Courtès |
Subject: |
[bug#30464] [PATCH 1/2] services: Add console-agetty-service. |
Date: |
Thu, 15 Feb 2018 16:47:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Heya,
Danny Milosavljevic <address@hidden> skribis:
> On Thu, 15 Feb 2018 15:40:14 +0100
> address@hidden (Ludovic Courtès) wrote:
>
>> Could you explain the rationale?
>>
>> The only difference is that this shepherd service depends on ‘syslogd’
>> whereas the current agetty service doesn’t, right?
>
> Yes, it's my inner OCD.
>
> Right now, the agetty is started while the Linux kernel is still booting and
> printing stuff to the console. So you have two parties printing stuff
> to the same console simultaneously. That looks ... not nice.
Right.
> What this would do is the getty would only be started (and printing stuff)
> after syslogd. The first thing syslogd does is it disables the Linux direct
> console printing.
OK, got it.
(Which has me thinking that longer term it’d be nice to have the
Shepherd take care of syslogd-ish activity.)
> It doesn't make sense to have agetty itself depend on syslogd because
> agetty can be (and usually is) used for modems etc which have nothing
> to do with the local console.
Alright.
How about adding a ‘dependencies’ field to <agetty-configuration>? It’d
default to the empty list, and could be set to '(syslogd) in this case.
Does that sound too obscure to you, or would it be OK?
Thanks,
Ludo’.
- [bug#30464] [PATCH 0/2] Add console-agetty-service., Danny Milosavljevic, 2018/02/15
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Danny Milosavljevic, 2018/02/15
- [bug#30464] [PATCH 2/2] services: agetty-shepherd-service: Default to providing 'term-console instead of 'term-auto ., Danny Milosavljevic, 2018/02/15
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Ludovic Courtès, 2018/02/15
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Danny Milosavljevic, 2018/02/15
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service.,
Ludovic Courtès <=
- [bug#30464] shepherd logging; console-agetty-service, Danny Milosavljevic, 2018/02/16
- [bug#30464] shepherd logging, Danny Milosavljevic, 2018/02/16
- [bug#30464] shepherd logging, Ludovic Courtès, 2018/02/17
- [bug#30464] shepherd logging, Danny Milosavljevic, 2018/02/17
- [bug#30464] shepherd logging, Ludovic Courtès, 2018/02/17
- [bug#30464] shepherd logging; console-agetty-service, Ludovic Courtès, 2018/02/17
- [bug#30464] [PATCH 1/2] services: Add console-agetty-service., Ludovic Courtès, 2018/02/26