1Z0-820 practice question 13 of 25

Which modification needs to be made to the Service Management Facility before you publish a new package to the IPS repository?

Full set: 133 questions
Answer options
A: The pkg.depotd must be disabled.
B: The pkg/readonly property for the application/pkg/server service must be set to false Correct answer
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.
Correct Answer:
B. The pkg/readonly property for the application/pkg/server service must be set to false
Explanation

By default, the Image Packaging System (IPS) repository server service (svc:/application/pkg/server) is configured with the pkg/readonly property set to true. This prevents unauthorized modifications to the repository. Before you can publish a new package to the repository using HTTP, you must modify the Service Management Facility (SMF) configuration by setting the pkg/readonly property to false (e.g., svccfg -s application/pkg/server setprop pkg/readonly = false) and refreshing the service.

Why Incorrect

A. Disabling pkg.depotd would stop the repository server entirely, making it impossible to publish packages to it via HTTP.
C. There is no pkg/writableroot property in the application/pkg/server SMF service configuration.
D. While pkg/instroot specifies the repository path, it does not enable write access for publishing; pkg/readonly controls this.

References

1. Oracle Corporation. "Oracle Solaris 11.1 Administration: Image Packaging System." Section: Configuring the Repository Server Service.

2. Oracle Corporation. pkg.depotd(1M) Man Page, Oracle Solaris 11 Reference Manual.

Scroll to Top