1Z0-820 · Question #61
Which modification needs to be made to the Service Management Facility before you publish a new package to the IPS repository?
The correct answer is B. The pkg/readonly property for the application/pkg/server service must be set to false. Option B is correct because the application/pkg/server SMF service runs in read-only mode by default (pkg/readonly=true), which allows clients to query and download packages but blocks any write operations. Setting pkg/readonly to false (via svccfg -s application/pkg/server…
Question
Which modification needs to be made to the Service Management Facility before you publish a new package to the IPS repository?
Options
- AThe pkg.depotd must be disabled.
- BThe pkg/readonly property for the application/pkg/server service must be set to false
- CThe pkg/writable_root property for the application/pkg/server service must be set to true.
- DThe pkg/image_root property for the application/pkg/server service must be set to the location of the
How the community answered
(18 responses)- A6% (1)
- B78% (14)
- C11% (2)
- D6% (1)
Explanation
Option B is correct because the application/pkg/server SMF service runs in read-only mode by default (pkg/readonly=true), which allows clients to query and download packages but blocks any write operations. Setting pkg/readonly to false (via svccfg -s application/pkg/server setprop pkg/readonly = false, followed by an svcadm refresh) switches the depot into read-write mode, allowing pkgsend or pkgrecv to publish new packages.
A is wrong - disabling pkg.depotd shuts the service down entirely; you need it running to accept publish operations, not disabled.
C is wrong - pkg/writable_root points to a separate writable directory used for caching search indexes when the repository filesystem itself is mounted read-only; it controls where transient data lives, not whether publishing is permitted.
D is wrong - pkg/image_root is not a real SMF property for this service; the property that points to the repository's root directory is pkg/inst_root, and setting it has no bearing on publishing permissions.
Memory tip: Think of readonly = false as "unlocking the front door" - the depot is always running, but the door is locked for writes by default. You flip one property to let packages in.
Topics
Community Discussion
No community discussion yet for this question.