{"description": "The <tt>/var</tt> directory is used by daemons and other system\nservices to store frequently-changing data. Ensure that <tt>/var</tt> has its own partition\nor logical volume at installation time, or migrate it using LVM.", "rationale": "Ensuring that <tt>/var</tt> is mounted on its own partition enables the\nsetting of more restrictive mount options. This helps protect\nsystem services such as daemons or other programs which use it.\nIt is not uncommon for the <tt>/var</tt> directory to contain\nworld-writable directories installed by other software packages.", "severity": "low", "references": {"cis-csc": ["12", "15", "8"], "cobit5": ["APO13.01", "DSS05.02"], "isa-62443-2013": ["SR 3.1", "SR 3.5", "SR 3.8", "SR 4.1", "SR 4.3", "SR 5.1", "SR 5.2", "SR 5.3", "SR 7.1", "SR 7.6"], "iso27001-2013": ["A.13.1.1", "A.13.2.1", "A.14.1.3"], "nist": ["CM-6(a)", "SC-5(2)"], "nist-csf": ["PR.PT-4"], "srg": ["SRG-OS-000480-GPOS-00227"], "anssi": ["R28"], "cis": ["1.1.2.4.1"]}, "control_references": {"anssi": ["R28"], "cis": ["1.1.2.4.1"]}, "components": [], "identifiers": {}, "ocil_clause": "\"/var is not a mountpoint\" is returned", "ocil": "Verify that a separate file system/partition has been created for <code>/var</code> with the following command:\n\n<pre>$ mountpoint /var</pre>\n", "oval_external_content": null, "fixtext": "Migrate the \"/var\" path onto a separate file system.", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must use a separate file system for /var.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must use a separate file system for /var.", "vuldiscussion": "Ensuring that \"/var\" is mounted on its own partition enables the setting of more restrictive mount options. This helps protect system services such as daemons or other programs which use it. It is not uncommon for the \"/var\" directory to contain world-writable directories installed by other software packages.", "checktext": "Verify that a separate file system/partition has been created for \"/var\" with the following command:\n\n$ mount | grep /var\n\n/dev/mapper/rootvg-varlv on /var type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)\nNote: Options displayed for mount may differ.\n\nIf a separate entry for \"/var\" is not in use, this is a finding.", "fixtext": "Migrate the \"/var\" path onto a separate file system."}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["not container"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["not_container"], "bash_conditional": null, "fixes": {}, "title": "Ensure /var Located On Separate Partition", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/disk_partitioning/partition_for_var/rule.yml", "template": {"name": "mount", "vars": {"mountpoint": "/var", "min_size": 3221225472}, "backends": {}}}