[Dovecot] subscription to mail folders not working properly anymore with dovecot1.0x ?
Hi
we run dovecot on sun solaris 9. I try to switch from dovecot 0.99.11 to dovecot 1.0, with ssl support turned on. The user's mail are stored in mbox format in Mail in their home dirs. I was not able to get the subscrition working properly with the new dovecot. New means: 1.0beta2 and now also 1.0.RC1 (beta9)
The client mailreaders are mainly thunderbird 1.0x and 1.5.x, Netscape Messenger, and SquirrelMail for web access.
The mail folder subscriptions stored in <usershome>/Mail/.subscriptions works fine with the dovecot 0.99.11.
With dovecot_1.0 the subscriptions get properly read, but as soon as the user wants to make any changes to them (for example subscribing to a new folder out of thunderbird), the subscriptions get lost, the file <usershome>/Mail/.subscriptions simply disappears.
Did I miss any point in the configuration? Or does someone else encounter the same problem?
Thx for any help!
-- Alain Hofer
/ ____/ / / / / / ____/ GLUE Software Engineering AG / / __/ / / / / / __/ Zieglerstr. 34, 3007 Bern, Switzerland / /_/ / /___/ /_/ / /___ Phone: +41-(0)31/385 3011 Fax: 3018 \____/_____/\____/_____/___mailto:hofer@glue.ch http://www.glue.ch
On 6/30/06, Alain Hofer hofer@glue.ch wrote:
With dovecot_1.0 the subscriptions get properly read, but as soon as the user wants to make any changes to them (for example subscribing to a new folder out of thunderbird), the subscriptions get lost, the file <usershome>/Mail/.subscriptions simply disappears.
Did I miss any point in the configuration? Or does someone else encounter the same problem?
I'm fairly sure that .subscriptions isn't used anymore after the 0.9 series. The file is just subscriptions, without a dot (as dot files are treated as folders IIRC). Not sure if you need to remove the old file, or if you can just move .subscriptions to subscriptions.
Try searching the list archives, I'm sure it's come up before
Tim
Linux Counter user #273956
Timothy White wrote:
On 6/30/06, Alain Hofer hofer@glue.ch wrote:
With dovecot_1.0 the subscriptions get properly read, but as soon as the user wants to make any changes to them (for example subscribing to a new folder out of thunderbird), the subscriptions get lost, the file <usershome>/Mail/.subscriptions simply disappears.
Did I miss any point in the configuration? Or does someone else encounter the same problem?
I'm fairly sure that .subscriptions isn't used anymore after the 0.9 series. The file is just subscriptions, without a dot (as dot files are treated as folders IIRC). Not sure if you need to remove the old file, or if you can just move .subscriptions to subscriptions.
Try searching the list archives, I'm sure it's come up before
Tim
Quotation from http://wiki.dovecot.org/UpgradingDovecot ... Subscriptions Maildir only: The filename that stores user subscriptions has changed from .subscriptions to subscriptions. (It is still called .subscriptions for mbox.) Just rename it: mv .subscriptions subscriptions ...
So, in Alain's case something could be wrong as he is using mbox format and in this case subscription file should be ".subscriptions". I do not use Solaris nor mbox format so I cannot help too much here.
Regards, Dumitru
On 2006-06-30 11:41:18 +0200, Alain Hofer wrote:
With dovecot_1.0 the subscriptions get properly read, but as soon as the user wants to make any changes to them (for example subscribing to a new folder out of thunderbird), the subscriptions get lost, the file <usershome>/Mail/.subscriptions simply disappears.
Did I miss any point in the configuration? Or does someone else encounter the same problem?
Maildir/subscriptions is used now. ".subscriptions" collides with the maildir naming scheme.
for /home i in $(find -type f -name .subscriptions) ; do cp -v "$i" "${i//.subscriptions/subscriptions}" done
or something similar should help you.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
As far as I understood the docs, dovecot still uses the .subscriptions file in our case: we do use the 'mbox' format to store the mails, not 'maildir'.
The '.subscription' file is being perfectly read in (so it must be found), only when attempting to make any changes to the subscriptions, it vanishes. -> see last posting (answer to timo's feedback) and the included truss dump.
thx for your feedback, cheers, Alain
On 2006-06-30 11:41:18 +0200, Alain Hofer wrote:
With dovecot_1.0 the subscriptions get properly read, but as soon as the user wants to make any changes to them (for example subscribing to a new folder out of thunderbird), the subscriptions get lost, the file <usershome>/Mail/.subscriptions simply disappears.
Did I miss any point in the configuration? Or does someone else encounter the same problem?
Maildir/subscriptions is used now. ".subscriptions" collides with the maildir naming scheme.
for /home i in $(find -type f -name .subscriptions) ; do cp -v "$i" "${i//.subscriptions/subscriptions}" done
or something similar should help you.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
-- Alain Hofer (PM webETV)
/ ____/ / / / / / ____/ GLUE Software Engineering AG / / __/ / / / / / __/ Zieglerstr. 34, 3007 Bern, Switzerland / /_/ / /___/ /_/ / /___ Phone: +41-(0)31/385 3011 Fax: 3018 \____/_____/\____/_____/___mailto:hofer@glue.ch http://www.glue.ch
On Fri, 2006-06-30 at 11:41 +0200, Alain Hofer wrote:
With dovecot_1.0 the subscriptions get properly read, but as soon as the user wants to make any changes to them (for example subscribing to a new folder out of thunderbird), the subscriptions get lost, the file <usershome>/Mail/.subscriptions simply disappears.
I can't think of why this would happen. Could you do truss -p <imap process pid> before doing the subscribing and then send me the log?
Or are you using NFS?
Hi Timo
thx for the quick answer!
first of all: yes, we do use NFS, with lockd in use. As far as I know, I thought to have set the correct values in dovecot.conf (changes to defaults and that are concerned: mmap_disable = yes for file locking, i used the following settings: mbox_write_locks = fcntl (I tried also without success mbox_write_locks = dotlock fcntl )
I did also try to use ... lock_method = dotlock mbox_write_locks = dotlock ...which didn't help eather.
In the attachement you'll find the complete output of truss concerning this imap process.
What I saw meanwhile truss log makes me suspecious:
1530: rename("/home/hofer/Mail/.subscriptions.lock", "/home/hofer/Mail/.subscriptions") = 0 1530: close(8) = 0 1530: brk(0x000BDCF8) = 0 1530: brk(0x000BFCF8) = 0 1530: write(1, " 2 O K S u b s c r i".., 27) = 27 1530: poll(0x000B6568, 3, 9908) = 1 1530: read(0, " 3 s u b s c r i b e ".., 4077) = 19 1530: stat64("/home/hofer/Mail/oe1", 0xFFBFF638) = 0 1530: time() = 1152008501 1530: lstat64("/home/hofer/Mail/.subscriptions.lock", 0xFFBFF428) Err#2 ENOENT 1530: stat64("/home/hofer/Mail/.temp.mzsun.1530.4f4ac63a44393bfd", 0xFFBFF3B8) Err#2 ENOENT 1530: open64("/home/hofer/Mail/.temp.mzsun.1530.4f4ac63a44393bfd", O_RDWR|O_CREAT|O_EXCL, 0666) = 8 1530: link("/home/hofer/Mail/.temp.mzsun.1530.4f4ac63a44393bfd", "/home/hofer/Mail/.subscriptions.lock") = 0 1530: unlink("/home/hofer/Mail/.temp.mzsun.1530.4f4ac63a44393bfd") = 0 1530: fstat64(8, 0xFFBFF538) = 0 1530: open64("/home/hofer/Mail/.subscriptions", O_RDONLY) Err#2 ENOENT
.subscriptions.lock is beeing successfully renamed to .subscriptions shortly afterwards, a read on the file .subscriptions fails.
Any help is greatly appreciated!
Cheers, Alain
On Fri, 2006-06-30 at 11:41 +0200, Alain Hofer wrote:
With dovecot_1.0 the subscriptions get properly read, but as soon as the user wants to make any changes to them (for example subscribing to a new folder out of thunderbird), the subscriptions get lost, the file <usershome>/Mail/.subscriptions simply disappears.
I can't think of why this would happen. Could you do truss -p <imap process pid> before doing the subscribing and then send me the log?
Or are you using NFS?
1460: fork() = 1530 1530: fork() (returning as child ...) = 1460 1530: getpid() = 1530 [1460] 1530: fcntl(16, F_DUP2FD, 0x00000000) = 0 1530: fcntl(16, F_DUP2FD, 0x00000001) = 1 1530: fcntl(21, F_DUP2FD, 0x00000002) = 2 1530: fcntl(0, F_GETFD, 0x00000000) = 0 1530: fcntl(0, F_SETFD, 0x00000000) = 0 1530: fcntl(1, F_GETFD, 0x00000000) = 0 1530: fcntl(1, F_SETFD, 0x00000000) = 0 1530: fcntl(2, F_GETFD, 0x00000000) = 0 1530: fcntl(2, F_SETFD, 0x00000000) = 0 1530: setrlimit64(RLIMIT_DATA, 0xFFBFE350) = 0 1530: setrlimit64(RLIMIT_VMEM, 0xFFBFE350) = 0 1530: setegid(50) = 0 1530: seteuid(108) = 0 1530: chdir("/home/hofer") = 0 1530: seteuid(0) = 0 1530: umask(077) = 077 1530: execve("/opt/imapd/dovecot-1.0.beta9/libexec/dovecot/imap", 0x00043850, 0x00055738) argc = 3 1530: *** SGID: rgid/egid/sgid = 1 / 50 / 50 *** 1530: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 1530: resolvepath("/opt/imapd/dovecot-1.0.beta9/libexec/dovecot/imap", "/opt/imapd/dovecot-1.0.beta9/libexec/dovecot/imap", 1023) = 49 1530: resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 1530: stat("/opt/imapd/dovecot-1.0.beta9/libexec/dovecot/imap", 0xFFBFF920) = 0 1530: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT 1530: stat("/opt/local/openssl/0.9.7b/lib/libdl.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/opt/sfw/gcc-3/lib/libdl.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/libdl.so.1", 0xFFBFF130) = 0 1530: open("/usr/lib/libdl.so.1", O_RDONLY) = 3 1530: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF390000 1530: mmap(0x00002000, 8192, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF39A000 1530: mmap(0xFF39A000, 1894, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF39A000 1530: resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19 1530: close(3) = 0 1530: stat("/opt/local/openssl/0.9.7b/lib/libssl.so.0.9.7", 0xFFBFF130) = 0 1530: open("/opt/local/openssl/0.9.7b/lib/libssl.so.0.9.7", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 278528, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF340000 1530: mmap(0xFF340000, 194369, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF340000 1530: mmap(0xFF37E000, 20100, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 188416) = 0xFF37E000 1530: munmap(0xFF370000, 57344) = 0 1530: resolvepath("/nas/solaris/local/openssl/0.9.7b/lib/libssl.so.0.9.7", "/nas/solaris/local/openssl/0.9.7b/lib/libssl.so.0.9.7", 1023) = 53 1530: memcntl(0xFF340000, 40112, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/opt/local/openssl/0.9.7b/lib/libcrypto.so.0.9.7", 0xFFBFF130) = 0 1530: open("/opt/local/openssl/0.9.7b/lib/libcrypto.so.0.9.7", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 1302528, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF180000 1530: mmap(0xFF180000, 1135413, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF180000 1530: mmap(0xFF2A4000, 92784, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 1130496) = 0xFF2A4000 1530: mmap(0xFF2BC000, 5216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF2BC000 1530: munmap(0xFF296000, 57344) = 0 1530: resolvepath("/nas/solaris/local/openssl/0.9.7b/lib/libcrypto.so.0.9.7", "/nas/solaris/local/openssl/0.9.7b/lib/libcrypto.so.0.9.7", 1023) = 56 1530: memcntl(0xFF180000, 241628, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/opt/local/openssl/0.9.7b/lib/libgcc_s.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/opt/sfw/gcc-3/lib/libgcc_s.so.1", 0xFFBFF130) = 0 1530: open("/opt/sfw/gcc-3/lib/libgcc_s.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 106496, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF320000 1530: mmap(0xFF320000, 31476, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF320000 1530: mmap(0xFF336000, 9156, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF336000 1530: munmap(0xFF328000, 57344) = 0 1530: resolvepath("/opt/sfw/gcc-3/lib/libgcc_s.so.1", "/opt/sfw/gcc-3/lib/libgcc_s.so.1", 1023) = 32 1530: memcntl(0xFF320000, 6036, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/opt/local/openssl/0.9.7b/lib/libsocket.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/opt/sfw/gcc-3/lib/libsocket.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/libsocket.so.1", 0xFFBFF130) = 0 1530: open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 114688, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF300000 1530: mmap(0xFF300000, 39550, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF300000 1530: mmap(0xFF31A000, 4333, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF31A000 1530: munmap(0xFF30A000, 65536) = 0 1530: resolvepath("/usr/lib/libsocket.so.1", "/usr/lib/libsocket.so.1", 1023) = 23 1530: memcntl(0xFF300000, 13792, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/opt/local/openssl/0.9.7b/lib/libnsl.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/opt/sfw/gcc-3/lib/libnsl.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/libnsl.so.1", 0xFFBFF130) = 0 1530: open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 712704, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF080000 1530: mmap(0xFF080000, 577978, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF080000 1530: mmap(0xFF11E000, 32732, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 581632) = 0xFF11E000 1530: mmap(0xFF126000, 30936, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF126000 1530: munmap(0xFF10E000, 65536) = 0 1530: resolvepath("/usr/lib/libnsl.so.1", "/usr/lib/libnsl.so.1", 1023) = 20 1530: memcntl(0xFF080000, 82168, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/opt/local/openssl/0.9.7b/lib/librt.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/opt/sfw/gcc-3/lib/librt.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/librt.so.1", 0xFFBFF130) = 0 1530: open("/usr/lib/librt.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 98304, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF2E0000 1530: mmap(0xFF2E0000, 21378, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF2E0000 1530: mmap(0xFF2F6000, 1736, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF2F6000 1530: munmap(0xFF2E6000, 65536) = 0 1530: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF2D0000 1530: resolvepath("/usr/lib/librt.so.1", "/usr/lib/librt.so.1", 1023) = 19 1530: memcntl(0xFF2E0000, 9364, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/opt/local/openssl/0.9.7b/lib/libsendfile.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/opt/sfw/gcc-3/lib/libsendfile.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/libsendfile.so.1", 0xFFBFF130) = 0 1530: open("/usr/lib/libsendfile.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 81920, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF160000 1530: mmap(0xFF160000, 1800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF160000 1530: mmap(0xFF172000, 348, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xFF172000 1530: munmap(0xFF162000, 65536) = 0 1530: resolvepath("/usr/lib/libsendfile.so.1", "/usr/lib/libsendfile.so.1", 1023) = 25 1530: memcntl(0xFF160000, 1212, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/opt/local/openssl/0.9.7b/lib/libc.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/opt/sfw/gcc-3/lib/libc.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: open("/usr/lib/libc.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 802816, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000 1530: mmap(0xFEF80000, 701392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEF80000 1530: mmap(0xFF03C000, 24692, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xFF03C000 1530: munmap(0xFF02C000, 65536) = 0 1530: resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18 1530: memcntl(0xFEF80000, 117384, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/usr/lib/libcrypto.so.0.9.7", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/libsocket.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libnsl.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libdl.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libgcc_s.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/libsocket.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libnsl.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libdl.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libgcc_s.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/opt/sfw/gcc-3/lib/libc.so.1", 0xFFBFF130) Err#2 ENOENT 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libnsl.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libdl.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libmp.so.2", 0xFFBFF130) = 0 1530: open("/usr/lib/libmp.so.2", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 90112, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF140000 1530: mmap(0xFF140000, 10804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF140000 1530: mmap(0xFF154000, 849, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF154000 1530: munmap(0xFF144000, 65536) = 0 1530: resolvepath("/usr/lib/libmp.so.2", "/usr/lib/libmp.so.2", 1023) = 19 1530: memcntl(0xFF140000, 2464, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/usr/lib/libaio.so.1", 0xFFBFF130) = 0 1530: open("/usr/lib/libaio.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 114688, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF060000 1530: mmap(0xFF060000, 32913, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF060000 1530: mmap(0xFF07A000, 1756, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF07A000 1530: munmap(0xFF06A000, 65536) = 0 1530: resolvepath("/usr/lib/libaio.so.1", "/usr/lib/libaio.so.1", 1023) = 20 1530: memcntl(0xFF060000, 6796, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libmd5.so.1", 0xFFBFF130) = 0 1530: open("/usr/lib/libmd5.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00010000, 81920, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000 1530: mmap(0xFEF60000, 5864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEF60000 1530: mmap(0xFEF72000, 456, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xFEF72000 1530: munmap(0xFEF62000, 65536) = 0 1530: resolvepath("/usr/lib/libmd5.so.1", "/usr/lib/libmd5.so.1", 1023) = 20 1530: memcntl(0xFEF60000, 1268, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(3) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libdl.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libdl.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFF130) = 0 1530: stat("/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1", 0xFFBFEEA8) = 0 1530: open("/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1", O_RDONLY) = 3 1530: mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 1530: mmap(0x00002000, 16384, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF388000 1530: mmap(0xFF388000, 13544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF388000 1530: resolvepath("/usr/platform/sun4u/lib/libc_psr.so.1libc_psr.so.1", "/usr/platform/sun4u/lib/libc_psr.so.1", 1023) = 37 1530: close(3) = 0 1530: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF050000 1530: munmap(0xFF390000, 8192) = 0 1530: getustack(0xFFBFF774) 1530: getrlimit(RLIMIT_STACK, 0xFFBFF76C) = 0 1530: getcontext(0xFFBFF5A8) 1530: setustack(0xFF0438F4) 1530: sysconfig(_CONFIG_STACK_PROT) = 3 1530: sysconfig(_CONFIG_SEM_VALUE_MAX) = 2147483647 1530: munmap(0xFF050000, 8192) = 0 1530: fcntl(3, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(4, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(5, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(6, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(7, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(8, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(9, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(10, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(11, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(12, F_GETFD, 0x00000000) Err#9 EBADF . . . . many lines discarded . . . 1530: fcntl(1017, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(1018, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(1019, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(1020, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(1021, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(1022, F_GETFD, 0x00000000) Err#9 EBADF 1530: fcntl(1023, F_GETFD, 0x00000000) Err#9 EBADF 1530: time() = 1152008501 1530: brk(0x000ABCF8) = 0 1530: brk(0x000B1CF8) = 0 1530: uname(0xFFBFF500) = 1 1530: getpid() = 1530 [1460] 1530: open64("/dev/urandom", O_RDONLY) = 3 1530: read(3, "B1 q ( \", 4) = 4 1530: fcntl(3, F_GETFD, 0x00000000) = 0 1530: fcntl(3, F_SETFD, 0x00000001) = 0 1530: getgid() = 1 [50] 1530: setgid(50) = 0 1530: sysconfig(_CONFIG_NGROUPS) = 16 1530: open("/etc/default/nss", O_RDONLY|O_LARGEFILE) = 4 1530: fcntl(4, F_DUPFD, 0x00000100) Err#22 EINVAL 1530: read(4, " # i d e n t\t " @ ( #".., 1024) = 749 1530: read(4, 0x000AFEF0, 1024) = 0 1530: close(4) = 0 1530: open("/etc/nsswitch.conf", O_RDONLY|O_LARGEFILE) = 4 1530: fcntl(4, F_DUPFD, 0x00000100) Err#22 EINVAL 1530: read(4, " #\n # / e t c / n s s".., 1024) = 1024 1530: read(4, " e t u r n ] f i l e s".., 1024) = 386 1530: brk(0x000B1CF8) = 0 1530: brk(0x000B3CF8) = 0 1530: read(4, 0x000AFF50, 1024) = 0 1530: close(4) = 0 1530: stat("/usr/lib/nss_files.so.1", 0xFFBFEC30) = 0 1530: open("/usr/lib/nss_files.so.1", O_RDONLY) = 4 1530: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 4, 0) = 0xFF050000 1530: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF50000 1530: mmap(0x00010000, 98304, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF30000 1530: mmap(0xFEF30000, 19054, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFEF30000 1530: mmap(0xFEF46000, 1736, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 24576) = 0xFEF46000 1530: munmap(0xFEF36000, 65536) = 0 1530: resolvepath("/usr/lib/nss_files.so.1", "/usr/lib/nss_files.so.1", 1023) = 23 1530: memcntl(0xFEF30000, 6232, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(4) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libnsl.so.1", 0xFFBFEB70) = 0 1530: munmap(0xFF050000, 8192) = 0 1530: open("/etc/group", O_RDONLY|O_LARGEFILE) = 4 1530: fcntl(4, F_DUPFD, 0x00000100) Err#22 EINVAL 1530: read(4, " r o o t : : 0 : r o o t".., 1024) = 504 1530: brk(0x000B3CF8) = 0 1530: brk(0x000B5CF8) = 0 1530: read(4, 0x000AFFC8, 1024) = 0 1530: close(4) = 0 1530: stat("/usr/lib/nss_ldap.so.1", 0xFFBFEC30) = 0 1530: open("/usr/lib/nss_ldap.so.1", O_RDONLY) = 4 1530: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 4, 0) = 0xFF050000 1530: mmap(0x00010000, 131072, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF00000 1530: mmap(0xFEF00000, 51650, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFEF00000 1530: mmap(0xFEF1E000, 4517, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 57344) = 0xFEF1E000 1530: munmap(0xFEF0E000, 65536) = 0 1530: resolvepath("/usr/lib/nss_ldap.so.1", "/usr/lib/nss_ldap.so.1", 1023) = 22 1530: memcntl(0xFEF00000, 11372, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(4) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libsldap.so.1", 0xFFBFEB70) = 0 1530: open("/usr/lib/libsldap.so.1", O_RDONLY) = 4 1530: mmap(0xFF050000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFF050000 1530: mmap(0x00010000, 147456, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEED0000 1530: mmap(0xFEED0000, 130272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFEED0000 1530: mmap(0xFEEF0000, 10745, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 131072) = 0xFEEF0000 1530: resolvepath("/usr/lib/libsldap.so.1", "/usr/lib/libsldap.so.1", 1023) = 22 1530: memcntl(0xFEED0000, 20040, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(4) = 0 1530: stat("/usr/lib/libnsl.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libsocket.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libldap.so.5", 0xFFBFEB70) = 0 1530: open("/usr/lib/libldap.so.5", O_RDONLY) = 4 1530: mmap(0xFF050000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFF050000 1530: mmap(0x00010000, 1040384, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFED80000 1530: mmap(0xFED80000, 907675, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFED80000 1530: mmap(0xFEE6E000, 40916, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 909312) = 0xFEE6E000 1530: mmap(0xFEE78000, 20296, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEE78000 1530: munmap(0xFEE5E000, 65536) = 0 1530: resolvepath("/usr/lib/libldap.so.5", "/usr/lib/libldap.so.5", 1023) = 21 1530: memcntl(0xFED80000, 54688, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(4) = 0 1530: stat("/usr/lib/libnsl.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libldap.so.5", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libdoor.so.1", 0xFFBFEB70) = 0 1530: open("/usr/lib/libdoor.so.1", O_RDONLY) = 4 1530: mmap(0xFF050000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFF050000 1530: mmap(0x00010000, 81920, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEEB0000 1530: mmap(0xFEEB0000, 3655, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFEEB0000 1530: mmap(0xFEEC2000, 616, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 8192) = 0xFEEC2000 1530: munmap(0xFEEB2000, 65536) = 0 1530: resolvepath("/usr/lib/libdoor.so.1", "/usr/lib/libdoor.so.1", 1023) = 21 1530: memcntl(0xFEEB0000, 2528, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 1530: close(4) = 0 1530: stat("/usr/lib/librt.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libsocket.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libnsl.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libdl.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libmd5.so.1", 0xFFBFEB70) = 0 1530: stat("/usr/lib/libc.so.1", 0xFFBFEB70) = 0 1530: munmap(0xFF050000, 8192) = 0 1530: sysinfo(SI_SRPC_DOMAIN, "glue.ch", 256) = 8 1530: brk(0x000B5CF8) = 0 1530: brk(0x000B7CF8) = 0 1530: open("/var/run/ldap_cache_door", O_RDONLY) = 4 1530: fcntl(4, F_SETFD, 0x00000001) = 0 1530: door_info(4, 0xFEEF2A00) = 0 1530: door_call(4, 0xFFBFE760) = 0 1530: sysinfo(SI_SRPC_DOMAIN, "glue.ch", 256) = 8 1530: time() = 1152008501 1530: door_info(4, 0xFFBFAF30) = 0 1530: door_call(4, 0xFFBFAF18) = 0 1530: open("/etc/nsswitch.conf", O_RDONLY|O_LARGEFILE) = 5 1530: fcntl(5, F_DUPFD, 0x00000100) Err#22 EINVAL 1530: read(5, " #\n # / e t c / n s s".., 1024) = 1024 1530: read(5, " e t u r n ] f i l e s".., 1024) = 386 1530: read(5, 0x000B5338, 1024) = 0 1530: close(5) = 0 1530: open("/etc/netconfig", O_RDONLY|O_LARGEFILE) = 5 1530: fcntl(5, F_DUPFD, 0x00000100) Err#22 EINVAL 1530: read(5, " # p r a g m a i d e n".., 1024) = 1024 1530: read(5, " t s t p i _ c".., 1024) = 215 1530: read(5, 0x000B6578, 1024) = 0 1530: lseek(5, 0, SEEK_SET) = 0 1530: read(5, " # p r a g m a i d e n".., 1024) = 1024 1530: read(5, " t s t p i _ c".., 1024) = 215 1530: read(5, 0x000B6578, 1024) = 0 1530: close(5) = 0 1530: open("/dev/udp", O_RDONLY) = 5 1530: ioctl(5, 0xC00C6982, 0xFFBFC69C) = 0 1530: close(5) = 0 1530: open64("/var/run/name_service_door", O_RDONLY) = 5 1530: fcntl(5, F_SETFD, 0x00000001) = 0 1530: door_info(5, 0xFF042748) = 0 1530: door_call(5, 0xFFBFA608) = 0 1530: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", 1) = 6 1530: sigfillset(0xFF042940) = 0 1530: sigprocmask(SIG_BLOCK, 0xFFBFC868, 0xFFBFC858) = 0 1530: fcntl(6, F_GETFL, 0x00000000) = 2 1530: fcntl(6, F_SETFL, 0x00000082) = 0 1530: connect(6, 0xFFBFC878, 16, 1) Err#150 EINPROGRESS 1530: poll(0xFFBFC638, 1, 10000) = 1 1530: getsockopt(6, SOL_SOCKET, SO_ERROR, 0xFFBFC7EC, 0xFFBFC6E0, 1) = 0 1530: fcntl(6, F_SETFL, 0x00000002) = 0 1530: sigprocmask(SIG_SETMASK, 0xFFBFC858, 0x00000000) = 0 1530: time() = 1152008501 1530: write(6, " 0 6020101 ` 102010304 &".., 56) = 56 1530: time() = 1152008501 1530: poll(0x000B5AA8, 5, 10000) = 1 1530: brk(0x000B7CF8) = 0 1530: brk(0x000B9CF8) = 0 1530: read(6, " 0\f020101 a07\n01\004\0".., 8192) = 14 1530: time() = 1152008501 1530: time() = 1152008501 1530: write(6, " 08188020102 c81820416 o".., 139) = 139 1530: time() = 1152008501 1530: poll(0x000B5AA8, 5, 30000) = 1 1530: read(6, " 0\f020102 e07\n01\004\0".., 8192) = 14 1530: time() = 1152008501 1530: write(6, " 005020103 B\0", 7) = 7 1530: close(6) = 0 1530: setgroups(2, 0x000AFEA8) = 0 1530: getgroups(0, 0x00000000) = 2 1530: getgroups(2, 0x000ABD28) = 2 1530: setuid(108) = 0 1530: setuid(0) Err#1 EPERM 1530: getgid() = 50 [50] 1530: getgid() = 50 [50] 1530: setgid(0) Err#1 EPERM 1530: sigaction(SIGINT, 0xFFBFF958, 0x00000000) = 0 1530: pipe() = 6 [7] 1530: fcntl(6, F_GETFD, 0x00000000) = 0 1530: fcntl(6, F_SETFD, 0x00000001) = 0 1530: fcntl(7, F_GETFD, 0x00000000) = 0 1530: fcntl(7, F_SETFD, 0x00000001) = 0 1530: sigaction(SIGTERM, 0xFFBFF958, 0x00000000) = 0 1530: sigaction(SIGPIPE, 0xFFBFF958, 0x00000000) = 0 1530: sigaction(SIGALRM, 0xFFBFF958, 0x00000000) = 0 1530: getuid() = 108 [108] 1530: getgid() = 50 [50] 1530: write(2, "01 I E f f e c t i v e ".., 28) = 28 1530: access("/home/hofer/Maildir", 7) Err#2 ENOENT 1530: write(2, "01 I m a i l d i r : a".., 79) = 79 1530: access("/cur", 7) Err#2 ENOENT 1530: write(2, "01 I m a i l d i r : c".., 34) = 34 1530: access("/home/hofer/mail", 7) Err#2 ENOENT 1530: write(2, "01 I m b o x : r o o t".., 78) = 78 1530: access("/home/hofer/Mail", 7) = 0 1530: write(2, "01 I m b o x : r o o t".., 39) = 39 1530: lstat64("/home/hofer/Mail", 0xFFBFF868) = 0 1530: access("/var/mail/hofer", 6) = 0 1530: write(2, "01 I m b o x : I N B O".., 39) = 39 1530: write(2, "01 I m b o x : r o o t".., 77) = 77 1530: fcntl(0, F_GETFL, 0x00000000) = 130 1530: fcntl(0, F_SETFL, 0x00000082) = 0 1530: fcntl(1, F_GETFL, 0x00000000) = 130 1530: fcntl(1, F_SETFL, 0x00000082) = 0 1530: fstat64(0, 0xFFBFF8E8) = 0 1530: llseek(1, 0, SEEK_CUR) Err#29 ESPIPE 1530: getsockname(1, 0xFFBFF868, 0xFFBFF864, 1) = 0 1530: brk(0x000B9CF8) = 0 1530: brk(0x000BBCF8) = 0 1530: brk(0x000BBCF8) = 0 1530: brk(0x000BDCF8) = 0 1530: poll(0x000B6568, 3, 9980) = 1 1530: read(0, " 2 s u b s c r i b e ".., 4096) = 19 1530: stat64("/home/hofer/Mail/oe2", 0xFFBFF638) = 0 1530: time() = 1152008501 1530: lstat64("/home/hofer/Mail/.subscriptions.lock", 0xFFBFF428) Err#2 ENOENT 1530: stat64("/home/hofer/Mail/.temp.mzsun.1530.a2c49516d7f60548", 0xFFBFF3B8) Err#2 ENOENT 1530: open64("/home/hofer/Mail/.temp.mzsun.1530.a2c49516d7f60548", O_RDWR|O_CREAT|O_EXCL, 0666) = 8 1530: link("/home/hofer/Mail/.temp.mzsun.1530.a2c49516d7f60548", "/home/hofer/Mail/.subscriptions.lock") = 0 1530: unlink("/home/hofer/Mail/.temp.mzsun.1530.a2c49516d7f60548") = 0 1530: fstat64(8, 0xFFBFF538) = 0 1530: open64("/home/hofer/Mail/.subscriptions", O_RDONLY) = 9 1530: fstat64(9, 0xFFBFF610) = 0 1530: llseek(8, 0, SEEK_CUR) = 0 1530: fstat64(8, 0xFFBFF610) = 0 1530: pread64(9, " I N B O X\n t b 1\n t b".., 1024, 0) = 32 1530: write(8, " I N B O X", 5) = 5 1530: write(8, "\n", 1) = 1 1530: write(8, " t b 1", 3) = 3 1530: write(8, "\n", 1) = 1 1530: write(8, " t b F o l d e r", 8) = 8 1530: write(8, "\n", 1) = 1 1530: write(8, " t b F o l d e r / t b 3", 12) = 12 1530: write(8, "\n", 1) = 1 1530: pread64(9, 0x000BCF80, 992, 32) = 0 1530: write(8, " o e 2\n", 4) = 4 1530: close(9) = 0 1530: fstat64(8, 0xFFBFF610) = 0 1530: lstat64("/home/hofer/Mail/.subscriptions.lock", 0xFFBFF578) = 0 1530: rename("/home/hofer/Mail/.subscriptions.lock", "/home/hofer/Mail/.subscriptions") = 0 1530: close(8) = 0 1530: brk(0x000BDCF8) = 0 1530: brk(0x000BFCF8) = 0 1530: write(1, " 2 O K S u b s c r i".., 27) = 27 1530: poll(0x000B6568, 3, 9908) = 1 1530: read(0, " 3 s u b s c r i b e ".., 4077) = 19 1530: stat64("/home/hofer/Mail/oe1", 0xFFBFF638) = 0 1530: time() = 1152008501 1530: lstat64("/home/hofer/Mail/.subscriptions.lock", 0xFFBFF428) Err#2 ENOENT 1530: stat64("/home/hofer/Mail/.temp.mzsun.1530.4f4ac63a44393bfd", 0xFFBFF3B8) Err#2 ENOENT 1530: open64("/home/hofer/Mail/.temp.mzsun.1530.4f4ac63a44393bfd", O_RDWR|O_CREAT|O_EXCL, 0666) = 8 1530: link("/home/hofer/Mail/.temp.mzsun.1530.4f4ac63a44393bfd", "/home/hofer/Mail/.subscriptions.lock") = 0 1530: unlink("/home/hofer/Mail/.temp.mzsun.1530.4f4ac63a44393bfd") = 0 1530: fstat64(8, 0xFFBFF538) = 0 1530: open64("/home/hofer/Mail/.subscriptions", O_RDONLY) Err#2 ENOENT 1530: llseek(8, 0, SEEK_CUR) = 0 1530: fstat64(8, 0xFFBFF610) = 0 1530: write(8, " o e 1\n", 4) = 4 1530: fstat64(8, 0xFFBFF610) = 0 1530: lstat64("/home/hofer/Mail/.subscriptions.lock", 0xFFBFF578) = 0 1530: rename("/home/hofer/Mail/.subscriptions.lock", "/home/hofer/Mail/.subscriptions") = 0 1530: close(8) = 0 1530: write(1, " 3 O K S u b s c r i".., 27) = 27 1530: poll(0x000B6568, 3, 9831) = 1 1530: read(0, " 4 l s u b " " " *".., 4058) = 15 1530: open64("/home/hofer/Mail/.subscriptions", O_RDONLY) Err#2 ENOENT 1530: write(1, " 4 O K L s u b c o".., 22) = 22 1530: poll(0x000B6568, 3, 9828) = 1 1530: read(0, " 5 l i s t " " " I".., 4043) = 19 1530: brk(0x000BFCF8) = 0 1530: brk(0x000C1CF8) = 0 1530: open("/home/hofer/Mail/", O_RDONLY|O_NDELAY|O_LARGEFILE) = 8 1530: fstat64(8, 0xFFBFF4E0) = 0 1530: fcntl(8, F_SETFD, 0x00000001) = 0 1530: getdents64(8, 0x000BE1D8, 8192) = 752 1530: getdents64(8, 0x000BE1D8, 8192) = 0 1530: close(8) = 0 1530: stat64("/var/mail/hofer", 0xFFBFF558) = 0 1530: write(1, " * L I S T ( \ N o I".., 67) = 67 1530: poll(0x000B6568, 3, 9808) = 1 1530: read(0, " 6 l i s t " " " T".., 4024) = 19 1530: open("/home/hofer/Mail/", O_RDONLY|O_NDELAY|O_LARGEFILE) = 8 1530: fstat64(8, 0xFFBFF4E0) = 0 1530: fcntl(8, F_SETFD, 0x00000001) = 0 1530: getdents64(8, 0x000BE1D8, 8192) = 752 1530: stat64("/home/hofer/Mail//Trash", 0xFFBFF4E8) = 0 1530: getdents64(8, 0x000BE1D8, 8192) = 0 1530: close(8) = 0 1530: write(1, " * L I S T ( \ N o I".., 67) = 67 1530: poll(0x000B6568, 3, 9800) = 1 1530: read(0, " 7 c r e a t e " T r".., 4005) = 18 1530: stat64("/home/hofer/Mail/Trash", 0xFFBFF6A8) = 0 1530: write(1, " 7 N O M a i l b o x".., 22) = 22 1530: poll(0x000B6568, 3, 9797) (sleeping...) 1530: poll(0x000B6568, 3, 9797) = 1 1530: read(0, " 8 l o g o u t\r\n", 3987) = 10 1530: write(1, " * B Y E L o g g i n".., 19) = 19 1530: write(1, " 8", 1) Err#32 EPIPE 1530: Received signal #13, SIGPIPE [ignored] 1530: write(2, "01 I D i s c o n n e c t".., 27) = 27 1530: fcntl(0, F_GETFD, 0x00000000) = 0 1530: close(0) = 0 1530: close(1) = 0 1530: fcntl(2, F_GETFD, 0x00000000) = 0 1530: close(3) = 0 1530: fcntl(6, F_GETFD, 0x00000000) = 1 1530: close(6) = 0 1530: close(7) = 0 1530: _exit(0)
On Tue, 2006-07-04 at 15:17 +0200, Alain Hofer wrote:
What I saw meanwhile truss log makes me suspecious:
1530: rename("/home/hofer/Mail/.subscriptions.lock", "/home/hofer/Mail/.subscriptions") = 0 .. 1530: open64("/home/hofer/Mail/.subscriptions", O_RDONLY) Err#2 ENOENT
This is the same problem as I heard before from another Solaris NFS user. I think this is clearly a bug in it. The rename succeeds and nothing ever deletes the file, so it should exist. This can be worked around by closing the file descriptor before doing rename().
The attached patch probably helps, but I'm not sure if it fixes all the problems. I'd suggest checking if there are patches to Solaris itself that fix this. If there are, I'd like to hear about them so I can in future refer people to them.
The attached patch probably helps, but I'm not sure if it fixes all the problems. I'd suggest checking if there are patches to Solaris itself that fix this.
So far I could check, the patch workes perfectly, the problem I had seems to be resolved. THX!
If there are, I'd like to hear about them so I can in future refer people to them. I'll check for possible Solaris Patches and let you know.
Thanks, Alain
participants (5)
-
Alain Hofer
-
Dumitru Negara
-
Marcus Rueckert
-
Timo Sirainen
-
Timothy White