Steven Lau wrote:
Yes, I did this on live-cd .... so pkg not support running on live-cd
environment ... it seems like a bug ???
It should work fine against pre-existing authorities, but yes,
apparently doesn't want to add one. Please file a bug against the live
CD as we need to allow authority manipulation.
Dave
-S
On 02/13/09 11:40 AM, Shawn Walker wrote:
Steven Lau wrote:
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:~#
The traceback is, but it is curious as to why you're seeing that
error. Are you trying to set the authority while booted from the
LiveCD? If so, I don't believe you can do that.
You should file a bug for the traceback.
Cheers,
_______________________________________________
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