[vchkpw] Re: Segfaulting in vadddomain

2006-06-21 Thread Robin Bowes
Rick Widmer wrote: Rick Widmer wrote: The fix is in head, and a die is enclosed. s/die/diff/ Heh, I was wondering ... R.

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-20 Thread Rick Widmer
Tom Collins wrote: Rick, If you can get a patch to me (that fixes the segfault in the users/assign sorting code when a domain doesn't have a dot in it) by the end of the week, I'll work at getting another vpopmail release out (with your patch, and others in my queue). The fix is in head,

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-20 Thread Rick Widmer
Rick Widmer wrote: The fix is in head, and a die is enclosed. s/die/diff/

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-19 Thread Tom Collins
On Jun 15, 2006, at 10:54 AM, Manuzhai wrote: What trips up vpopmail: the localhost line. I'm not sure whether this *should* be valid or not, but the extract_domain() function in vpopmail.c sure doesn't like it. Here's what it looks like with the fprintf statements that are already in the code

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Manuzhai
Paul Oehler wrote: I believe I've seen this happen when the vpopmail/vchkpw user/group ids are incorrect - that is, they don't match the value specified in the assign file. Well, this looks maybe kind of off: enrai users # cd /var/vpopmail/bin/ enrai bin # ls -l total 1504 -rwx--x--x 1 root

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Rainer Duffner
Manuzhai wrote: Paul Oehler wrote: I believe I've seen this happen when the vpopmail/vchkpw user/group ids are incorrect - that is, they don't match the value specified in the assign file. Well, this looks maybe kind of off: enrai users # cd /var/vpopmail/bin/ enrai bin # ls -l total 1504

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Boris Pavlov
Bill Gradwohl wrote: I had this problem a few weeks ago on a Fedora Core 4 system, and it turned out to be a problem somewhere in the kernel or support libraries. I reported it and it was resolved when a new kernel build came out. can you post here some more info - it will not be fedora, but

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Bill Gradwohl
On Thu, 2006-06-15 at 12:54 +0300, Boris Pavlov wrote: can you post here some more info - it will not be fedora, but if this is a kernel problem it can catch all of the distros. My report : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=191543 got rolled up into another existing error

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Manuzhai
Rainer Duffner wrote: I've got everything owned by vpopmail:vchkpw. Maybe that is the problem. Both enrai bin # chown root:root vchkpw and enrai bin # chown vpopmail:vpopmail * don't work; it still segfaults. Rainer Duffner wrote: Also, the output of id vpopmail is of interest. (To see

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Bill Gradwohl
On Thu, 2006-06-15 at 15:41 +0200, Manuzhai wrote: Bill Gradwohl wrote: I had this problem a few weeks ago on a Fedora Core 4 system, and it turned out to be a problem somewhere in the kernel or support libraries. I reported it and it was resolved when a new kernel build came out. It's

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Manuzhai
Bill Gradwohl wrote: It may not have been the kernel directly, but clib or one of the other O/S components. Think about it, Something changed on your box and you're segfaulting. That's exactly what happened to me and it was O/S related. Had nothing to do with vpopmail. Well, it wasn't the

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Bill Gradwohl
On Thu, 2006-06-15 at 17:24 +0200, Manuzhai wrote: Well, it wasn't the kernel, and it also wasn't glibc. I upgraded to a newer /bin/login, could that have anything to do with it? It was something on your box, and you'll have to figure out what it was that changed. You can follow the bugzilla

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Manuzhai
Manuzhai wrote: Any ideas on what I can do to fix this? (Always nice, a little self-quoting...) Okay, so I figured out what the problem is, I think. Lots of nice little fprintf(stderr, ...)'s later, I've come to the conclusion that Matt Brookings was right on the money stating that your

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Ken Jones
Manuzhai wrote: Manuzhai wrote: Any ideas on what I can do to fix this? (Always nice, a little self-quoting...) Okay, so I figured out what the problem is, I think. Lots of nice little fprintf(stderr, ...)'s later, I've come to the conclusion that Matt Brookings was right on the money

[vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Robin Bowes
Manuzhai wrote: What trips up vpopmail: the localhost line. I'm not sure whether this *should* be valid or not, but the extract_domain() function in vpopmail.c sure doesn't like it. I hit this problem too: http://sourceforge.net/mailarchive/forum.php?thread_id=9950580forum_id=34827 R.

[vchkpw] Re: Segfaulting in vadddomain

2006-06-14 Thread Manuzhai
try strace vadddomain ochtman.nl test and let us know what output you get Right; sorry, I'm not so well versed in C development. Since the output is quite big, I put it online: http://manuzhai.nl/strace-vadddomain.txt Hope this helps figuring out the problem! Regards, Manuzhai

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-14 Thread Jeremy Kitchen
On Wednesday 14 June 2006 12:44, Manuzhai wrote: try strace vadddomain ochtman.nl test and let us know what output you get Right; sorry, I'm not so well versed in C development. strace is useful for a lot more than just C development ;) Since the output is quite big, I put it online:

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-14 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manuzhai wrote: http://manuzhai.nl/strace-vadddomain.txt Can't say for sure from the strace output, as it only shows system calls, but it fails after reading from the assign file, and vpopmail is not very good at handling syntax errors in files. I

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-14 Thread Rick Macdougall
Jeremy Kitchen wrote: open(/var/qmail/users/assign, O_RDWR) = 7 it's opening users/assign as read-write? IMO, this should be read only, to protect the users/assign file in case something happens to the vadddomain process. Unless there's some reason I don't know about for opening it

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-14 Thread Jeremy Kitchen
On Wednesday 14 June 2006 17:37, Rick Macdougall wrote: Jeremy Kitchen wrote: open(/var/qmail/users/assign, O_RDWR) = 7 it's opening users/assign as read-write? IMO, this should be read only, to protect the users/assign file in case something happens to the vadddomain process. Unless

Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-14 Thread Paul Oehler
I believe I've seen this happen when the vpopmail/vchkpw user/group ids are incorrect - that is, they don't match the value specified in the assign file. Paul -- Paul Oehler NEXCESS.NET Internet Solutions http://nexcess.net 304 1/2 S. State St. Ann Arbor, MI 48104 1.866.NEXCESS

[vchkpw] Re: Segfaulting in vadddomain

2006-06-14 Thread Manuzhai
Matt Brookings wrote: Can't say for sure from the strace output, as it only shows system calls, but it fails after reading from the assign file, and vpopmail is not very good at handling syntax errors in files. I would assume your assign file has some sort of syntax error in it. Here is what