Re: jail's adjkerntz

2009-05-20 Thread Steve Bertrand
alexus wrote: > what's weird is that i didn't get 'em before and now I do... Given all that you've ignored already, does that mean that: a) you knew about facts in your current implementation that failed recently in an upgrade b) you neglected to upgrade your documentation throughout the proced

Re: jail's adjkerntz

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 5:04 PM, Mel Flynn wrote: > On Wednesday 20 May 2009 22:56:26 alexus wrote: >> On Wed, May 20, 2009 at 5:31 AM, Herbert J. Skuhra > wrote: >> > 2009/5/20 alexus : >> >> inside of my jail i get following emails... >> >> >> >> adjkerntz[25058]: sysctl(set: "machdep.adjkerntz

Re: proftpd TLS

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 5:43 PM, wrote: > alexus wrote: >> ... i guess my main concern it not to run it as root now > > AFAIK it is normal for a daemon to run as root if it expects to > receive login credentials: > > * For any but the most minimal authentication scheme, it must be >  root to aut

Re: compiling FreeBSD date on Linux

2009-05-20 Thread Giorgos Keramidas
On Wed, 20 May 2009 14:45:59 -0300, francis keyes wrote: > Hmm... the date program looks pretty simple but I don't understand the > Makfile: > > #@(#)Makefile8.1 (Berkeley) 5/31/93 > # $FreeBSD: src/bin/date/Makefile,v 1.11.30.1 2009/04/15 03:14:26 kensmith > Exp $ > > PROG=date > SRCS

Re: proftpd TLS

2009-05-20 Thread perryh
alexus wrote: > ... i guess my main concern it not to run it as root now AFAIK it is normal for a daemon to run as root if it expects to receive login credentials: * For any but the most minimal authentication scheme, it must be root to authenticate the credentials. (A scheme which enables an

Re: xview problem

2009-05-20 Thread Rudolf Koenig
> and I get the same error for any other application using xview. IMHO it is a libX11 bug. The current libX11 version is compiled with USE_XCB, and the XCB implementation of XAllocID(dpy) (in the famous xcb_io.c) requires you to call the (private) _XIDHandler(dpy) function before calling it again

Re: ndis0 interrrupt storm

2009-05-20 Thread Chris Whitehouse
Chris Whitehouse wrote: Paul B. Mahol wrote: On 5/13/09, Chris Whitehouse wrote: Paul B. Mahol wrote: On 5/12/09, Chris Whitehouse wrote: Paul B. Mahol wrote: Just typing bt on db prompt for now should be enough. panic: sleeping thread cpuid = 0 KDB: enter: panic [thread pid 1497 tid 1000

Re: pthread_detach doesn't release memory

2009-05-20 Thread Peter Steele
>If I add a loop to your main() function, and add your missing >pthread_detach() call, here's the memory usage I see on each iteration: That was a typo in my posting. I in fact did use pthread_detach; the line got deleted as I was composing my email. >So it reached a steady state after 5 loop

Re: pthread_detach doesn't release memory

2009-05-20 Thread Dan Nelson
In the last episode (May 20), Peter Steele said: > I should have provided a little more detail. Even if I strip my thread > function down to nothing more than this: > > void *mythread(void* param) > { > pthread_exit(NULL); > } > > my application still grows by 128 bytes each time I spawn a

Re: jail's adjkerntz

2009-05-20 Thread Mel Flynn
On Wednesday 20 May 2009 22:56:26 alexus wrote: > On Wed, May 20, 2009 at 5:31 AM, Herbert J. Skuhra wrote: > > 2009/5/20 alexus : > >> inside of my jail i get following emails... > >> > >> adjkerntz[25058]: sysctl(set: "machdep.adjkerntz"): Operation not > >> permitted > >> > >> i dont remember

Re: proftpd TLS

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 4:57 PM, alexus wrote: > On Wed, May 20, 2009 at 10:47 AM, Mel Flynn > wrote: >> On Wednesday 20 May 2009 16:13:15 alexus wrote: >>> On Wed, May 20, 2009 at 7:46 AM, Mel Flynn >>> >>> wrote: >>> > On Tuesday 19 May 2009 21:18:48 alexus wrote: >>> >> On Tue, May 19, 2009 a

Re: proftpd TLS

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 10:47 AM, Mel Flynn wrote: > On Wednesday 20 May 2009 16:13:15 alexus wrote: >> On Wed, May 20, 2009 at 7:46 AM, Mel Flynn >> >> wrote: >> > On Tuesday 19 May 2009 21:18:48 alexus wrote: >> >> On Tue, May 19, 2009 at 2:26 PM, Mehul Ved wrote: >> >> > On Tue, May 19, 2009

Re: compiling FreeBSD date on Linux

2009-05-20 Thread Mel Flynn
#warning "Pedantic mode on" #define TOPIC "BSD build system tricks" On Wednesday 20 May 2009 21:57:02 Polytropon wrote: > > DPADD=${LIBUTIL} > > Needs to compile what ${LIBUTIL} point to, usually the > libutil directory in the src/ tree. This is the actual build dependency and the var is de

Re: jail's adjkerntz

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 5:31 AM, Herbert J. Skuhra wrote: > 2009/5/20 alexus : >> inside of my jail i get following emails... >> >> adjkerntz[25058]: sysctl(set: "machdep.adjkerntz"): Operation not permitted >> >> i dont remember getting these before... >> i did changed time zone recently though..

Re: jail's adjkerntz

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 3:34 AM, v wrote: > On Wed, May 20, 2009 at 1:42 PM, alexus wrote: >> inside of my jail i get following emails... >> >> adjkerntz[25058]: sysctl(set: "machdep.adjkerntz"): Operation not permitted >> >> i dont remember getting these before... >> i did changed time zone rece

Re: pthread_detach doesn't release memory

2009-05-20 Thread Peter Steele
I should have provided a little more detail. Even if I strip my thread function down to nothing more than this: void *mythread(void* param) { pthread_exit(NULL); } my application still grows by 128 bytes each time I spawn a thread with this function. There is no explicit memory for me to d

Re: compiling FreeBSD date on Linux

2009-05-20 Thread Polytropon
On Wed, 20 May 2009 14:45:59 -0300, francis keyes wrote: > Hmm... the date program looks pretty simple but I don't understand the > Makfile: > > #@(#)Makefile8.1 (Berkeley) 5/31/93 > # $FreeBSD: src/bin/date/Makefile,v 1.11.30.1 2009/04/15 03:14:26 kensmith > Exp $ > > PROG=date The

Re: compiling FreeBSD date on Linux

2009-05-20 Thread Mel Flynn
On Wednesday 20 May 2009 19:45:59 francis keyes wrote: > Hmm... the date program looks pretty simple but I don't understand the > Makfile: > > #@(#)Makefile8.1 (Berkeley) 5/31/93 > # $FreeBSD: src/bin/date/Makefile,v 1.11.30.1 2009/04/15 03:14:26 kensmith > Exp $ > > PROG=date > SRCS=

Re: pthread_detach doesn't release memory

2009-05-20 Thread Dan Nelson
In the last episode (May 20), Peter Steele said: > I create a thread using something like this: > > pthread_t thread; > pthread_create(&thread, NULL, mythread, NULL); > pthread_detach(thread); > > I use the detach because I want to make sure the thread's resource are > reclaimed when the thre

Re: compiling FreeBSD date on Linux

2009-05-20 Thread Roland Smith
On Wed, May 20, 2009 at 02:45:59PM -0300, francis keyes wrote: > Hmm... the date program looks pretty simple but I don't understand the > Makfile: > > #@(#)Makefile8.1 (Berkeley) 5/31/93 > # $FreeBSD: src/bin/date/Makefile,v 1.11.30.1 2009/04/15 03:14:26 kensmith > Exp $ > > PROG=date

Re: pthread_detach doesn't release memory

2009-05-20 Thread Steve Polyack
Peter Steele wrote: I create a thread using something like this: pthread_t thread; pthread_create(&thread, NULL, mythread, NULL); pthread_detach(thread); I use the detach because I want to make sure the thread's resource are reclaimed when the thread completes. However, this does not seem to

Re: Lenovo s9e or well supported netbook

2009-05-20 Thread Peter Harrison
Tuesday, 19 May 2009 at 6:38:05 -0600, Tim Judd said: > On Tue, May 19, 2009 at 5:32 AM, Peter Harrison > wrote: > > > Is anyone running FreeBSD on a Lenovo s9e? I'm in the market for a netbook, > > and have seen these fairly cheap but can't find anything on Google about > > anyone trying FreeBSD

pthread_detach doesn't release memory

2009-05-20 Thread Peter Steele
I create a thread using something like this: pthread_t thread; pthread_create(&thread, NULL, mythread, NULL); pthread_detach(thread); I use the detach because I want to make sure the thread's resource are reclaimed when the thread completes. However, this does not seem to work. Each time I

Re: compiling FreeBSD date on Linux

2009-05-20 Thread francis keyes
Hmm... the date program looks pretty simple but I don't understand the Makfile: #@(#)Makefile8.1 (Berkeley) 5/31/93 # $FreeBSD: src/bin/date/Makefile,v 1.11.30.1 2009/04/15 03:14:26 kensmith Exp $ PROG=date SRCS=date.c netdate.c vary.c DPADD=${LIBUTIL} LDADD=-lutil .inclu

No sound backend in kde4

2009-05-20 Thread Antonio Rieser
Hi, I recently (re)-installed kde4.1 from packages, and I now see nothing in the system settings/audio/backend, although I know that at least Jack is installed (from ports), and before I reinstalled, I had three options there. As a result, Juk does not even pretend to play files, although YouTube,

Re: Limiting resources in cron jobs

2009-05-20 Thread Mel Flynn
On Wednesday 20 May 2009 16:18:28 Kirk Strauser wrote: > On May 20, 2009, at 7:00 AM, Mel Flynn wrote: > > Check with top what the CPU time is, it's not the same as the wall > > clock. > > Give me *some* credit. :-) Sorry, haven't you heard? Financial crisis ;) Are you sure cron respects login.con

Re: proftpd TLS

2009-05-20 Thread Mel Flynn
On Wednesday 20 May 2009 16:13:15 alexus wrote: > On Wed, May 20, 2009 at 7:46 AM, Mel Flynn > > wrote: > > On Tuesday 19 May 2009 21:18:48 alexus wrote: > >> On Tue, May 19, 2009 at 2:26 PM, Mehul Ved wrote: > >> > On Tue, May 19, 2009 at 11:14 PM, alexus wrote: > >> >> i start it as a root, bu

Re: proftpd TLS

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 10:18 AM, alexus wrote: > On Wed, May 20, 2009 at 10:13 AM, alexus wrote: >> On Wed, May 20, 2009 at 7:46 AM, Mel Flynn >> wrote: >>> On Tuesday 19 May 2009 21:18:48 alexus wrote: On Tue, May 19, 2009 at 2:26 PM, Mehul Ved wrote: > On Tue, May 19, 2009 at 11:14

Re: Limiting resources in cron jobs

2009-05-20 Thread Kirk Strauser
On May 20, 2009, at 7:00 AM, Mel Flynn wrote: Check with top what the CPU time is, it's not the same as the wall clock. Give me *some* credit. :-) -- Kirk Strauser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: proftpd TLS

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 10:13 AM, alexus wrote: > On Wed, May 20, 2009 at 7:46 AM, Mel Flynn > wrote: >> On Tuesday 19 May 2009 21:18:48 alexus wrote: >>> On Tue, May 19, 2009 at 2:26 PM, Mehul Ved wrote: >>> > On Tue, May 19, 2009 at 11:14 PM, alexus wrote: >>> >> i start it as a root, but it

Re: proftpd TLS

2009-05-20 Thread alexus
On Wed, May 20, 2009 at 7:46 AM, Mel Flynn wrote: > On Tuesday 19 May 2009 21:18:48 alexus wrote: >> On Tue, May 19, 2009 at 2:26 PM, Mehul Ved wrote: >> > On Tue, May 19, 2009 at 11:14 PM, alexus wrote: >> >> i start it as a root, but it switchs to non-root >> >> >> >> nobody 52346  0.0  0.1 11

Re: FreeBSD 7.1 opencrypto --> kern.cryptodevallowsoft

2009-05-20 Thread Brendan Kennedy
> openssl speed -evp des-ede3-cbc -engine cryptodev works! thanks Brian. looking for that patch now... 2009/5/19 Patrick Lamaizière : > Le Tue, 19 May 2009 14:25:24 +0100, > Brendan Kennedy : > >> Agreed! The driver doesn't seem to be getting executed through >> OpenSSH/OpenSSL for ssh session s

Re: synchronize time

2009-05-20 Thread Mel Flynn
On Tuesday 19 May 2009 15:08:35 Greg Larkin wrote: > Mel Flynn wrote: > > On Saturday 16 May 2009 18:02:13 Roy Stuivenberg wrote: > >> Hi Mel, > >> > >> /etc/ntp.conf is empty. > > > > You'd need a server...Just one line is enough, f.e.: > > echo 'server ntp.xs4all.nl' >/etc/ntp.conf > > Hi all, >

Re: Limiting resources in cron jobs

2009-05-20 Thread Mel Flynn
On Saturday 16 May 2009 19:27:22 Kirk Strauser wrote: > www:\ > > :cputime=300:\ > :tc=default: > > I've run "cap_mkdb /etc/login.conf" to make that live. Then, I used > vipw to change www's class: > > www:*:80:80:www:0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin > > H

Re: proftpd TLS

2009-05-20 Thread Mel Flynn
On Tuesday 19 May 2009 21:18:48 alexus wrote: > On Tue, May 19, 2009 at 2:26 PM, Mehul Ved wrote: > > On Tue, May 19, 2009 at 11:14 PM, alexus wrote: > >> i start it as a root, but it switchs to non-root > >> > >> nobody 52346 0.0 0.1 11820 4208 ?? SsJ Sun06PM 0:00.66 > >> proftpd: (accep

Re: apache not starting on reboot

2009-05-20 Thread Mel Flynn
On Monday 18 May 2009 10:55:00 Odhiambo ワシントン wrote: > On Mon, May 18, 2009 at 11:03 AM, Brent Clark wrote: > > Hiya > > > > I have the following in my /etc/rc.conf > > > > mitm# cat /etc/rc.conf | grep apache > > apache22_enable="YES" > > mitm# > > > > The problem I seem to be experiencing is th

Xorg manual configuration

2009-05-20 Thread freebsd-questions
I haven't got any response to Xorg in a jail, so I'll try and wing it... That said, I do need some help trying to figure out how to: 1. Determine exactly what Xorg is probing for (what details it needs, etc). So far I think I need memory address ranges, chipsets, etc. Found a lot of stuff in th

Re: jail's adjkerntz

2009-05-20 Thread Daniel Bye
On Wed, May 20, 2009 at 11:31:46AM +0200, Herbert J. Skuhra wrote: > 2009/5/20 alexus : > > inside of my jail i get following emails... > > > > adjkerntz[25058]: sysctl(set: "machdep.adjkerntz"): Operation not permitted > > > > i dont remember getting these before... > > i did changed time zone rec

Re: Blowfish encryption key length

2009-05-20 Thread Ivan Voras
Kelly Jones wrote: > I want to use a random Blowfish key to encrypt files, so I did this: > > dd if=/dev/random of=mykey.bf count=100 bs=100 > > to create a 10K byte mykey.bf file. I can now encrypt foo.txt by doing: > > openssl enc -bf -pass file:mykey.bf -in foo.txt > foo.txt.encrypted > > Ho

Re: jail's adjkerntz

2009-05-20 Thread Herbert J. Skuhra
2009/5/20 alexus : > inside of my jail i get following emails... > > adjkerntz[25058]: sysctl(set: "machdep.adjkerntz"): Operation not permitted > > i dont remember getting these before... > i did changed time zone recently though... Hi! You can disable adjkerntz in /etc/crontab: #1,31 0-5

Re: jail's adjkerntz

2009-05-20 Thread v
On Wed, May 20, 2009 at 1:42 PM, alexus wrote: > inside of my jail i get following emails... > > adjkerntz[25058]: sysctl(set: "machdep.adjkerntz"): Operation not permitted > > i dont remember getting these before... > i did changed time zone recently though... > you have changed time zone in the

Re: Backing up FreeBSD and other Unix systems securely

2009-05-20 Thread Valentin Bud
On Mon, May 18, 2009 at 9:38 PM, Karl Vogel > wrote: > >> On Sun, 17 May 2009 09:12:57 -0700, > >> Kelly Jones said: > > K> I like this plan because it does versioned backups, and doesn't backup > K> identical files twice. I dislike it because I lose Mozy's unlimited disk > K> space. > > K> % Is

Re: Unable to read from CCID USB reader

2009-05-20 Thread Hans Petter Selasky
On Tuesday 19 May 2009, Mario Pavlov wrote: > Hi, > I tired CURRENT and it's working for me :) > I only have one small issue... > when I unplug the reader pcscd goes to some sort of infinite loop > it would print this forever: > > 48111939 ccid_usb.c:491:WriteUSB() usb_bulk_write(/dev/usb//dev/ugen