[Bug 16884] New: .NET 3.0: WCF installer fails due to LsaLookupNames2 stub

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 11 08:40:22 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=16884

           Summary: .NET 3.0: WCF installer fails due to LsaLookupNames2
                    stub
           Product: Wine
           Version: 1.1.12
          Platform: Other
               URL: http://www.microsoft.com/downloads/details.aspx?FamilyID
                    =10cc340b-f857-4a14-83f5-25634c3bf043
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: advapi32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


Hello,

after getting past bug 16883 the next one...

Prerequisites:

---
1. clean WINEPREFIX
2. sh mywinetricks -q wmicore
3. sh winetricks -q dotnet20
4. download .NET 3.0 Framework installer from: http://download.microsoft.com
/download/4/d/a/4da3a5fa-ee6a-42b8-8bfa-ea5c4a458a7d/dotnetfx3setup.exe
(sha1sum: 
a566bcd2ffffc3842a95adc57f7df3f8cd11577f)
5. export _SFX_CAB_SHUTDOWN_REQUEST=1 (workaround, see bug 9158)
6. wine ./dotnetfx3setup.exe

It might take a while until all required packages are downloaded using BITS.

Note: If you need to redo steps, backup the directory "dotnetfx304506.30" from
"c:\\windows\\temp" to a different location, remove ~/.wine, copy
"dotnetfx304506.30" again to "c:\\windows\\temp" to prevent BITS from
downloading over and over again.

---

The WCF installer still fails:

"c:\\windows\\temp\\dd_wcf_retCA5476.txt":

--- snip ---
ServiceModelReg [14:57:53:680]: Starting tool
'C:\windows\system32\wbem\mofcomp.exe' with parameters
'"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\ServiceModel.mof"'.
ServiceModelReg [14:57:55:965]: Microsoft (R) 32-bit MOF Compiler Version
1.50.1085.0001
ServiceModelReg [14:57:55:966]: Copyright (c) Microsoft Corp. 1997-1999. All
rights reserved.
ServiceModelReg [14:58:03:464]: 
ServiceModelReg [14:58:03:467]: Parsing MOF file:
C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\ServiceModel.mof
ServiceModelReg [14:58:06:160]: MOF file has been successfully parsed
ServiceModelReg [14:58:06:164]: Storing data in the repository...
ServiceModelReg [14:58:07:047]: An error occurred while creating object 3
defined on lines 20 - 24:
ServiceModelReg [14:58:07:053]: 0X80041002 Class, instance, or property
'HostingModel' was not found.
ServiceModelReg [14:58:07:280]: Compiler returned error 0x80041001
ServiceModelReg [14:58:07:280]: 
ServiceModelReg [14:58:07:291]: 
ServiceModelReg [14:58:07:330]: Tool 'C:\windows\system32\wbem\mofcomp.exe'
with parameters '"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\ServiceModel.mof"' exited with code '3'.
ServiceModelReg [14:58:07:473]: Warning: Failure executing
"C:\windows\system32\wbem\mofcomp.exe" with parameters
""C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\ServiceModel.mof"": System.ApplicationException: Unexpected result 3
executing C:\windows\system32\wbem\mofcomp.exe with
"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\ServiceModel.mof"
   at System.ServiceModel.Install.InstallHelper.ExecuteWait(String program,
String parameters, Int32[] allowedExitCodes)
   at System.ServiceModel.Install.WmiInstallComponent.OnInstall(OutputLevel
outputLevel)
ServiceModelReg [14:58:08:291]: Error: WMI classes are not installed.
ServiceModelReg [14:58:08:304]: Repairing: Windows CardSpace (idsvc)
ServiceModelReg [14:58:08:610]: Repairing: Net.Tcp Port Sharing Service
(NetTcpPortSharing)
ServiceModelReg [14:58:09:011]:
System.Security.Principal.IdentityNotMappedException: Some or all identity
references could not be translated.
   at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection
sourceAccounts, Type targetType, Boolean forceSuccess)
   at System.Security.Principal.NTAccount.Translate(Type targetType)
   at
System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification
modification, AccessRule rule, Boolean& modified)
   at
System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule
rule)
   at
System.ServiceModel.Install.ListenerServiceInstallComponent.SetConfigSecurity(OutputLevel
outputLevel)
   at
System.ServiceModel.Install.ListenerServiceInstallComponent.OnReinstall(OutputLevel
outputLevel)
   at System.ServiceModel.Install.ServiceInstallComponent.Reinstall(OutputLevel
outputLevel)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.PerformAction(ActionItem
actionItem, Nullable`1 confirmUninstall)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
   at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)
=== Verbose logging stopped: 1/11/2009  14:58:09 ===
--- snip ---

Relevant trace log:

--- snip ---
0035:fixme:advapi:LsaLookupNames2
(0xcafe,0x00000000,0x00000001,0x1421c0,0x33efdc,0x33efd0) stub
...
0035:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b844f54
ip=0x7b844fd7 tid=0035
0035:trace:seh:raise_exception  info[0]=80131501
0035:trace:seh:raise_exception  eax=7b82cc91 ebx=7b8c3940 ecx=00000000
edx=0033f0b8 esi=0033f0b8 edi=e0434f4d
0035:trace:seh:raise_exception  ebp=0033f080 esp=0033f01c cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000246
0035:trace:seh:call_stack_handlers calling handler at 0x79f9a3c8 code=e0434f4d
flags=1
0035:CALL
MSVCR80._except_handler4_common(7a381240,79e717fb,0033f02c,0033f0d0,0033ecb8,0033eb60)
ret=79f9a3e7
0035:RET  MSVCR80._except_handler4_common() retval=00000001 ret=79f9a3e7
0035:trace:seh:call_stack_handlers handler at 0x79f9a3c8 returned 1
0035:trace:seh:call_stack_handlers calling handler at 0x7a3197d4 code=e0434f4d
flags=1
0035:CALL MSVCR80.__CxxFrameHandler3() ret=7bc729f1
0035:RET  MSVCR80.__CxxFrameHandler3() retval=00000001 ret=7bc729f1
0035:trace:seh:call_stack_handlers handler at 0x7a3197d4 returned 1
0035:trace:seh:call_stack_handlers calling handler at 0x79f948ec code=e0434f4d
flags=1 
....
0035:fixme:advapi:RegisterEventSourceW (L".",L"System.ServiceModel.Install
3.0.0.0"): stub
0035:fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0xa55c64,0xa55b0c):
stub
0035:err:eventlog:ReportEventW
L"System.Security.Principal.IdentityNotMappedException: Some or all identity
references could not be translated.\r\n   at
System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection
sourceAccounts, Type targetType, Boolean forceSuccess)\r\n   at
System.Security.Principal.NTAccount.Transla"... 
--- snip ---

Oh joy, LSA again ...

There already exist other bugs falling into same problem domain, example: bug
16418

If developer resources are short maybe this could be part of some SoC project:
making transition from current approach towards LSA rpc interface and lsass
(and fleshing out stubs of course).

http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_lsarpc.html

I fleshed the stub a bit just for proof and it gets the WCF installer further.

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.



More information about the wine-bugs mailing list