Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-28 Thread Navneet Sinha
On Fri, Dec 18, 2015 at 6:10 AM, Navneet Sinha wrote: > I have systemd service, say xyzWarmup.service. > > Here is the service file > > [Unit] > Description=Xyz agent. > After=fooAfter.service > Before=fooBefore1.service > Before=fooBefore2.service > > [Service] > # Du

Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-21 Thread Navneet Sinha
One more very important observation. On Fri, Dec 18, 2015 at 6:10 AM, Navneet Sinha wrote: > I have systemd service, say xyzWarmup.service. > > Here is the service file > > [Unit] > Description=Xyz agent. > After=fooAfter.service > Before=fooBefore1.service > Before=fooBefore

Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-18 Thread Navneet Sinha
One more observation to note is, if I change systemd.default_standard_output=tty to systemd.default_standard_output=console. I start seeing the missing echo messages. Can anyone from this observation make out something and why this is happening ? thanks Navneet On Fri, Dec 18, 2015 at 5:09 PM, N

Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-18 Thread Navneet Sinha
On Fri, Dec 18, 2015 at 2:08 PM, Navneet Sinha wrote: > > > On Fri, Dec 18, 2015 at 1:24 PM, Andrei Borzenkov > wrote: > >> 18.12.2015 10:22, Tobias Hunger пишет: >> > Am 18.12.2015 07:51 schrieb "Navneet Sinha" < >> nnavneetsinha1...@gmail.com>: >> >> No it doesn't fix it. Secondly, my main pro

Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-18 Thread Navneet Sinha
On Fri, Dec 18, 2015 at 1:24 PM, Andrei Borzenkov wrote: > 18.12.2015 10:22, Tobias Hunger пишет: > > Am 18.12.2015 07:51 schrieb "Navneet Sinha" >: > >> No it doesn't fix it. Secondly, my main problem is why it is not working > > with systemd. When, I was using this script as initscript before

Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-17 Thread Andrei Borzenkov
18.12.2015 10:22, Tobias Hunger пишет: > Am 18.12.2015 07:51 schrieb "Navneet Sinha" : >> No it doesn't fix it. Secondly, my main problem is why it is not working > with systemd. When, I was using this script as initscript before porting > this to systemd. I was able to see all echo messages. > >

Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-17 Thread Tobias Hunger
Am 18.12.2015 07:51 schrieb "Navneet Sinha" : > No it doesn't fix it. Secondly, my main problem is why it is not working with systemd. When, I was using this script as initscript before porting this to systemd. I was able to see all echo messages. Sysvinit did not care for stdout and stderr. The o

Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-17 Thread Navneet Sinha
On Fri, Dec 18, 2015 at 11:17 AM, Johan Ouwerkerk wrote: > You say this part: > > > echo -n $"$msg (press ESC to skip): " > /dev/console > > Displays fine. > > But these: > > echo "[ OK ]" > > echo > > And these: > > echo "[ FAIL

Re: [systemd-devel] echo message not coming on terminal with systemd

2015-12-17 Thread Johan Ouwerkerk
You say this part: > echo -n $"$msg (press ESC to skip): " > /dev/console Displays fine. But these: > echo "[ OK ]" > echo And these: > echo "[ FAILED ]" > echo "This is failure" Don't. Spotting the obvious

[systemd-devel] echo message not coming on terminal with systemd

2015-12-17 Thread Navneet Sinha
I have systemd service, say xyzWarmup.service. Here is the service file [Unit] Description=Xyz agent. After=fooAfter.service Before=fooBefore1.service Before=fooBefore2.service [Service] # During boot the xyz.sh script reads input from /dev/console. If the user #