Re: env question

2010-12-08 Thread Yann E. MORIN
Christopher, Loic, All, On Wednesday 08 December 2010 21:41:14 Loïc Grenié wrote: > 2010/12/7 Christopher Barry : > > I've tried doing: > > #!/usr/bin/env - /bin/bash > > and > > #!/usr/bin/env -i /bin/bash > > > > at the top of a script to clear out it's environment prior to running > > it, but i

Re: env question

2010-12-08 Thread Loïc Grenié
2010/12/7 Christopher Barry : > Hi, > > I've tried doing: > #!/usr/bin/env - /bin/bash > and > #!/usr/bin/env -i /bin/bash > > at the top of a script to clear out it's environment prior to running > it, but it throws an error. What error ? Loïc

Re: 1.18.0 doesn't build defconfig on Ubuntu 9.04.

2010-12-08 Thread Rob Landley
On Wednesday 08 December 2010 10:38:42 walter harms wrote: > Rob, > can you please report the original error ? I did not see it in the ML and > it seems interessting. Sorry, the attachements were too big for the mailing list. (Even compressed.) Basically, I did a make defconfig and did a make, a

[PATCH] procps/Config.src: Add pstree to FEATURE_THREADS deps. Slight text edit

2010-12-08 Thread Lauri Kasanen
Hi A small edit to the config entry FEATURE_SHOW_THREADS. - Lauri -- ___ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com 0001-procps-Config.src-Add-pstree-to-FEATURE_THREADS-deps.patch Description: Binary da

Re: 1.18.0 doesn't build defconfig on Ubuntu 9.04.

2010-12-08 Thread walter harms
Am 08.12.2010 09:40, schrieb Rob Landley: > On Tuesday 07 December 2010 23:40:28 Denys Vlasenko wrote: >> On Wednesday 08 December 2010 06:02, Rob Landley wrote: >>> Log and first corrupted file attached. 100% reproducible. I can bisect >>> it if you like... >> >> Does this help? >> >> http://b

Re: 1.18.0 doesn't build defconfig on Ubuntu 9.04.

2010-12-08 Thread Rob Landley
On Tuesday 07 December 2010 23:40:28 Denys Vlasenko wrote: > On Wednesday 08 December 2010 06:02, Rob Landley wrote: > > Log and first corrupted file attached. 100% reproducible. I can bisect > > it if you like... > > Does this help? > > http://busybox.net/downloads/fixes-1.18.0/busybox-1.18.0-bu

Re: 1.18.0 doesn't build defconfig on Ubuntu 9.04.

2010-12-08 Thread Denys Vlasenko
On Wednesday 08 December 2010 06:02, Rob Landley wrote: > Log and first corrupted file attached. 100% reproducible. I can bisect it > if > you like... Does this help? http://busybox.net/downloads/fixes-1.18.0/busybox-1.18.0-buildsys.patch Specifically, this part: - ech

Bisected the breakage.

2010-12-08 Thread Rob Landley
f718e3a0dbe47ed7ed0398fe4461d33c8f69c669 is first bad commit commit f718e3a0dbe47ed7ed0398fe4461d33c8f69c669 Author: Mike Frysinger Date: Tue Nov 16 07:29:12 2010 -0500 gen_build_files.sh: rewrite with sed The shell parsing of files is incredibly slow on many systems. With one

Re: Can I rely absolutely on what happens when a process dies.

2010-12-08 Thread Denys Vlasenko
On Tuesday 07 December 2010 18:40, David Collier wrote: > > What are you trying to achieve on a bigger scale? > > (I mean, using the pid from pidfile is an element of some > > bigger plan of yours. What is it?) > > thanks > > I'll take my chances on the shell going away - I can't have a perfect >

Re: Can I rely absolutely on what happens when a process dies.

2010-12-08 Thread Johannes Stezenbach
On Tue, Dec 07, 2010 at 11:43:53AM +, Bob Dunlop wrote: > > Pid files are not very robust in general. > > You can make you kill script a bit more robust with a simple check. Get > the pid from the file and examine "/proc//cmdline" which should > contain the name of the dhcp process as the fir

env question

2010-12-08 Thread Christopher Barry
Hi, I've tried doing: #!/usr/bin/env - /bin/bash and #!/usr/bin/env -i /bin/bash at the top of a script to clear out it's environment prior to running it, but it throws an error. Is there a better way to accomplish what I'm trying to do? Thanks -C ___