Mailing List Archive

Re: [gentoo-hardened] hardened-sources-2.6.x results.
On Wed, 2004-03-17 at 13:44, Michael Atighetchi wrote:
> I see. We starting using a 2.4 gentoo linux distribution a couple of
> months ago, and had good luck with it. However, we ran into install
> difficulties with the 2.6 live cd, which were painfull but we worked
> around them.
>
> However, we currently face an issue with stdout redirection. We start
> our java processes via a .sh script and redirect stdout/stderr to a file via
> > file.txt 2>&1 . By changing from 2.4 to 2.6 we noticed that
> file.txt gets created when the .sh script starts up, up it does not
> get any content for a while (about 6 minutes and about 100k of
> log), after which the whole file shows up. It looks like a buffering
> problem of sort.
>
> We are using
> Linux dcaf 2.6.4-rc2-mm1 #2 Mon Mar 15 17:33:02 EST 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
> with the following fs
> /dev/hda3 on / type ext3 (rw,noatime)
>
> Any clues ?

Was the kernel the only difference? It sounds more like a a difference
in the size of the userspace buffer, which is managed by Glibc, although
a 100k default buffer is mighty big.

Jonathan Rogers

--
gentoo-security@gentoo.org mailing list