/etc/libmap.conf MFC?

2003-06-20 Thread Joe Kelsey
Does anyone have plans to MFC the /etc/libmap.conf functionality into stable? Just for curiosity, I tried the original patch on my stable sources and that patch applied with no errors. I have seen messages on CURRENT talking about fixes for various bugs, so I suspect that applying the original pa

Compiling Linuxthreads

2003-06-20 Thread Mark Hennessy
I'm trying to compile Linuxthreads from ports on my FreeBSD 4.8 system here, and for some reason I keep getting this: You can use an experimental patch to reduce the number of condition variable triggered context switches by defining WITH_CONDWAIT_PATCH Some unsafe calls to exit() can be detecte

Re: Zsh fork bomb paniced my kernel.

2003-06-20 Thread Matthias Buelow
Kris Kennaway writes: >Yes, this is a FAQ, and why resource limits exist. man login.conf It needs to be fixed nevertheless. I reported something similar back in, I think, ca. 1996 (also against NetBSD, iirc). Not much has been done it that area since, as it seems. With my fork bomb, the system

Re: Zsh fork bomb paniced my kernel.

2003-06-20 Thread Kris Kennaway
On Fri, Jun 20, 2003 at 05:55:16PM +0200, William Fletcher wrote: > Hi, > > My machine just bombed when I did the following stupid command. > :(){:|:};: > Zsh chewed up everything on the machine... > I ran it knowing I'd probably have to reboot. > > But, I hardly expected it to panic. > > Or, wa

Re: postfix patch error?

2003-06-20 Thread Kris Kennaway
On Thu, Jun 19, 2003 at 10:20:39PM -0500, Rick Flosi wrote: > I was doing 'make install clean' for the 'instant-workstation' port and > ended up with the following error. > > Does anyone know how to fix this error? It looks like you have extra files in your ports tree, possibly because of local c

Re: Zsh fork bomb paniced my kernel.

2003-06-20 Thread Mike Tancsa
Yes and no. It seems that if certain resources get starved bad things will happen. The OS will let you shoot yourself in the foot afterall. You can protect yourself from yourself by adjusting the defaults in /etc/login.conf. ---Mike At 05:55 PM 20/06/2003 +0200, William Fletcher wrot

Zsh fork bomb paniced my kernel.

2003-06-20 Thread William Fletcher
Hi, My machine just bombed when I did the following stupid command. :(){:|:};: Zsh chewed up everything on the machine... I ran it knowing I'd probably have to reboot. But, I hardly expected it to panic. Or, was that normal? Anyway, the following is some detail... Please mail me if there is mor

procfs problems -cmdline turncated at 256 bytes ?

2003-06-20 Thread Pete French
running 4.8 stable, the cmdline file in /proc/$$ seems to be trucated at, or before 256 bytes for very long command lines. I cant find any refernec to this behaviour in the manpage, nor does google reveal anything. I took a look in the source, but didnt properly understand what was going on - the

Re: How can convert user expired days in human readable ?

2003-06-20 Thread Raymond T. Sundland
Within the master.passwd, the time is stored in seconds since the Epoch, and there are standard C and POSIX functions for converting this into any format you want. I don't know much about python, but within Perl you can use strftime() to convert the date. You would do something similar to: s

Re: How can convert user expired days in human readable ?

2003-06-20 Thread Matthew Seaman
On Fri, Jun 20, 2003 at 03:36:06PM +0300, Murat USTUNTAS wrote: > On my system, some users have expire day user settings. I write a > (python) script > then parse the: 7.th selection in the master.passwd > > blabla:::::::1064005200:::: > > How can I conve