so i logged into the machine, cleared the service, and it came right up.

once the system repository is in the maintenance state you have to fix
the problem and either disable the service or clear it manually.  the
zone tools will only try to online the service, which will fail if it's
already in the maintenance state.

i don't know why it initially failed to start.  (the system repository
does depend on the autofs service.)  perhaps coupe was temporarily
inaccessible?  or autofs returned an error?  i'm not sure...

looking at the sysrepo code, the error message could be generated for a
lot of reasons.  i'll file a bug to get more detailed error messaging
from the sysrepo in this failure case.

ed

On Fri, Jun 10, 2011 at 12:29:37PM +0200, Frank Batschulat wrote:
> Hey All, so I did my bfu to 167 bits and wanted to get all
> the smf services running so I can install zones, turnes out without
> much look as said service refused to work with:
> 
> [ Jun  9 14:23:14 Executing start method
> ("/lib/svc/method/svc-pkg-sysrepo start"). ]
> pkg.sysrepo: unable to get publisher information: p5p-based file
> repository 
> file:///net/coupe.us.oracle.com/builds/batschul/zoss167/packages/i386/nightly/repo.redist
> cannot be proxied.
> pkg.sysrepo failed to create Apache configuration
> [ Jun  9 14:23:16 Method "start" exited with status 95. ]
> 
> root@blower:~# svcs -av|grep zones
> disabled       -             14:22:50      - svc:/system/tsol-zones:default
> disabled       -             14:22:51      -
> svc:/system/zones-install:default
> online         -             14:22:53     43
> svc:/system/zones-monitoring:default
> online         -             14:23:18      - svc:/system/zones:default
> offline        -             14:22:51      -
> svc:/application/pkg/zones-proxyd:default
> root@blower:~# svcs -av|grep pkg
> disabled       -             14:22:47      -
> svc:/application/pkg/dynamic-mirror:default
> disabled       -             14:22:47      -
> svc:/application/pkg/server:default
> online         -             14:22:53      - svc:/system/pkgserv:default
> offline        -             14:22:51      -
> svc:/application/pkg/zones-proxyd:default
> maintenance    -             14:23:16      -
> svc:/application/pkg/system-repository:default
> 
> root@blower:~# zoneadm -z zoss install
> ...
>        Image: Preparing at /zoss/root.
> svcadm: Instance "svc:/application/pkg/system-repository:default" is
> in maintenance state.
> ERROR: Unable to enable svc:/application/pkg/system-repository,
> please enable the service manually.
> ...
> 
> since this worked priviously I wonder what the story is and
> what workarounds would be best suited ?
> 
> thanks
> frankB
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to