Problems installing openssl-dev (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum



Message


steveh -> Problems installing openssl-dev (Feb. 16, '06, 11:34:43 AM)

When trying to install openssl-dev it seems to go into an infinite loop.
I've upgraded pkg-install, openssl and openssh just fine but installing openssl-dev just pegs the CPU at 100% and never returns ( left for 10mins so far ). Looking at filemon it seems to be looping round a directory scan of some sort

16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local        SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local        SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local        SUCCESS FileBasicInformation    
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local        SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local        SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local        SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local        SUCCESS Attributes: DA  
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local        SUCCESS FileInternalInformation 
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr\local        BUFFER OVERFLOW         
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr\local        SUCCESS         
16:34:00        PSXSS.EXE:2144  SET SECURITY    C:\SFU\usr\local        SUCCESS         
16:34:00        PSXSS.EXE:2144  SET INFORMATION C:\SFU\usr\local        SUCCESS         
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local        SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local\ssl    SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl    SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl    SUCCESS FileBasicInformation    
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local\ssl    SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local\ssl    SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl    SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl    SUCCESS Attributes: DA  
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl    SUCCESS FileInternalInformation 
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr\local\ssl    BUFFER OVERFLOW         
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr\local\ssl    SUCCESS         
16:34:00        PSXSS.EXE:2144  SET SECURITY    C:\SFU\usr\local\ssl    SUCCESS         
16:34:00        PSXSS.EXE:2144  SET INFORMATION C:\SFU\usr\local\ssl    SUCCESS         
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local\ssl    SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local\ssl\man        SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man        SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man        SUCCESS FileBasicInformation    
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local\ssl\man        SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local\ssl\man        SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man        SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man        SUCCESS Attributes: DA  
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man        SUCCESS FileInternalInformation 
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr\local\ssl\man        BUFFER OVERFLOW         
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr\local\ssl\man        SUCCESS         
16:34:00        PSXSS.EXE:2144  SET SECURITY    C:\SFU\usr\local\ssl\man        SUCCESS         
16:34:00        PSXSS.EXE:2144  SET INFORMATION C:\SFU\usr\local\ssl\man        SUCCESS         
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local\ssl\man        SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local\ssl\man\cat3   SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man\cat3   SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man\cat3   SUCCESS FileBasicInformation    
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local\ssl\man\cat3   SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local\ssl\man\cat3   SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man\cat3   SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man\cat3   SUCCESS Attributes: DA  
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local\ssl\man\cat3   SUCCESS FileInternalInformation 
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr\local\ssl\man\cat3   BUFFER OVERFLOW         
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr\local\ssl\man\cat3   SUCCESS         
16:34:00        PSXSS.EXE:2144  SET SECURITY    C:\SFU\usr\local\ssl\man\cat3   SUCCESS         
16:34:00        PSXSS.EXE:2144  SET INFORMATION C:\SFU\usr\local\ssl\man\cat3   SUCCESS         
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local\ssl\man\cat3   SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\tmp\instmp.XXXXAAAALf\man\cat3\bn_print.3        NOT FOUND       Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\tmp\instmp.XXXXAAAALf\man\cat3   SUCCESS Options: Open Directory  Access: All    
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\tmp\instmp.XXXXAAAALf\man\cat3   SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local\ssl\man\cat3   SUCCESS Options: Open Directory  Access: All    
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr\local\ssl\man\cat3   SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\tmp\instmp.XXXXAAAALf\man\cat3\bn_print.3        NOT FOUND       Options: Open  Access: Delete   
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\tmp\instmp.XXXXAAAALf\man\cat3   SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\tmp\instmp.XXXXAAAALf\man\cat3   SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\tmp\instmp.XXXXAAAALf\man\cat3   SUCCESS Attributes: DA  
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\tmp\instmp.XXXXAAAALf\man\cat3   SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr      SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr      SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr      SUCCESS FileBasicInformation    
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr      SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr      SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr      SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr      SUCCESS Attributes: DA  
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr      SUCCESS FileInternalInformation 
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr      BUFFER OVERFLOW         
16:34:00        PSXSS.EXE:2144  QUERY SECURITY  C:\SFU\usr      SUCCESS         
16:34:00        PSXSS.EXE:2144  SET SECURITY    C:\SFU\usr      SUCCESS         
16:34:00        PSXSS.EXE:2144  SET INFORMATION C:\SFU\usr      SUCCESS         
16:34:00        PSXSS.EXE:2144  CLOSE   C:\SFU\usr      SUCCESS         
16:34:00        PSXSS.EXE:2144  OPEN    C:\SFU\usr\local        SUCCESS Options: Open  Access: All      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local        SUCCESS FileFsAttributeInformation      
16:34:00        PSXSS.EXE:2144  QUERY INFORMATION       C:\SFU\usr\local        SUCCESS FileBasicInformation    
....




Rodney -> RE: Problems installing openssl-dev (Feb. 16, '06, 1:50:23 PM)

Which OS are you doing the install on? (Which Windows; which Interix; "uname -X")




steveh -> RE: Problems installing openssl-dev (Feb. 16, '06, 2:20:03 PM)

System = Interix
Node = vader
Release = 3.5
Version = SP-8.0.1969.1
Machine = x86
Processor = Intel_x86_Family15_Model2_Stepping4
HostSystem = Windows
HostRelease = SP2
HostVersion = 5.1




Rodney -> RE: Problems installing openssl-dev (Feb. 16, '06, 7:22:22 PM)

> Node = vader

That's quite funny.

> Version = SP-8.0.1969.1
> HostVersion = 5.1

mmm, that's an unpatch Interix 3.5 on an XP system.
I'd suggest getting the latest hotfix for Interix as there may be some other gottas later.
When you installed did you turn on the SetUid and Case Sensitive Filesystem options?
It's looking like Case Sensitive is off.




steveh -> RE: Problems installing openssl-dev (Feb. 17, '06, 8:53:23 PM)

Sorry missed ur response there.

Do you have a link to the hotfix you mention?

Yes I did turn on Case Sensitive Filesystem options on install but that was a long time ago. It certainly isnt behaving now:

steveh@vader:tmp> echo 1 > Test.txt
steveh@vader:tmp> cat test.txt
1
steveh@vader:tmp> cat Test.txt
1
steveh@vader:tmp> ls *.txt
Test.txt




steveh -> RE: Problems installing openssl-dev (Feb. 17, '06, 9:05:16 PM)

setuid was on but case sensitive was off need to reboot to enable. Will do that and report back if it changes things.




steveh -> RE: Problems installing openssl-dev (Feb. 21, '06, 1:27:43 PM)

still no joy here. A few stacks from the app while running:

ntoskrnl.exe!ExReleaseResourceLite+0x1a3
ntdll.dll!KiFastSystemCallRet
PSXDLL.dll!wcs_chown+0xf4
PSXDLL.dll!chown+0x2c
pkg_add+0x3eb2


ntoskrnl.exe!ExReleaseResourceLite+0x1a3
ntoskrnl.exe!NtRequestWaitReplyPort+0x2ae
ntoskrnl.exe!ZwYieldExecution+0xb78
ntdll.dll!KiFastSystemCallRet
PSXDLL.dll!mknod+0xf0
PSXDLL.dll!mknod+0x51
PSXDLL.dll!mkdir+0x1d
pkg_add+0x3e92

ntoskrnl.exe!ExReleaseResourceLite+0x1a3
ntoskrnl.exe!NtRequestWaitReplyPort+0x2ae
ntoskrnl.exe!ZwYieldExecution+0xb78
ntdll.dll!KiFastSystemCallRet
PSXDLL.dll!wcs_rename+0xf0
PSXDLL.dll!rename+0x7b
pkg_add+0x4125

ntoskrnl.exe!KiDispatchInterrupt+0x7f
PSXDLL.dll!sem_unlink+0x25c
PSXDLL.dll!sem_unlink+0x322
PSXDLL.dll!pthread_testcancel+0x5d
PSXDLL.dll!rename+0x7b
pkg_add+0x4125





Rodney -> RE: Problems installing openssl-dev (Feb. 21, '06, 5:24:44 PM)

All those stacks show is what is expected: files being moved, directories created,
ownership getting set.
Try doing a "pkg_add -v openssl_dev..." and see what the o/p shows.
It should be much more useful than stack traces.
You should be able to see which file or action is the key point.




steveh -> RE: Problems installing openssl-dev (Feb. 21, '06, 5:32:02 PM)

Doesnt seem to be much help unfortunately I already had a look at that :(

Last entry is:

extract: /usr/local/ssl/man/cat3/bn_print.3
pkg_add(openssl_dev-current-bin): conflict: renamed existing /usr/local/ssl/man/cat3/bn_print.3 to /usr/local/ssl/man/cat3/bn_print.3-9


Looking on the fs:

steveh@vader:~> ls -l /usr/local/ssl/man/cat3/bn_print.3*
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-1
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-2
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-3
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-4
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-5
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-6
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-7
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-8
-rw-rw-r--  1 root  +wheel  13719 Oct 17 06:09 /usr/local/ssl/man/cat3/bn_print.3-9




Rodney -> RE: Problems installing openssl-dev (Feb. 21, '06, 5:39:31 PM)

> Doesnt seem to be much help unfortunately I already had a look at that :(

On the contrary it is very useful information.
It indicates that Case Sensitive is not ON in the registry.
There are two files: bn_print.3 and BN_print.3 They each cover very different material.

> Looking on the fs: ...

This just indicates it trying hard to work around the lack of case sensitivity.




steveh -> RE: Problems installing openssl-dev (Feb. 21, '06, 6:13:01 PM)

Trying hard or infinite loop?

steveh@vader:/tmp> ls -l /usr/local/ssl/man/cat3/BN_prin*
-rw-rw-r--  1 root  +wheel  5434 Apr 14  2005 /usr/local/ssl/man/cat3/BN_print.3-0
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3
-rw-rw-r--  1 root  +wheel  5434 Apr 14  2005 /usr/local/ssl/man/cat3/BN_print_fp.3-0
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3-1
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3-2
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3-3
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3-4
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3-5
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3-6
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3-7
-rw-rw-r--  1 root  +wheel  5434 Oct 17 06:06 /usr/local/ssl/man/cat3/BN_print_fp.3-8




steveh -> RE: Problems installing openssl-dev (Mar. 2, '06, 6:47:32 PM)

looks like it was a infinite loop in the location code. When booted with case sensitivity all is good.




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031