Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-16 Thread Kay Sievers
On Tue, Jul 16, 2013 at 5:30 AM, WANG Chao chaow...@redhat.com wrote: (Humm, please do not use -- on a single line in the middle of an email, that's indication for many MUAs that this is where the signature starts, and they chop this off when replying...) Sorry about --, never thought that

Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-16 Thread Kay Sievers
On Tue, Jul 16, 2013 at 5:30 AM, WANG Chao chaow...@redhat.com wrote: On 07/15/13 at 10:46pm, Lennart Poettering wrote: On Mon, 15.07.13 17:56, WANG Chao (chaow...@redhat.com) wrote: I have a service (a script) running under systemd and need its stderr to be output'd immediately, not line

Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-16 Thread WANG Chao
On 07/16/13 at 01:39pm, Kay Sievers wrote: On Tue, Jul 16, 2013 at 5:30 AM, WANG Chao chaow...@redhat.com wrote: (Humm, please do not use -- on a single line in the middle of an email, that's indication for many MUAs that this is where the signature starts, and they chop this off when

Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-16 Thread WANG Chao
On 07/16/13 at 02:00pm, Kay Sievers wrote: On Tue, Jul 16, 2013 at 5:30 AM, WANG Chao chaow...@redhat.com wrote: On 07/15/13 at 10:46pm, Lennart Poettering wrote: On Mon, 15.07.13 17:56, WANG Chao (chaow...@redhat.com) wrote: I have a service (a script) running under systemd and need its

Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-15 Thread Lennart Poettering
On Mon, 15.07.13 17:56, WANG Chao (chaow...@redhat.com) wrote: Hi, I have a service (a script) running under systemd and need its stderr to be output'd immediately, not line buffered. I tried serveral ways but didn't work out. I hope to get some feedback here :) This is not supported.

Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-15 Thread Lennart Poettering
On Mon, 15.07.13 10:32, Vivek Goyal (vgo...@redhat.com) wrote: CCing Lennart. This is important functionality for us. makeudmpfile utility (utility which filters kernel crash dump and shows the progress bar), run in kdump kernel. For large machines it displays the progress bar in kernel.

Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-15 Thread WANG Chao
On 07/15/13 at 10:46pm, Lennart Poettering wrote: On Mon, 15.07.13 17:56, WANG Chao (chaow...@redhat.com) wrote: Hi, I have a service (a script) running under systemd and need its stderr to be output'd immediately, not line buffered. I tried serveral ways but didn't work out. I hope