lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080809064210.GA22380@wavehammer.waldi.eu.org>
Date:	Sat, 9 Aug 2008 08:42:10 +0200
From:	Bastian Blank <bastian@...di.eu.org>
To:	Sam Ravnborg <sam@...nborg.org>
Cc:	linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
	akpm@...ux-foundation.org
Subject: Re: [PATCH] DocBook: don't compress mandocs

On Fri, Aug 08, 2008 at 11:45:04PM +0200, Sam Ravnborg wrote:
> On Fri, Aug 08, 2008 at 09:47:24AM +0200, Bastian Blank wrote:
> > The mandocs target uses gzip to compress the resulting manpages. If this
> > target runs more than once (using make -jX) at the same time, gzip may
> > run more then once with the same set of files. It just bails out if it
> > is not able to find a file because a concurrent run already removed it.
> > 
> > Fix this by removing the gzip call and only work with uncompressed
> > manpages.
> 
> If it failded with gzip being run more than once before this
> patch does not solve the bug - it simply makes it harder to trigger.

No, the problem does not longer exists then. Or do you see a "*" to be
expanded on runtime?

> Anything that does not work with a make -j100 build is broken.
> And please understand that we have people that uses "make -j100" when building
> the kernel.

I only use -j64 ...

> These people most likely does not do "make mandocs" but we should still fix
> the bug and not try to paper it over in this way.
> 
> So try to analyse why we in the first place will run gzip in parallele and solve that.

make mandocs
-> make a.9 b.9 c.9 d.9 ... z.9
   -> xmlto a.xml; gzip *
   -> xmlto b.xml; gzip *
   -> xmlto c.xml; gzip *
   -> xmlto d.xml; gzip *
   ...
   -> xmlto z.xml; gzip *

Bastian

-- 
Captain's Log, star date 21:34.5...

Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ