1
0
mirror of https://github.com/tommytran732/Fedora-CoreOS-Ignition synced 2024-11-21 17:01:34 -05:00

Mask debug shell

Signed-off-by: Thien Tran <contact@tommytran.io>
This commit is contained in:
Thien Tran 2023-10-25 16:07:17 -07:00
parent ce5d43d097
commit caeeefc990
No known key found for this signature in database
GPG Key ID: 3DF2709723343A8F
6 changed files with 18 additions and 0 deletions

View File

@ -170,6 +170,10 @@
{ {
"path": "/etc/systemd/system/kdump.service.target", "path": "/etc/systemd/system/kdump.service.target",
"target": "/dev/null" "target": "/dev/null"
},
{
"path": "/etc/systemd/system/debug-shell.service",
"target": "/dev/null"
} }
] ]
}, },

View File

@ -314,6 +314,8 @@ storage:
target: /usr/lib/systemd/system/tuned.service target: /usr/lib/systemd/system/tuned.service
- path: /etc/systemd/system/kdump.service.target - path: /etc/systemd/system/kdump.service.target
target: /dev/null target: /dev/null
- path: /etc/systemd/system/debug-shell.service
target: /dev/null
kernel_arguments: kernel_arguments:
should_exist: should_exist:
- spectre_v2=on - spectre_v2=on

View File

@ -163,6 +163,10 @@
{ {
"path": "/etc/systemd/system/kdump.service.target", "path": "/etc/systemd/system/kdump.service.target",
"target": "/dev/null" "target": "/dev/null"
},
{
"path": "/etc/systemd/system/debug-shell.service",
"target": "/dev/null"
} }
] ]
}, },

View File

@ -312,6 +312,8 @@ storage:
target: /usr/lib/systemd/system/tuned.service target: /usr/lib/systemd/system/tuned.service
- path: /etc/systemd/system/kdump.service.target - path: /etc/systemd/system/kdump.service.target
target: /dev/null target: /dev/null
- path: /etc/systemd/system/debug-shell.service
target: /dev/null
kernel_arguments: kernel_arguments:
should_exist: should_exist:
- spectre_v2=on - spectre_v2=on

View File

@ -156,6 +156,10 @@
{ {
"path": "/etc/systemd/system/kdump.service.target", "path": "/etc/systemd/system/kdump.service.target",
"target": "/dev/null" "target": "/dev/null"
},
{
"path": "/etc/systemd/system/debug-shell.service",
"target": "/dev/null"
} }
] ]
}, },

View File

@ -207,6 +207,8 @@ storage:
target: /usr/lib/systemd/system/tuned.service target: /usr/lib/systemd/system/tuned.service
- path: /etc/systemd/system/kdump.service.target - path: /etc/systemd/system/kdump.service.target
target: /dev/null target: /dev/null
- path: /etc/systemd/system/debug-shell.service
target: /dev/null
kernel_arguments: kernel_arguments:
should_exist: should_exist:
- spectre_v2=on - spectre_v2=on