Bug#796603: Questions about console-setup.service (Re: Bug#796603: closed by Anton Zinoviev <zinoviev@debian.org> (Bug#796603: fixed in console-setup 1.138))
- To: Felipe Sateler <fsateler@debian.org>, 796603@bugs.debian.org
- Subject: Bug#796603: Questions about console-setup.service (Re: Bug#796603: closed by Anton Zinoviev <zinoviev@debian.org> (Bug#796603: fixed in console-setup 1.138))
- From: Anton Zinoviev <anton@lml.bas.bg>
- Date: Wed, 11 May 2016 17:18:58 +0300
- Message-id: <[🔎] 20160511141853.GA2918@debian.lan>
- Reply-to: Anton Zinoviev <anton@lml.bas.bg>, 796603@bugs.debian.org
- In-reply-to: <CAAfdZj_R998uG9CkMzjC0tFUddOaw=tb+g38qn9v4fGpNKopFQ@mail.gmail.com>
- References: <E1abRK0-00029a-UI@franck.debian.org> <20150823004132.C680228052B@felipepc.sateler> <handler.796603.D796603.14570040946231.notifdone@bugs.debian.org> <CAAfdZj8XD0E3SwJ7V6L3UtfcJJ50b_WkGRppAbpzRc=QEqR+KQ@mail.gmail.com> <20160304174056.GA12758@debian.lan> <CAAfdZj9PYpUxVWtZ=edu7q+hwhgPsZyubKRJwBSntfSRE9Lf4w@mail.gmail.com> <20160305200102.GA1984@debian.lan> <CAAfdZj_DaNFW1FKQ2prXZHYTMEXMySx83bV4v5eEgRp5wartLQ@mail.gmail.com> <20160306222935.GA16393@debian.lan> <CAAfdZj_R998uG9CkMzjC0tFUddOaw=tb+g38qn9v4fGpNKopFQ@mail.gmail.com>
On Wed, Mar 16, 2016 at 03:22:42PM -0300, Felipe Sateler wrote:
>
> > On Sun, Mar 06, 2016 at 02:51:34PM -0300, Felipe Sateler wrote:
> >>
> >> I meant the logic to determine if setupcon or the cached scripts
> >> should be run. If in the future that part is changed (eg, the names
> >> are changed, or more scripts are generated), there is no guarantee
> >> the change will reach users, since they may have modified the init
> >> script.
Right now I am preparing some changes in console-setup and one of them
is to implement your suggestion to move the logic out of the init
scripts.
> Would you be OK, until further development comes along, to use a
> wrapper unit like this:
And while I am reviewing your changes, I find (as expected) that there
are things I don't understand. So before I make changes and introduce
bugs, I decided to ask.
> [Install]
> WantedBy=sysinit.target
What is the purpose of this instruction? Wouldn't it be possible to
remove it at least for console-setup.service?
Also, inside console-setup.service I find these:
> After=console-screen.service kbd.service local-fs.target
What about the following additional instruction: RequiresMountsFor=/usr
> Before=system-getty.slice
Nothing really serious is going to happen if this script is executed
after getty. Wouldn't it be better to remove this instruction?
Anton Zinoviev
Reply to: