users@glassfish.java.net

Re: Can't start Glassfish using Solaris 10 SMF

From: kedar <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 03 Apr 2007 23:02:54 -0700

I am not so sure, but good, if it works for you :)

Maybe the default configuration of the manifest XML should say
netaddr_priv?

Once you have "solaris.smf.*" privileges, I think we should make
netaddr_priv available by default. I will think more and ask the
smf-discuss alias on opensolaris.

Kedar

On Apr 3, 2007, at 10:54 PM, glassfish_at_javadesktop.org wrote:

> I think I got it.
>
> The key I think is this (from the manifest XML):
>
> <method_credential user="root"
> group=":default"
> privileges="basic"/>
>
> This is the default Glassfish configuration. Even though it says
> it's using "root", the privileges of "basic" prevents the use of
> port 80.
>
> I changed it (by hand) to this:
>
> <method_credential user="root"
> group=":default"
> privileges="basic,net_privaddr"/>
>
> and reimported with svccfg. Then I cleared maintenance mode with
> svcadm, and it came up.
>
> When I looked at some of the other manifests, they leave the
> privileges clause off, so they default to I guess whatever comes
> with root. But by specifying "basic", you immediately restrict the
> "power of root".
>
> Mind, I'm making most of the up -- it's really late here and I'm
> not the SMF wizard. But that's what I'm guessing is happening.
> However, it seems to be starting at the moment and that's enough
> for now. My only concern now is what other rights is "root" missing
> that I'm assuming it may already have.
>
> I may simply punt on that and create a glassfish user anyway, but
> it's still a bit of a question I need to answer one way or the other.
>
> Thanx for the fast responses.
> [Message sent by forum member 'whartung' (whartung)]
>
> http://forums.java.net/jive/thread.jspa?messageID=211186
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>