[Bug 12076] New: Database app refused to install unless system32/drivers/ etc/{services,host} exist
http://bugs.winehq.org/show_bug.cgi?id=12076 Summary: Database app refused to install unless system32/drivers/etc/{services,host} exist Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Keywords: Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com A user's informix-based app refused to install until the empty files c:/windows/system32/drivers/etc/{services,host} were created, see http://winehq.org/pipermail/wine-users/2008-March/030256.html I looked around a bit for other system32/drivers/etc files. http://support.microsoft.com/kb/130024 describes hosts, services, and protocols http://support.microsoft.com/kb/105997 describes lmhosts It looks like some apps find that directory by looking at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath and MSN Messenger 7.5 f*cks up by changing that variable's type, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6343068 Getting this all right would be a lot of work. Just creating two empty files might be reasonable, though, since it allows the user's app to install. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12076 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12076 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2009-01-19 15:14:28 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12076 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Version|unspecified |0.9.57. Summary|Database app refused to |Informix Database app |install unless |refuses to install unless |system32/drivers/etc/{servi |system32/drivers/etc/{servi |ces,host} exist |ces,host} exist --- Comment #2 from Anastasius Focht <focht(a)gmx.net> 2011-07-18 14:26:28 CDT --- Hello, obviously still present... Do you know an example app to put as download link? The referenced wine-users thread is unspecific which informix app needs this ... $ wine --version wine-1.3.24-216-gd385675 Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 --- Comment #3 from Bruno Jesus <00cpxxx(a)gmail.com> --- Well, it's not possible to reproduce this bug as there is no application but I guess is still relevant since the files are still not created. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- (In reply to Bruno Jesus from comment #3)
Well, it's not possible to reproduce this bug as there is no application but I guess is still relevant since the files are still not created.
Still in 1.7.37. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael(a)fds-team.de, | |sebastian(a)fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/wineboot-drive | |rs_etc_Stubs -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs Hardware|Other |x86 OS|other |Linux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/wineboot-drive |er/patches/wineboot-drivers |rs_etc_Stubs |_etc_Stubs -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20150724061434/http://file | |s.modacity.net/software/3ds | |max/3dsmax9.zip Keywords| |download Summary|Informix Database app |Multiple applications |refuses to install unless |refuse to install unless |system32/drivers/etc/{servi |'%SystemRoot%\System32\Driv |ces,host} exist |ers\Etc\{services,host}' | |exist (Informix Database | |apps, Autodesk 3ds Max 9) --- Comment #5 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, revisiting, still present. I've found an application / installer for reproduce: 'Autodesk 3ds Max 9' trial version. https://web.archive.org/web/20150724061434/http://files.modacity.net/softwar... There is a problem with the current registry setting of 'HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath' most installers use to query the path. I've created bug 50318 to have the path in registry corrected so it is in sync with the Wine-Staging patchset. With fix from bug 50318: --- snip --- $ WINEDEBUG=+seh,+relay,+loaddll,+msi wine msiexec -i 3dsmax9_win32.msi
log.txt 2>&1 ... 0118:trace:msi:HANDLE_CustomType1 Calling function L"MRSetService" from L"C:\\users\\focht\\Temp\\msi14d8.tmp" ... 07cc:Call advapi32.RegOpenKeyExA(80000002,01808614 "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters",00000000,0002001f,014df034) ret=017c1b81 ... 07cc:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=017c1b81 07cc:Call advapi32.RegQueryValueExA(000000d4,01808604 "DataBasePath",00000000,014df01c,014df03c,014df020) ret=017c0561 ... 07cc:Ret advapi32.RegQueryValueExA() retval=00000000 ret=017c0561 07cc:Call KERNEL32.ExpandEnvironmentStringsA(014df03c "%SystemRoot%\\System32\\Drivers\\Etc",014df43c,00000400) ret=017c1bfd ... 07cc:Ret KERNEL32.ExpandEnvironmentStringsA() retval=00000020 ret=017c1bfd ... 07cc:Call KERNEL32.GetFullPathNameA(019a0ea8 "C:\\windows\\System32\\Drivers\\Etc\\services",00000104,014df688,014df4f8) ret=017de351 ... 07cc:Ret KERNEL32.GetFullPathNameA() retval=00000028 ret=017de351 ... 07cc:Call KERNEL32.FindFirstFileA(019a0ea8 "C:\\windows\\System32\\Drivers\\Etc\\services",014df50c) ret=017de3f1 ... 07cc:Ret KERNEL32.FindFirstFileA() retval=ffffffff ret=017de3f1 ... 07cc:Call KERNEL32.CreateFileA(019a0ea8 "C:\\windows\\System32\\Drivers\\Etc\\services",80000000,00000000,014df670,00000003,00000080,00000000) ret=017de5f4 ... 07cc:Ret KERNEL32.CreateFileA() retval=ffffffff ret=017de5f4 07cc:Call KERNEL32.GetLastError() ret=017de2cf 07cc:Ret KERNEL32.GetLastError() retval=00000003 ret=017de2cf ... 07cc:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,014df770) ret=017eec32 07cc:Call ntdll.memcpy(014df6c8,014df770,0000000c) ret=7b00ff18 07cc:Ret ntdll.memcpy() retval=014df6c8 ret=7b00ff18 07cc:trace:seh:dispatch_exception code=e06d7363 flags=1 addr=7B00FF28 ip=7b00ff28 tid=07cc 07cc:trace:seh:dispatch_exception info[0]=19930520 07cc:trace:seh:dispatch_exception info[1]=014df7a0 07cc:trace:seh:dispatch_exception info[2]=01811c9c 07cc:trace:seh:dispatch_exception eax=014df6b4 ebx=00178701 ecx=014df770 edx=0000000c esi=00000003 edi=014df720 07cc:trace:seh:dispatch_exception ebp=014df708 esp=014df6b4 cs=7bc50023 ds=14d002b es=7bc3002b fs=14d0063 gs=006b flags=00000216 07cc:trace:seh:call_vectored_handlers calling handler at 7B00F270 code=e06d7363 flags=1 07cc:trace:seh:call_vectored_handlers handler at 7B00F270 returned 0 07cc:trace:seh:call_stack_handlers calling handler at 01805E2E code=e06d7363 flags=1 ... 07cc:Call user32.MessageBoxA(00000000,0181d368 "Runtime Error!\n\nProgram: C:\\windows\\system32\\msiexec.exe\n\n\r\nThis application has requested the Runtime to terminate it in an unusual way.\nPlease contact the application's support team for more information.\r\n",0180b7b8 "Microsoft Visual C++ Runtime Library",00012010) ret=017fdfa1 --- snip ---
Wine-Staging patchset could be considered for upstreaming into mainline after Wine 6.0 release unless you want to celebrate the 13th anniversary of the bug. $ sha1sum 3dsmax9.zip d04eeb0eeabbb7cedaf536170fb6879b2faf1a25 3dsmax9.zip $ du -sh 3dsmax9.zip 590M 3dsmax9.zip $ wine --version wine-6.0-rc2 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 --- Comment #6 from Hans Leidekker <hans(a)meelstraat.net> --- (In reply to Anastasius Focht from comment #5)
Wine-Staging patchset could be considered for upstreaming into mainline after Wine 6.0 release unless you want to celebrate the 13th anniversary of the bug.
SAP GUI is another application that needs these files (see related bug 49656). winsock PE conversion depends on this, so there's hope that it will be fixed sometime soon :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple applications |Multiple applications |refuse to install unless |refuse to install unless |'%SystemRoot%\System32\Driv |'%SystemRoot%\System32\Driv |ers\Etc\{services,host}' |ers\Etc\{services,host}' |exist (Informix Database |exist (Informix Database |apps, Autodesk 3ds Max 9) |apps, Autodesk 3ds Max 9, | |SAP GUI) --- Comment #7 from Anastasius Focht <focht(a)gmx.net> --- Hello Hans, --- quote --- winsock PE conversion depends on this, so there's hope that it will be fixed sometime soon :) --- quote --- I've created follow-up bug 50323 which highlights the problem that these files need to be managed in winsock API. Bug 50323 ("Multiple applications need 'Ws2_32.getservbyname' to read information from '%SystemRoot%\System32\Drivers\Etc\services' (Autodesk 3ds Max 9 RaySat service)") Bug 49656 ("SAP GUI - Ws2_32.getaddrinfo crashes with non-standard service (/etc/services)") could also have a follow-up one since the conceptional problem was not addressed there. Alternatively we could convert one to a "meta" ticket, that is something like "Ws2_32.* API needs to manage '%SystemRoot%\System32\Drivers\Etc\services'". It might be harder to get a closure on though if affected apps use different sets of winsock API calls. Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |50c40b913a9ac99162f9729ab8a | |0869ebaae9917 Resolution|--- |FIXED Component|programs |winsock Status|STAGED |RESOLVED --- Comment #8 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/50c40b913a9ac99162f9729ab8... ("ws2_32: Install network database files."). Thanks Alexandre --- snip --- $ tree --charset=ANSI .wine/drive_c/windows/system32/drivers/etc/ .wine/drive_c/windows/system32/drivers/etc/ |-- hosts |-- networks |-- protocols `-- services 0 directories, 4 files --- snip --- $ wine --version wine-6.6-149-g39263558a20 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 6.7. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12076 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |--- --- Comment #10 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 6.0.x milestone from bug fixes included in 6.0.2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla