Which modification needs to be made to the Service Management Facility before you publish a
new package to the IPS repository?
A.
The pkg.depotd must be disabled.
B.
The pkg/readonly property for the application/pkg/server service must be set tofalse
C.
The pkg/writable_root property for the application/pkg/server service must be set to true.
D.
The pkg/image_root property for the application/pkg/server service must be set to the location
of the repository.
Explanation:
pkg/image_root
(astring) The path to the image whose file information will be used as a cache for file data.
Reference: man pkg.depotd
Correct answer is B.
B.
“…
The depot does not provide any access control methods of its own. By default, all of the clients that are able to connect are able to read all package data and publish new package versions. The exception is that when running under Service Management Facility (SMF), the default is to run in read-only mode.
…”
B
B
The Answer it’s B first because there is NO image_root property in
root@Server:~# svccfg
svc:> select application/pkg/server
svc:/application/pkg/server> listprop
pkg application
pkg/address net_address
pkg/cfg_file astring
pkg/content_root astring usr/share/lib/pkg
pkg/debug astring
pkg/file_root astring
pkg/log_access astring none
pkg/log_errors astring stderr
pkg/mirror boolean false
pkg/pkg_root astring /
pkg/port count 80
pkg/proxy_base astring
pkg/readonly boolean true
pkg/socket_timeout count 60
pkg/sort_file_max_size astring
pkg/ssl_cert_file astring
pkg/ssl_dialog astring smf
pkg/ssl_key_file astring
pkg/standalone boolean true
pkg/threads count 60
pkg/writable_root astring
pkg/inst_root astring /var/repo
pkg_bui application
pkg_bui/feed_description ustring
pkg_bui/feed_icon ustring web/_themes/pkg-block-icon.png
pkg_bui/feed_logo ustring web/_themes/pkg-block-logo.png
pkg_bui/feed_name ustring “package repository feed”
pkg_bui/feed_window count 24
pkg_secure application
pkg_secure/read_authorization astring solaris.smf.read.pkg-server
pkg_secure/ssl_key_passphrase astring
B
# svccfg -s application/pkg/server setprop pkg/readonly=false
http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-097-create-pkg-ips-524496.html
B