Nicolas Williams wrote:
> On Thu, Dec 04, 2008 at 08:52:25PM +0100, "C. Bergstr?m" wrote:
>   
>>> Just out of curiosity, why do you want to build a 64 bit svc.configd.
>>>   
>>>       
>> Yes the bug was triggered only in the 64bit version.
>>     
>
> I've no idea whether SQLite2 runs correctly in 64-bit.  SQLite3 does.
>   
It seems to
>   
>> -------------
>> Why..? In a nutshell.. lack of resources... I'm going to heavily 
>> optimize parts of OpenSolaris and the time to maintain 2 arches 
>> (x86/amd64) is possibly more than people would imagine. Most things so 
>> far have been pretty easy to deal with once you figure out the onnv 
>> build system.  My target isn't 3rd world countries and personally just 
>> see x86 as dead. (Which is of course an entirely different argument)
>>     
>
> Interesting.  Why does SMF need to be 64-bit to be optimized?  But don't
> get me wrong: I think that having it work in 64-bit is a good thing, so
> as long as you want to do it go for it.
>   
What I was trying to say is that I'll be in a pure amd64 solaris env.  
Multilib is just more work.  So far after the segfaults were fixed svc* 
is working great..

Now I can see why my start-up wasn't bringing the device links up..

(I'm hoping to avoid recompiling libc in order to debug this..)
dlmgmtd -d
dlmgmt_init_privileges() failed: Not owner

19978         if (__init_daemon_priv( 0x0001 | 0x0008 ,  15 ,
19979              3 ,  ( ( const char * ) "sys_dl_config" ),  ( ( const 
char *      ) "sys_config" ),  0L ) == -1) {
19980                 (void) close(dld_control_fd);
19981                 dld_control_fd = -1;
19982                 return ( 1 );
--------------

478 int
479 __init_daemon_priv(int flags, uid_t uid, gid_t gid, ...)
480 {
--

I copied global.db over to repository.db and that started me on the 
right track, but see this.. (I'll have to look at how to fix..)
sh -x /lib/svc/method/net-physical start

+ svcprop -c -p system/reconfigure system/svc/restarter:default
svcprop: Couldn't find property group `system' for instance 
`svc:/system/svc/restarter:default'.

I can say this though.. that during all this I've learned a great deal 
about how solaris starts..

./C

Reply via email to