On Fri, 2009-12-11 at 17:34 +0100, 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 should create a cfg_file for your repo and point to it by setting the pkg/cfg_file SMF property accordingly. The config file should then have a section like this: [publisher] alias = prefix = xxx I couldn't find any document which describes this explicitly but the sections and options can be found in the man page for pkg.depotd. Erik > Regards, > hnhn > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
