GEN000000-SOL00620 - The inherit-pkg-dir zone option must be set to none or the system default list defined for sparse root zones.

Information

Solaris zones have the capability to inherit elements of the global zone's filesystem, which reduces the amount storage required for a zone, but also limits the flexibility of the zone. The inherit-pkg-dir option defines which paths are shared between the zones. If set incorrectly, private information from the global zone could be made available to the non-global zone. This option must be set to none (for a whole-root non-global zone), the vendor-specified list of paths for sparse-root non-global zones, or a list specified by the SA for operational reasons which has been justified and documented with the IAO.

Solution

Remove the inherit-pkg-dir lines or the directories not defined for sparse root zones.
# zonecfg -z <zone> remove inherit-pkg-dir=<somedir>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_10_SPARC_V2R4_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-226427r603265_rule, STIG-ID|GEN000000-SOL00620, STIG-Legacy|SV-27022, STIG-Legacy|V-22607, Vuln-ID|V-226427

Plugin: Unix

Control ID: f2ad982363a069e178a24ae9b4e1f952e8d193f664280f8c50da0002cb93fee9