sh and process management

2006-07-16 Thread Gustavo Rios
Hey folks, i am trying to set a process as the session leader of its own. I wrote a simple program that handles that. It is working when i call it from my shell command line: $ sux -s -e -E \

Re: sh and process management

2006-07-16 Thread Otto Moerbeek
On Sun, 16 Jul 2006, Gustavo Rios wrote: Hey folks, i am trying to set a process as the session leader of its own. I wrote a simple program that handles that. It is working when i call it from my shell command line: $ sux -s -e -E \

Re: sh and process management

2006-07-16 Thread Philip Guenther
On 7/15/06, Gustavo Rios [EMAIL PROTECTED] wrote: i am trying to set a process as the session leader of its own. I wrote a simple program that handles that. It is working when i call it from my shell command line: ... But when i write a simple shell script like in : The process is not

Re: GDBM_File (GDBM::File)

2006-07-16 Thread janus
On Sat, Jul 15, 2006 at 02:23:36PM +0200, Karel Kulhavy wrote: On Sat, Jul 15, 2006 at 06:16:42PM +0800, Lars Hansson wrote: On Saturday 15 July 2006 18:02, Karel Kulhavy wrote: But gdbm is in ports. I don't understand why the binding was taken out of Perl. And how would the base

Re: X and Resolution Problems

2006-07-16 Thread Matthieu Herrb
jared r r spiegel wrote: On Fri, Jul 14, 2006 at 02:01:17PM -0700, Darrin Chandler wrote: found a modeline calculator and plugged in all the appropriate Here is one: http://www.tkk.fi/Misc/Electronics/faq/vga2rgb/calc.html an alternate: http://koala.ilog.fr/cgi-bin/nph-colas-modelines

Re: Boot panic with bsd.mp on a Compaq ProLiant 2500

2006-07-16 Thread François Chambaud
Jonathan Franks [EMAIL PROTECTED] writes: not sure if this will help or not, it seems that you might have a different issue here but this worked for me and I figured I'd at least point it out: http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5064 Thank you Jonathan for

Strange 3.9 lock-up

2006-07-16 Thread Maxim Bourmistrov
Hi [EMAIL PROTECTED] As I have mentioned before my 3.9-box locks up in a strange way: 1. it is pingable 2. syn-scan gives out open ports 3. but those ports are not accessable(for ex. I can not drop in into this box via ssh or browse port 80) This is a second lock-up after upgrade, box stays up

Re: Strange 3.9 lock-up

2006-07-16 Thread Samuel Moñux
2006/7/16, Maxim Bourmistrov [EMAIL PROTECTED]: Hi [EMAIL PROTECTED] As I have mentioned before my 3.9-box locks up in a strange way: 1. it is pingable 2. syn-scan gives out open ports 3. but those ports are not accessable(for ex. I can not drop in into this box via ssh or browse port 80)

strange kernel driver application behaviour

2006-07-16 Thread Mihai Popescu B. S.
Hello, I'm trying since 3.8 release to figure out what's wrong on my desktop computer. Now I'm running 3.9 and I still have this strange behaviour (dmesg attached to the end of this text block). The issue is related to the sound applications. The hardware is a VIA8233 AC97 + ICEnsemble ICE1232.

Re: Do mp3 concatenation programs exist?

2006-07-16 Thread Jonathan Schleifer
Peter Philipp [EMAIL PROTECTED] wrote: Oh did I say I change my MAC? Since it takes so long for the modem to learn it, I only do this on a daily basis. But I don't expect you to copy my behaviour or anything... That won't change anything. The provider keeps your telephon number. Or do you

Re: Do mp3 concatenation programs exist?

2006-07-16 Thread mal content
http://archives.neohapsis.com/archives/openbsd/cvs/2006-07/0032.html

Re: Do mp3 concatenation programs exist?

2006-07-16 Thread Timo Schoeler
thus Jonathan Schleifer spake: Peter Philipp [EMAIL PROTECTED] wrote: Oh did I say I change my MAC? Since it takes so long for the modem to learn it, I only do this on a daily basis. But I don't expect you to copy my behaviour or anything... That won't change anything. The provider keeps

Re: Strange 3.9 lock-up

2006-07-16 Thread Nick Holland
Maxim Bourmistrov wrote: Hi [EMAIL PROTECTED] As I have mentioned before my 3.9-box locks up in a strange way: 1. it is pingable 2. syn-scan gives out open ports 3. but those ports are not accessable(for ex. I can not drop in into this box via ssh or browse port 80) This is a second lock-up

Re: BOB is dying.

2006-07-16 Thread Darrin Chandler
On Sun, Jul 16, 2006 at 02:54:35PM -0400, Tim Donahue wrote: I swear, spam keeps getting wierder and wierder On Fri, 14 Jul 2006 20:43:50 -0700 (PDT) Anon Y. Mous [EMAIL PROTECTED] wrote: BOB is dying. Right turn on RED. Tired of spam? Yahoo! Mail has the best spam protection

How to make fsck run faster?

2006-07-16 Thread Antti Harri
Hello, I have a 3.8 machine with millions of files. The exact number of files varies a lot but it's always more than 5M. One day I had a power failure and I had to wait for fsck to complete on reboot. Fsck took more than two hours! At that time there were 8,8M files on the drive. Is there any

Re: BOB is dying.

2006-07-16 Thread Matthias Kilian
On Sun, Jul 16, 2006 at 02:54:35PM -0400, Tim Donahue wrote: I swear, spam keeps getting wierder and wierder It's not spam, it's modern art. You can use it for poetry. -- A typo a day, keeps the dictionnary away. -- Miod Vallat

Re: How to make fsck run faster?

2006-07-16 Thread janus
On Sun, Jul 16, 2006 at 10:45:55PM +0300, Antti Harri wrote: I have a 3.8 machine with millions of files. The exact number of files varies a lot but it's always more than 5M. One day I had a power failure and I had to wait for fsck to complete on reboot. Fsck took more than two hours! At that

Re: Kerberos

2006-07-16 Thread Jacob Yocom-Piatt
Original message Date: Sat, 15 Jul 2006 23:18:53 -0300 From: Gustavo Rios [EMAIL PROTECTED] Subject: Kerberos To: misc@openbsd.org Well, here i am again. I was expecting that the granted ticket always hold the address to which it is valid. After obtaining a ticket by means of

Two file eadem on the same directory

2006-07-16 Thread Gustavo Rios
He folks, i am facing this scenario i could never imagine to be possible (I am serious, ok). Look the entry for file q. # pwd;ls -li /root total 8 77 -rw-r--r-- 2 root wheel 578 Sep 10 2005 .cshrc 10869 -rw--- 1 root wheel 125 Sep 10 2005 .klogin 10870 -rw-r--r-- 1 root wheel

rwhod standard I/O

2006-07-16 Thread Gustavo Rios
i am trying to get standard messages for rwhod redirected bu i am not able to do it, does anybody know where the error is? # rwhod -d sendto 10.0.0.255.513 hostname etosha up 0:09 load 0.26, 0.28, 0.15 griosetosha:ttyp0 Jul 16 17:09 griosetosha:ttyp1 Jul 16 17:09 :05 grios

Re: How to make fsck run faster?

2006-07-16 Thread knitti
On 7/16/06, Antti Harri [EMAIL PROTECTED] wrote: Kernel is 3.8 GENERIC and there is one large ffs partition on the SATA disc, roughly the size of 180G. Most of the files make smaller slices and mount only the ones r/w which you absolutely need. the bigger a fs is, the longer it takes, and the

Re: Two file eadem on the same directory

2006-07-16 Thread Andy Hayward
On 7/16/06, Gustavo Rios [EMAIL PROTECTED] wrote: He folks, i am facing this scenario i could never imagine to be possible (I am serious, ok). Look the entry for file q. Does anybody here have an ideia about what is going on? [EMAIL PROTECTED]:/tmp$ touch q [EMAIL PROTECTED]:/tmp$ touch q

Re: Two file eadem on the same directory

2006-07-16 Thread Paul de Weerd
On Sun, Jul 16, 2006 at 05:13:52PM -0300, Gustavo Rios wrote: | He folks, | | i am facing this scenario i could never imagine to be possible (I am | serious, ok). Look the entry for file q. | | 10792 -rw-r--r-- 1 root wheel0 Jul 16 17:08 q | 10799 -rw-r--r-- 1 root wheel0 Jul 16 17:05

Re: Two file eadem on the same directory

2006-07-16 Thread Louis Bertrand
On Sun, 16 Jul 2006, Andy Hayward wrote: On 7/16/06, Gustavo Rios [EMAIL PROTECTED] wrote: He folks, i am facing this scenario i could never imagine to be possible (I am serious, ok). Look the entry for file q. Does anybody here have an ideia about what is going on? [EMAIL PROTECTED]:/tmp$

Re: How to make fsck run faster?

2006-07-16 Thread Antti Harri
On Sun, 16 Jul 2006, knitti wrote: On 7/16/06, Antti Harri [EMAIL PROTECTED] wrote: Kernel is 3.8 GENERIC and there is one large ffs partition on the SATA disc, roughly the size of 180G. Most of the files make smaller slices and mount only the ones r/w which you absolutely need. the bigger a

Expand /var

2006-07-16 Thread Gaby Vanhegan
So, I have this disk setup: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/sd0a 49.2G1.6G 45.2G 3%/ /dev/sd0g 181G2.0K172G 0%/backup /dev/sd0f 167G549M158G 0%/home /dev/sd0e 9.8G 12.0K9.3G 0%/tmp

Ambiguous man memcmp

2006-07-16 Thread Karel Kulhavy
otherwise returns the difference between the first two differing bytes Let's say already bytes b1[0] and b2[0] differ. The manpage doesn't say in which order the difference is calculated. Whether b1[0]-b2[0] or b2[0]-b1[0]. CL

Re: sh and process management

2006-07-16 Thread Gustavo Rios
Ok, here you have it: Code for apx_setuid : #include unistd.h long apx_setsid(void) { return setsid(); } Code for apx_setpgid : #include unistd.h int apx_setpgid(const long p, const long g) { return setpgid((pid_t)p, (pid_t)g); } Code for sux (main.c) : (the relevant part is

Re: How to make fsck run faster?

2006-07-16 Thread Raja Subramanian
On Sun, 16 Jul 2006, knitti wrote: The machine is doing backups, it copies yesterdays backup as hardlinks as base of the new backup and then updates it. Have a look at rdiff-backup.sf.net. It does incremental backups without hard linking. HTH. - Raja

Re: How to make fsck run faster?

2006-07-16 Thread Raja Subramanian
On 7/17/06, Raja Subramanian [EMAIL PROTECTED] wrote: On Sun, 16 Jul 2006, knitti wrote: The machine is doing backups, it copies yesterdays backup as hardlinks as base of the new backup and then updates it. Have a look at rdiff-backup.sf.net. It does incremental backups without hard

Re: Ambiguous man memcmp

2006-07-16 Thread Jason McIntyre
On Sun, Jul 16, 2006 at 10:55:13PM +0200, Karel Kulhavy wrote: otherwise returns the difference between the first two differing bytes Let's say already bytes b1[0] and b2[0] differ. The manpage doesn't say in which order the difference is calculated. Whether b1[0]-b2[0] or b2[0]-b1[0].

Re: sh and process management

2006-07-16 Thread Philip Guenther
On 7/16/06, Gustavo Rios [EMAIL PROTECTED] wrote: ... static int do_sid(const xlong f) { int r; if (r = 0, f 1) if (f 2) { if (apx_setsid() == -1) r = -1; } else r = apx_setpgid(0l, apx_getpid()); return r; } Wow, what an annoying

Re: BOB is dying.

2006-07-16 Thread Chris Zakelj
Matthias Kilian wrote: On Sun, Jul 16, 2006 at 02:54:35PM -0400, Tim Donahue wrote: I swear, spam keeps getting wierder and wierder It's not spam, it's modern art. You can use it for poetry. I thought it might have been one of those BSD is dying! trolls on slashdot, except they

Re: How to make fsck run faster?

2006-07-16 Thread Nick Holland
Antti Harri wrote: On Sun, 16 Jul 2006, knitti wrote: On 7/16/06, Antti Harri [EMAIL PROTECTED] wrote: Kernel is 3.8 GENERIC and there is one large ffs partition on the SATA disc, roughly the size of 180G. Most of the files make smaller slices and mount only the ones r/w which you absolutely

Re: Expand /var

2006-07-16 Thread Nick Holland
Gaby Vanhegan wrote: So, I have this disk setup: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/sd0a 49.2G1.6G 45.2G 3%/ /dev/sd0g 181G2.0K172G 0%/backup /dev/sd0f 167G549M158G 0%/home /dev/sd0e 9.8G 12.0K

Security Alert: Online Access Restricted

2006-07-16 Thread Halifax Bank plc
Problems reading this e-mail? July 2006 Halifax Online Logo [IMAGE] * Dear Valued customer, On the 14th of July 2006 at 16:00 GMT, our security systems recorded an unusual log in attempt into your online banking account. This attempt was made from a familiar IP Address (216.89.75.31).

Re: How to make fsck run faster?

2006-07-16 Thread Antti Harri
On Sun, 16 Jul 2006, Nick Holland wrote: nope, you can still likely use multiple partitions. Break your backup job into smaller chunks, put each chunk on its own partition. Or put each machine on its own partition. Or ... Interesting ideas. I didn't think that having the same amount of

Re: Dhcpd Bizarre!!!!!!!!!!!!!!!!

2006-07-16 Thread Rahul Sharma
Hi Nick, Thank for your replies. But in that case I have to search the dhcpd enteries and then parse the /var/log/ daemon. But I Just want to create another file with the format i like. Plz anybody help!!! Thanks in advance Rahul On 7/14/06, Nick Guenther [EMAIL PROTECTED] wrote: On

Re: Boot panic with bsd.mp on a Compaq ProLiant 2500

2006-07-16 Thread Nick Shank
I happened to read this as I was on my way out of the office for the week (yay for vacation, and a paid one at that) I don't recall the exact error, but on 3 different SMP slot 1 machines, bsd.mp under 3.9 complains about apic, and dies. PS shows swapper as the only thing active. Will look