Re: Running Cyrus Imap under a different user

2010-11-04 Thread Bron Gondwana
On Thu, Nov 04, 2010 at 02:45:40PM +0100, Gabriele Bulfon wrote: > Oh yes, that's what I did infact :) but I'll have to be careful on next > downloads. > And also, should I be worried that 4.8 is not considered safe for cyrus-imap? 4.8 support has been added to upstream git - it will be in the ne

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
Oh yes, that's what I did infact :) but I'll have to be careful on next downloads. And also, should I be worried that 4.8 is not considered safe for cyrus-imap? -= Mail sent through WebTop2 =- -- Da: Patrick Boutilier

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Patrick Boutilier
On 11/04/2010 07:21 AM, Gabriele Bulfon wrote: oh oh, I found that imapd configure scripts searches for -ldb starting from 4.7, going down until it finds a good one I was so unlucky to put 4.8 inside my environment! :) Or just modify the configure script to also search for 4.8 :-) I wil

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
oh oh, I found that imapd configure scripts searches for -ldb starting from 4.7, going down until it finds a good one I was so unlucky to put 4.8 inside my environment! :) I will rebuild my environment with db4.7 and see what happens ;) thanks for all your help! Gabriele. -= Mail sent through

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
Yes, I also do the incdir. I did a "make clean" and re-run configure and make, now I noticed this last gcc line! gcc -L/sonicle/lib -Wl,-rpath,/sonicle/lib -L/sonicle/lib -o notifyd \ ../master/service.o notifyd.o notify_null.o notify_log.o notify_mailto.o notify_zephyr.o notify_external.o ../ima

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Simon Matter
> omg, I also noticed that saslauthd has the correct reference of libdb: > [soni...@sl cyrus-sasl-2.1.23]$ ldd /sonicle/sbin/saslauthd > linux-gate.so.1 =(0x00531000) > libcrypt.so.1 =/lib/libcrypt.so.1 (0x07121000) > libresolv.so.2 =/lib/libresolv.so.2 (0x00cf8000) > libldap-2.4.so.2 =/sonicle/lib

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
omg, I also noticed that saslauthd has the correct reference of libdb: [soni...@sl cyrus-sasl-2.1.23]$ ldd /sonicle/sbin/saslauthd linux-gate.so.1 =(0x00531000) libcrypt.so.1 =/lib/libcrypt.so.1 (0x07121000) libresolv.so.2 =/lib/libresolv.so.2 (0x00cf8000) libldap-2.4.so.2 =/sonicle/lib/libldap-2.4

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
Thanx Simon, I will consider your suggestion after trying another step. I tried this: [soni...@sl cyrus-imapd-2.4.2]$ ldd /sonicle/bin/ctl_cyrusdb linux-gate.so.1 =(0x0047d000) libsasl2.so.2 =/sonicle/lib/libsasl2.so.2 (0x00ee9000) libgssapi_krb5.so.2 =/sonicle/lib/libgssapi_krb5.so.2 (0x00d64000)

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Simon Matter
> The system is a Scientific Linux. > The imapd process just tries to exec and then fails and exit, as you can > see from the log. > This happens on any process that master tries to execv (e.g. > ctl_cyrusdb,imapd and s on). > Reading around, looks like execv brings all the parent environment, but

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
The system is a Scientific Linux. The imapd process just tries to exec and then fails and exit, as you can see from the log. This happens on any process that master tries to execv (e.g. ctl_cyrusdb,imapd and s on). Reading around, looks like execv brings all the parent environment, but not LD_LI

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Simon Matter
> Thanx, here is the output of master proc, and it looks it has all the > needed environment: > = > [soni...@sl imap]$ ps -ef | fgrep master > root 3370 1 0 09:26 pts/100:00:00 sh /sonicle/scripts/envrun >

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
Thanx, here is the output of master proc, and it looks it has all the needed environment: = [soni...@sl imap]$ ps -ef | fgrep master root 3370 1 0 09:26 pts/100:00:00 sh /sonicle/scripts/envrun /sonicle/