X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_40,RDNS_DYNAMIC,SARE_HEAD_DATE61,SARE_HEAD_DATE_LONG1,SPF_HELO_PASS,SPF_NEUTRAL,TVD_RCVD_IP X-Spam-Check-By: sourceware.org Message-ID: <4748.10.13.0.13.1263342705.squirrel@www.cuba.ionum.ch> In-Reply-To: <1087.10.13.0.13.1263147545.squirrel@www.cuba.ionum.ch> References: <1087 DOT 10 DOT 13 DOT 0 DOT 13 DOT 1263147545 DOT squirrel AT www DOT cuba DOT ionum DOT ch> Date: Wed, 13 Jan 2010 01:31:45 +0100 (Mitteleuropäische Zeit ) Subject: Re: Problems running courierauth (UNIX-sockets) - more information From: "Oliver Meier" To: cygwin AT cygwin DOT com Reply-To: meier DOT oli AT gmail DOT com User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi There I have more information concerning my courierauth problem strace of authdaemon gives me: -- snip -- 254 158676 [main] authdaemond 38964 path_conv::check: this->path(C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp), has_acls(1) 691 159367 [main] authdaemond 38964 alloc_sd: uid -1, gid -1, attribute 800001ED 98 159465 [main] authdaemond 38964 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-2662617662-1419630648-2448393657-1000 (+) 63 159528 [main] authdaemond 38964 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-2662617662-1419630648-2448393657-512 (+) 77 159605 [main] authdaemond 38964 alloc_sd: ACL-Size: 100 163 159768 [main] authdaemond 38964 alloc_sd: Created SD-Size: 176 485 160253 [main] authdaemond 38964 set_file_attribute: 0 = set_file_attribute (\??\C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, -1, -1, 0x800001ED) 133 160386 [main] authdaemond 38964 fhandler_base::set_flags: flags 0x10000, supplied_bin 0x0 52 160438 [main] authdaemond 38964 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000 46 160484 [main] authdaemond 38964 fhandler_base::set_flags: filemode set to binary 93163 253647 [main] authdaemond 38964 cygwin_bind: 0 = bind (5, 0x22CC70, 110) 111 253758 [main] authdaemond 38964 sig_send: sendsig 0x6F8, pid 38964, signal -34, its_me 1 68 253826 [main] authdaemond 38964 sig_send: wakeup 0x618 63 253889 [main] authdaemond 38964 sig_send: Waiting for pack.wakeup 0x618 64 253953 [sig] authdaemond 38964 wait_sig: signalling pack.wakeup 0x618 77 254030 [main] authdaemond 38964 sig_send: returning 0x0 from sending signal -34 6452 260482 [main] authdaemond 38964 cygwin_listen: 0 = listen (5, 2147483647) 106 260588 [main] authdaemond 38964 normalize_posix_path: src /usr/local/var/spool/authdaemon/socket.tmp 202 260790 [main] authdaemond 38964 normalize_posix_path: /usr/local/var/spool/authdaemon/socket.tmp = normalize_posix_path (/usr/local/var/spool/authdaemon/socket.tmp) 149 260939 [main] authdaemond 38964 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/local/var/spool/authdaemon/socket.tmp) 69 261008 [main] authdaemond 38964 set_flags: flags: binary (0x2) 60 261068 [main] authdaemond 38964 mount_info::conv_to_win32_path: src_path /usr/local/var/spool/authdaemon/socket.tmp, dst C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, flags 0x3000A, rc 0 323 261391 [main] authdaemond 38964 symlink_info::check: not a symlink 99 261490 [main] authdaemond 38964 symlink_info::check: 0 = symlink.check (C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, 0x22B0D8) (0x4003000A) 83 261573 [main] authdaemond 38964 path_conv::check: this->path(C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp), has_acls(1) 57 261630 [main] authdaemond 38964 build_fh_pc: fh 0x6120ED9C 57 261687 [main] authdaemond 38964 fhandler_base::open: (\??\C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, 0x110000) 118 261805 [main] authdaemond 38964 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x0 71 261876 [main] authdaemond 38964 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000 54 261930 [main] authdaemond 38964 fhandler_base::set_flags: filemode set to binary 51 261981 [main] authdaemond 38964 fhandler_base::open: 0 = NtCreateFile (0x618, E0100, \??\C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, io, NULL, 0, 7, 1, 4000, NULL, 0) 56 262037 [main] authdaemond 38964 fhandler_base::open: 1 = fhandler_base::open (\??\C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, 0x110000) 70 262107 [main] authdaemond 38964 fhandler_base::open_fs: 1 = fhandler_disk_file::open (\??\C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, 0x10000) 113 262220 [main] authdaemond 38964 alloc_sd: uid -1, gid -1, attribute C1FF 64 262284 [main] authdaemond 38964 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-2662617662-1419630648-2448393657-1000 (+) 54 262338 [main] authdaemond 38964 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-2662617662-1419630648-2448393657-512 (+) 58 262396 [main] authdaemond 38964 alloc_sd: ACL-Size: 100 102 262498 [main] authdaemond 38964 alloc_sd: Created SD-Size: 176 202 262700 [main] authdaemond 38964 set_file_attribute: 0 = set_file_attribute (\??\C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, -1, -1, 0xC1FF) 168 262868 [main] authdaemond 38964 fhandler_base::close: closing '/usr/local/var/spool/authdaemon/socket.tmp' handle 0x618 103 262971 [main] authdaemond 38964 chmod: 0 = chmod (/usr/local/var/spool/authdaemon/socket.tmp, 0x1FF) 67 263038 [main] authdaemond 38964 normalize_posix_path: src /usr/local/var/spool/authdaemon/socket.tmp 57 263095 [main] authdaemond 38964 normalize_posix_path: /usr/local/var/spool/authdaemon/socket.tmp = normalize_posix_path (/usr/local/var/spool/authdaemon/socket.tmp) 55 263150 [main] authdaemond 38964 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/local/var/spool/authdaemon/socket.tmp) 44 263194 [main] authdaemond 38964 set_flags: flags: binary (0x2) 46 263240 [main] authdaemond 38964 mount_info::conv_to_win32_path: src_path /usr/local/var/spool/authdaemon/socket.tmp, dst C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, flags 0x3000A, rc 0 374 263614 [main] authdaemond 38964 symlink_info::check: not a symlink 201 263815 [main] authdaemond 38964 symlink_info::check: 0 = symlink.check (C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp, 0x22AE48) (0x4003000A) 104 263919 [main] authdaemond 38964 path_conv::check: this->path(C:\cygwin\usr\local\var\spool\authdaemon\socket.tmp), has_acls(1) 61 263980 [main] authdaemond 38964 __set_errno: int rename(const char*, const char*):1764 val 30 52 264032 [main] authdaemond 38964 rename: -1 = rename (/usr/local/var/spool/authdaemon/socket.tmp, /usr/local/var/spool/authdaemon/socket) -- snip -- it seems, that /usr/local/var/spool/authdaemon/socket.tmp cannot be renamed. /usr/local/var/spool/authdaemond/ looks like: ls -l total 2 -rw-r--r-- 1 root Domain Admins 6 2010-01-13 00:37 pid -rw------- 1 root Domain Admins 0 2010-01-13 00:28 pid.lock srwxrwxrwx 1 root Domain Admins 0 2010-01-13 00:56 socket.tmp mv socket.tmp socket gives: mv: cannot move `socket.tmp' to `socket': Read-only file system permissions are ok. there seems a problem to rename a socket file. in windows environment i can rename socket.tmp without problems. can anyone help? thanks oliver -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple