Hmm ... I saw this  ... is it bug.

-S


r...@opensolaris:~# pkg set-authority -O http://b28b:8888 test

Traceback (most recent call last):
 File "/usr/bin/pkg", line 2259, in ?
   __ret = main_func()
 File "/usr/bin/pkg", line 2226, in main_func
   return authority_set(img, pargs)
 File "/usr/bin/pkg", line 1579, in authority_set
   disabled=disable)
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 751, in set_authority
   self.save_config()
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 308, in save_config
   self.cfg_cache.write(self.imgdir)
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageconfig.py", line 243, in write
   f = open(thefile, "w")
IOError: [Errno 30] Read-only file system: '/var/pkg/cfg_cache'


pkg: This is an internal error.  Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message.  The version of pkg(5) is '048096a95369'.
r...@opensolaris:~#



On 02/13/09 11:20 AM, Steven Lau wrote:
In that case, what authority name I should fill in for the following command ... Or, just any name I want ...

pkg set-authority -O http://b28b:8888  <auth. name>

Thx,

-S

On 02/13/09 11:15 AM, Shawn Walker wrote:
Steven Lau wrote:
Hi,

1. Followed the docs to setup my local IPS and by default no authority set. How could I assign a authority to my local server. Try to look into pkg-server.xml .... don't know what's the property name.

At this time, there is no way to configure authority information for a server.


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to