OCI: Instance Crashes After Exiting From Single User Mode
in Linux
Applies to:
Oracle Cloud Infrastructure
Linux x86-64
Symptoms
After booting to single user mode by adding "init=/bin/bash" to the kernel command line.
On finishing the session, the instance crashes after typing “exit” at the command line:
[root@localhost /]# exit exit [ 49.190913] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 49.193352] CPU: 1 PID: 1 Comm: bash Not tainted 5.4.17-2136.332.5.2.el8uek.x86_64 #3 [ 49.194528] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.6.6 08/22/2023 [ 49.197288] Call Trace: [ 49.198390] dump_stack+0x6d/0x8f [ 49.199604] panic+0x114/0x302 [ 49.200806] do_exit.cold.27+0x15/0xa7 [ 49.201849] ? __do_page_fault+0x218/0x4c3 [ 49.203251] do_group_exit+0x43/0xa0 [ 49.203685] __x64_sys_exit_group+0x18/0x18 [ 49.205331] x64_sys_call+0xabe/0x1d2e [
Tagged:
0