Skip to content

Commit c7a57e0

Browse files
authored
Merge pull request #12937 from mpurg/fix_bootc_applicability
Disable bootc applicability checks on Ubuntu
2 parents dac81b5 + 9e4e1c8 commit c7a57e0

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

linux_os/guide/system/bootloader-grub2/non-uefi/file_groupowner_grub2_cfg/rule.yml

+4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ fixtext: '{{{ fixtext_file_group_owner(grub2_boot_path ~ "/grub.cfg", "root") }}
5050

5151
srg_requirement: '{{{ srg_requirement_file_group_owner(grub2_boot_path ~ "/grub.cfg", "root") }}}'
5252

53+
{{% if 'ubuntu' in product %}}
54+
platform: not container
55+
{{% else %}}
5356
platform: not bootc
57+
{{% endif %}}
5458

5559
template:
5660
name: file_groupowner

linux_os/guide/system/bootloader-grub2/non-uefi/file_owner_grub2_cfg/rule.yml

+4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ ocil_clause: '{{{ ocil_clause_file_owner(file=grub2_boot_path ~ "/grub.cfg", own
4646
ocil: |-
4747
{{{ ocil_file_owner(file=grub2_boot_path ~ "/grub.cfg", owner="root") }}}
4848
49+
{{% if 'ubuntu' in product %}}
50+
platform: not container
51+
{{% else %}}
4952
platform: not bootc
53+
{{% endif %}}
5054

5155
template:
5256
name: file_owner

linux_os/guide/system/bootloader-grub2/non-uefi/file_permissions_grub2_cfg/rule.yml

+4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ ocil: |-
4646
If properly configured, the output should indicate the following
4747
permissions: <tt>-rw-------</tt>
4848
49+
{{% if 'ubuntu' in product %}}
50+
platform: not container
51+
{{% else %}}
4952
platform: not bootc
53+
{{% endif %}}
5054

5155
template:
5256
name: file_permissions

linux_os/guide/system/permissions/partitions/group.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ description: |-
88
are set in the <tt>/etc/fstab</tt> configuration file, and can be
99
used to make certain types of malicious behavior more difficult.
1010
11+
{{% if 'ubuntu' in product %}}
12+
platform: not container
13+
{{% else %}}
1114
platform: not container and not bootc
15+
{{% endif %}}

linux_os/guide/system/software/disk_partitioning/group.yml

+4
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ description: |-
2626
modify it to create separate logical volumes for the directories
2727
listed above. The Logical Volume Manager (LVM) makes this possible.
2828
29+
{{% if 'ubuntu' in product %}}
30+
platform: not container
31+
{{% else %}}
2932
platform: not container and not bootc
33+
{{% endif %}}

0 commit comments

Comments
 (0)