Jan Hnatek wrote:
Hi,
pkg/server service fails me with the following:
ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr -e
/usr/lib/pkg.depotd -d /var/pkg/repo -p 10000 -s 10 -t 60
--content-root=/usr/share/lib/pkg --log-access=none --log-errors=stderr
--ssl-cert-file=none
--ssl-dialog=smf:svc:/application/pkg/server:default --ssl-key-file=none
pkg.depotd: repository configuration error: publisher.prefix is required.
Please use the --set-property option to provide a value, or update the
cfg_cache file for the repository to correct this.
[ Dec 11 16:29:10 Stopping because all processes in service exited. ]
[ Dec 11 16:29:10 Restarting too quickly, changing state to maintenance. ]
On 129, in a zone.
I figured pre-running the server manually with --set-property
publisher.prefix=xxx
will set up the repo, but is there a way to set this via svccfg? Or is
this only
temporary?
You can create a repository using this:
pkgsend -s file:///path/to/repo create-repository --set-property
publisher.prefix=<prefix>
For now, setting properties has been intentionally omitted from the SMF
property setup while we attempt to stabilise the configuration interface
and determine the best way forward.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss