Re: [Touch-packages] [Bug 1624967] Re: $TERM is not set for /etc/rc.local

2016-09-19 Thread Martin Pitt
Sworddragon [2016-09-19 6:52 -]: > But causing some output for example with echo in /etc/rc.local causes it > to be written on the console on booting. Or is this the expected > behavior even if the journal is used? It's what "journal+console" does, yes -- it's similar to "tee". -- You

[Touch-packages] [Bug 1624967] Re: $TERM is not set for /etc/rc.local

2016-09-19 Thread Sworddragon
But causing some output for example with echo in /etc/rc.local causes it to be written on the console on booting. Or is this the expected behavior even if the journal is used? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1624967] Re: $TERM is not set for /etc/rc.local

2016-09-19 Thread Martin Pitt
$TERM only gets set for units which have Standard{Output,Error}=tty. By default services only have a stdout/err pipe to the journal, and rc- local.service uses journal+console which is still a pipe. So it would be actively wrong to set $TERM there as it is not actually a terminal. (See man