Gary Mills wrote:
>> Gary Mills wrote:
>> [ Nov 15 08:06:37 Executing start method
>>  ("/lib/svc/method/svc-pkg-depot start"). ]
>>  Dropping net_privaddr privilege.
>> ppriv -s
>>  A=basic,-file_link_any,-proc_info,-proc_session,net_p
>> ivaddr -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.
>>> [ Nov 15 08:06:38 Stopping because all processes in
>> service exited. ]
>>> [ Nov 15 08:06:38 Restarting too quickly, changing
>> state to maintenance. ]
>>
>> However, the properties are documented for the moment
>> in the pkg.depotd 
>> man page, and you can easily edit the cfg_cache file
>> or manually start 
>> the depot server with the necessary options to set
>> the configuration.
> 
> Except that you can't edit the cfg_cache file because
> the server won't create it until after the publisher prefix
> is set.  It's a catch 22 situation.  Admins shouldn't have
> to start the server manually.

Ah, if you're creating a new repository, then you can use pkgsend to do 
this:

pkgsend -s file:///path/to/repo create-repository --set-property 
publisher.prefix=foo

...that is documented as well.

>> There should also be an administrative tool soon to
>> change these.
> 
> That would be a good thing.  At the moment, all of
> the existing documentation is incorrect.

In what way?  As far as I know, all of the man page documentation is 
correct.

-- 
Shawn Walker

Reply via email to