Description | Below is the system log from starting an EC2 instance with the AMI kali-last-snapshot-amd64-2022.4.0-804fcc46-63fc-4eb6-85a1-50e66d6c7215, where the ssh service fails to start.
[ 2.747437] xenbus_probe_frontend: Device with no driver: device/vbd/51712
[ 2.757574] xenbus_probe_frontend: Device with no driver: device/vif/0
[ 2.770675] Freeing unused decrypted memory: 2036K
[ 2.775387] Freeing unused kernel image (initmem) memory: 2532K
[ 2.790018] Write protecting the kernel read-only data: 22528k
[ 2.796432] Freeing unused kernel image (text/rodata gap) memory: 2040K
[ 2.802501] Freeing unused kernel image (rodata/data gap) memory: 64K
[ 2.810174] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 2.815471] x86/mm: Checking user space page tables
[ 2.819583] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 2.824657] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.1-1
[ 3.043794] SCSI subsystem initialized
[ 3.059436] Invalid max_queues (4), will use default max: 1.
[ 3.066732] xen_netfront: Initialising Xen virtual ethernet driver
[ 3.075065] cryptd: max_cpu_qlen set to 1000
[ 3.097554] AVX2 version of gcm_enc/dec engaged.
[ 3.110732] AES CTR mode by8 optimization enabled
[ 3.119945] scsi host0: ata_piix
[ 3.125374] scsi host1: ata_piix
[ 3.130133] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14
[ 3.137556] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15
[ 3.184640] blkfront: xvda: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled; bounce buffer: disabled;
[ 3.261288] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 3.266571] GPT:25165823 != 41943039
[ 3.269315] GPT:Alternate GPT header not at the end of the disk.
[ 3.273195] GPT:25165823 != 41943039
[ 3.275821] GPT: Use GNU Parted to correct GPT errors.
[ 3.279719] xvda: xvda1 xvda14 xvda15
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext4 (1) -- /dev/xvda1] fsck.ext4 -a -C0 /dev/xvda1
/dev/xvda1: clean, 292214/778240 files, 2434629/3112704 blocks
done.
[ 3.972246] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... [ 4.199986] EXT4-fs (xvda1): unmounting filesystem.
GROWROOT: WARNING: resize failed: failed [flock:127] flock -x 9
/sbin/growpart: line 714: flock: not found
FAILED: Error while obtaining exclusive lock on /dev/xvda
[ 4.259186] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 4.266010] GPT:25165823 != 41943039
[ 4.269510] GPT:Alternate GPT header not at the end of the disk.
[ 4.275450] GPT:25165823 != 41943039
[ 4.279308] GPT: Use GNU Parted to correct GPT errors.
[ 4.284378] xvda: xvda1 xvda14 xvda15
[ 4.330604] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/init-bottom ... done.
[ 4.623038] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[ 8.728892] systemd[1]: Inserted module 'autofs4'
[ 8.933171] systemd[1]: systemd 252.1-1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 8.953404] systemd[1]: Detected virtualization xen.
[ 8.957287] systemd[1]: Detected architecture x86-64.
Welcome to [1;31mKali GNU/Linux Rolling[0m!
[ 8.966755] systemd[1]: Hostname set to <kali>.
[ 9.067341] systemd[1]: Initializing machine ID from random generator.
[ 9.071808] systemd[1]: Installed transient /etc/machine-id file.
[ 12.087401] systemd[1]: Queued start job for default target Graphical Interface.
[ 12.092689] systemd[1]: Created slice Slice /system/getty.
[[0;32m OK [0m] Created slice [0;1;39mSlice /system/getty[0m.
[ 12.098683] systemd[1]: Created slice Slice /system/modprobe.
[[0;32m OK [0m] Created slice [0;1;39mSlice /system/modprobe[0m.
[ 12.105056] systemd[1]: Created slice Slice /system/serial-getty.
[[0;32m OK [0m] Created slice [0;1;39mSlice /system/serial-getty[0m.
[ 12.111587] systemd[1]: Created slice Slice /system/systemd-growfs.
[[0;32m OK [0m] Created slice [0;1;39mSlice /system/systemd-growfs[0m.
[ 12.117911] systemd[1]: Created slice User and Session Slice.
[[0;32m OK [0m] Created slice [0;1;39mUser and Session Slice[0m.
[ 12.124214] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[[0;32m OK [0m] Started [0;1;39mDispatch Password …ts to Console Directory Watch[0m.
[ 12.131791] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[[0;32m OK [0m] Started [0;1;39mForward Password R…uests to Wall Directory Watch[0m.
[ 12.139395] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[[0;32m OK [0m] Set up automount [0;1;39mArbitrary…s File System Automount Point[0m.
[ 12.147629] systemd[1]: Reached target Local Encrypted Volumes.
[[0;32m OK [0m] Reached target [0;1;39mLocal Encrypted Volumes[0m.
[ 12.153770] systemd[1]: Reached target Local Integrity Protected Volumes.
[[0;32m OK [0m] Reached target [0;1;39mLocal Integrity Protected Volumes[0m.
[ 12.163013] systemd[1]: Reached target Path Units.
[[0;32m OK [0m] Reached target [0;1;39mPath Units[0m.
[ 12.170174] systemd[1]: Reached target Slice Units.
[[0;32m OK [0m] Reached target [0;1;39mSlice Units[0m.
[ 12.177062] systemd[1]: Reached target TLS tunnels for network services - per-config-file target.
[[0;32m OK [0m] Reached target [0;1;39mTLS tunnels…ices - per-config-file target[0m.
[ 12.187727] systemd[1]: Reached target Swaps.
[[0;32m OK [0m] Reached target [0;1;39mSwaps[0m.
[ 12.194455] systemd[1]: Reached target Local Verity Protected Volumes.
[[0;32m OK [0m] Reached target [0;1;39mLocal Verity Protected Volumes[0m.
[ 12.204874] systemd[1]: Listening on Syslog Socket.
[[0;32m OK [0m] Listening on [0;1;39mSyslog Socket[0m.
[ 12.217392] systemd[1]: Listening on fsck to fsckd communication Socket.
[[0;32m OK [0m] Listening on [0;1;39mfsck to fsckd communication Socket[0m.
[ 12.224932] systemd[1]: Listening on initctl Compatibility Named Pipe.
[[0;32m OK [0m] Listening on [0;1;39minitctl Compatibility Named Pipe[0m.
[ 12.232117] systemd[1]: Listening on Journal Audit Socket.
[[0;32m OK [0m] Listening on [0;1;39mJournal Audit Socket[0m.
[ 12.238022] systemd[1]: Listening on Journal Socket (/dev/log).
[[0;32m OK [0m] Listening on [0;1;39mJournal Socket (/dev/log)[0m.
[ 12.243950] systemd[1]: Listening on Journal Socket.
[[0;32m OK [0m] Listening on [0;1;39mJournal Socket[0m.
[ 12.249852] systemd[1]: Listening on udev Control Socket.
[[0;32m OK [0m] Listening on [0;1;39mudev Control Socket[0m.
[ 12.260693] systemd[1]: Listening on udev Kernel Socket.
[[0;32m OK [0m] Listening on [0;1;39mudev Kernel Socket[0m.
[ 12.272220] systemd[1]: Mounting Huge Pages File System...
Mounting [0;1;39mHuge Pages File System[0m...
[ 12.284091] systemd[1]: Mounting POSIX Message Queue File System...
Mounting [0;1;39mPOSIX Message Queue File System[0m...
[ 12.296777] systemd[1]: Mounting Kernel Debug File System...
Mounting [0;1;39mKernel Debug File System[0m...
[ 12.308737] systemd[1]: Mounting Kernel Trace File System...
Mounting [0;1;39mKernel Trace File System[0m...
[ 12.321012] systemd[1]: Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[ 12.335639] systemd[1]: Starting Set the console keyboard layout...
Starting [0;1;39mSet the console keyboard layout[0m...
[ 12.348963] systemd[1]: Starting Create List of Static Device Nodes...
Starting [0;1;39mCreate List of Static Device Nodes[0m...
[ 12.371092] systemd[1]: Starting Load Kernel Module configfs...
Starting [0;1;39mLoad Kernel Module configfs[0m...
[ 12.386850] systemd[1]: Starting Load Kernel Module drm...
Starting [0;1;39mLoad Kernel Module drm[0m...
[ 12.399405] systemd[1]: Starting Load Kernel Module efi_pstore...
Starting [0;1;39mLoad Kernel Module efi_pstore[0m...
[ 12.413117] systemd[1]: Starting Load Kernel Module fuse...
Starting [0;1;39mLoad Kernel Module fuse[0m...
[ 12.421223] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 12.430321] systemd[1]: Starting Journal Service...
Starting [0;1;39mJournal Service[0m...
[ 12.449823] systemd[1]: Starting Load Kernel Modules...
Starting [0;1;39mLoad Kernel Modules[0m...
[ 12.461915] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting [0;1;39mRemount Root and Kernel File Systems[0m...
[ 12.476155] systemd[1]: Repartition Root Disk was skipped because no trigger condition checks were met.
[ 12.490825] fuse: init (API version 7.36)
[ 12.495798] systemd[1]: Starting Coldplug All udev Devices...
Starting [0;1;39mColdplug All udev Devices[0m...
[ 12.509441] systemd[1]: Mounted Huge Pages File System.
[[0;32m OK [0m] Mounted [0;1;39mHuge Pages File System[0m.
[ 12.519814] systemd[1]: Mounted POSIX Message Queue File System.
[[0;32m OK [0m] Mounted [0;1;39mPOSIX Message Queue File System[0m.
[ 12.526823] systemd[1]: Mounted Kernel Debug File System.
[[0;32m OK [0m] Mounted [0;1;39mKernel Debug File System[0m.
[ 12.533280] systemd[1]: Mounted Kernel Trace File System.
[[0;32m OK [0m] Mounted [0;1;39mKernel Trace File System[0m.[ 12.560839] EXT4-fs (xvda1): re-mounted. Quota mode: none.
[ 12.575155] systemd[1]: Finished Set the console keyboard layout.
[[0;32m OK [0m] Finished [0;1;39mSet the console keyboard layout[0m.
[ 12.598633] systemd[1]: Started Journal Service.
[[0;32m OK [0m] Started [0;1;39mJournal Service[0m.
[[0;32m OK [0m] Finished [0;1;39mCreate List of Static Device Nodes[0m.
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module configfs[0m.
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module drm[0m.
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module efi_pstore[0m.
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module fuse[0m.
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Modules[0m.
[[0;32m OK [0m] Finished [0;1;39mRemount Root and Kernel File Systems[0m.
Mounting [0;1;39mFUSE Control File System[0m...
Mounting [0;1;39mKernel Configuration File System[0m...
Starting [0;1;39mInitial cloud-init job (pre-networking)[0m...
Starting [0;1;39mGrow File System on /[0m...
Starting [0;1;39mFlush Journal to Persistent Storage[0m...
Starting [0;1;39mLoad/Save Random Seed[0m...
[ 12.675015] systemd-journald[314]: Received client request to flush runtime journal.
Starting [0;1;39mApply Kernel Variables[0m...
Starting [0;1;39mCreate System Users[0m...
[[0;32m OK [0m] Mounted [0;1;39mFUSE Control File System[0m.
[[0;32m OK [0m] Mounted [0;1;39mKernel Configuration File System[0m.
[[0;32m OK [0m] Finished [0;1;39mColdplug All udev Devices[0m.
Starting [0;1;39mHelper to synchronize boot up for ifupdown[0m...
[[0;32m OK [0m] Finished [0;1;39mHelper to synchronize boot up for ifupdown[0m.
[[0;32m OK [0m] Finished [0;1;39mApply Kernel Variables[0m.
[[0;32m OK [0m] Finished [0;1;39mLoad/Save Random Seed[0m.
[[0;32m OK [0m] Finished [0;1;39mFlush Journal to Persistent Storage[0m.
[ 12.944229] EXT4-fs (xvda1): resizing filesystem from 3112704 to 3112704 blocks
[[0;32m OK [0m] Finished [0;1;39mCreate System Users[0m.
Starting [0;1;39mCreate Static Device Nodes in /dev[0m...
[[0;32m OK [0m] Finished [0;1;39mGrow File System on /[0m.
[[0;32m OK [0m] Finished [0;1;39mCreate Static Device Nodes in /dev[0m.
[[0;32m OK [0m] Reached target [0;1;39mPreparation for Local File Systems[0m.
Starting [0;1;39mRule-based Manage…for Device Events and Files[0m...
[[0;32m OK [0m] Started [0;1;39mRule-based Manager for Device Events and Files[0m.
[[0;32m OK [0m] Found device [0;1;39m/dev/ttyS0[0m.
[[0;32m OK [0m] Found device [0;1;39m/dev/disk/by-uuid/AB3B-17A3[0m.
Mounting [0;1;39m/boot/efi[0m...
[ 14.770672] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[[0;32m OK [0m] Mounted [0;1;39m/boot/efi[0m.[ 14.799609] ACPI: button: Power Button [PWRF]
[ 14.828268] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input4
[ 14.840774] RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 655360 ms ovfl timer
[[0;32m OK [0m] Reached target [0;1;39mLocal File Systems[0m.
[ 14.949382] ACPI: button: Sleep Button [SLPF]
Starting [0;1;39mSet console font and keymap[0m...
Starting [0;1;39mSet Up Additional Binary Formats[0m...
Starting [0;1;39mCommit a transient machine-id on disk[0m...
Starting [0;1;39mCreate Volatile Files and Directories[0m...
[[0;32m OK [0m] Finished [0;1;39mSet console font and keymap[0m.
Mounting [0;1;39mArbitrary Executable File Formats File System[0m...
[[0;32m OK [0m] Mounted [0;1;39mArbitrary Executable File Formats File System[0m.
[[0;32m OK [0m] Finished [0;1;39mCreate Volatile Files and Directories[0m.
Mounting [0;1;39mRPC Pipe File System[0m...
Starting [0;1;39mRecord System Boot/Shutdown in UTMP[0m...
[[0;32m OK [0m] Finished [0;1;39mRecord System Boot/Shutdown in UTMP[0m.
[[0;32m OK [0m] Finished [0;1;39mSet Up Additional Binary Formats[0m.
[[0;32m OK [0m] Found device [0;1;39m/sys/subsystem/net/devices/eth0[0m.
[[0;32m OK [0m] Finished [0;1;39mCommit a transient machine-id on disk[0m.
[ 15.820642] RPC: Registered named UNIX socket transport module.
[ 15.826639] RPC: Registered udp transport module.
[ 15.831750] RPC: Registered tcp transport module.
[ 15.837328] RPC: Registered tcp NFSv4.1 backchannel transport module.
[[0;32m OK [0m] Mounted [0;1;39mRPC Pipe File System[0m.
[[0;32m OK [0m] Reached target [0;1;39mrpc_pipefs.target[0m.
[[0;32m OK [0m] Reached target [0;1;39mNFS client services[0m.
[[0;32m OK [0m] Reached target [0;1;39mPreparation for Remote File Systems[0m.
[[0;32m OK [0m] Reached target [0;1;39mRemote File Systems[0m.
[ 23.261235] cloud-init[403]: Cloud-init v. 22.2 running 'init-local' at Thu, 08 Dec 2022 00:08:56 +0000. Up 23.22 seconds.
[[0;32m OK [0m] Finished [0;1;39mInitial cloud-init job (pre-networking)[0m.
[[0;32m OK [0m] Reached target [0;1;39mPreparation for Network[0m.
[[0;32m OK [0m] Started [0;1;39mifup for eth0[0m.
Starting [0;1;39mRaise network interfaces[0m...
[[0;32m OK [0m] Finished [0;1;39mRaise network interfaces[0m.
[[0;32m OK [0m] Reached target [0;1;39mNetwork[0m.
Starting [0;1;39mInitial cloud-ini… (metadata service crawler)[0m...
[ 26.825062] cloud-init[619]: Cloud-init v. 22.2 running 'init' at Thu, 08 Dec 2022 00:09:00 +0000. Up 26.79 seconds.
[ 26.843459] cloud-init[619]: ci-info: +++++++++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++++++++++
[ 26.859976] cloud-init[619]: ci-info: +--------+------+-------------------------------------------+---------------+--------+-------------------+
[ 26.879528] cloud-init[619]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 26.889535] cloud-init[619]: ci-info: +--------+------+-------------------------------------------+---------------+--------+-------------------+
[ 26.911806] cloud-init[619]: ci-info: | eth0 | True | 172.31.33.44 | 255.255.240.0 | global | 0a:a2:8e:68:51:e2 |
[ 26.931969] cloud-init[619]: ci-info: | eth0 | True | 2406:da18:6e3:c01:b709:906e:4a68:cb92/128 | . | global | 0a:a2:8e:68:51:e2 |
[ 26.947554] cloud-init[619]: ci-info: | eth0 | True | fe80::8a2:8eff:fe68:51e2/64 | . | link | 0a:a2:8e:68:51:e2 |
[ 26.967993] cloud-init[619]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 26.983887] cloud-init[619]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 27.000260] cloud-init[619]: ci-info: +--------+------+-------------------------------------------+---------------+--------+-------------------+
[ 27.007695] cloud-init[619]: ci-info: +++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++
[ 27.014637] cloud-init[619]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+
[ 27.021157] cloud-init[619]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
[ 27.027303] cloud-init[619]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+
[ 27.033535] cloud-init[619]: ci-info: | 0 | 0.0.0.0 | 172.31.32.1 | 0.0.0.0 | eth0 | UG |
[ 27.039634] cloud-init[619]: ci-info: | 1 | 172.31.32.0 | 0.0.0.0 | 255.255.240.0 | eth0 | U |
[ 27.046116] cloud-init[619]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+
[ 27.053897] cloud-init[619]: ci-info: ++++++++++++++++++++++++++++++++++++++++Route IPv6 info++++++++++++++++++++++++++++++++++++++++
[ 27.061786] cloud-init[619]: ci-info: +-------+---------------------------------------+-------------------------+-----------+-------+
[ 27.068349] cloud-init[619]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 27.074409] cloud-init[619]: ci-info: +-------+---------------------------------------+-------------------------+-----------+-------+
[ 27.080022] cloud-init[619]: ci-info: | 1 | 2406:da18:6e3:c01:b709:906e:4a68:cb92 | :: | eth0 | U |
[ 27.085709] cloud-init[619]: ci-info: | 2 | 2406:da18:6e3:c01::/64 | :: | eth0 | U |
[ 27.091075] cloud-init[619]: ci-info: | 3 | fe80::/64 | :: | eth0 | U |
[ 27.096445] cloud-init[619]: ci-info: | 4 | ::/0 | fe80::8cb:5ff:fea2:41b0 | eth0 | UGe |
[ 27.101950] cloud-init[619]: ci-info: | 6 | local | :: | eth0 | U |
[ 27.107541] cloud-init[619]: ci-info: | 7 | multicast | :: | eth0 | U |
[ 27.113198] cloud-init[619]: ci-info: +-------+---------------------------------------+-------------------------+-----------+-------+
[ 29.599286] EXT4-fs (xvda1): resizing filesystem from 3112704 to 5210107 blocks
[ 30.182225] EXT4-fs (xvda1): resized filesystem to 5210107
[ 30.315956] EXT4-fs (xvda1): Invalid checksum for backup superblock 32768
[ 30.315956]
[ 30.338948] EXT4-fs error (device xvda1) in ext4_update_backup_sb:174: Filesystem failed CRC
[ 30.350048] Aborting journal on device xvda1-8.
[ 30.357947] EXT4-fs (xvda1): Remounting filesystem read-only
[ 30.366888] EXT4-fs error (device xvda1) in ext4_update_backup_sb:174: Journal has aborted
[ 30.123079] cloud-init[619]: 2022-12-08 00:09:03,584 - util.py[WARNING]: Failed to resize filesystem (cmd=('resize2fs', '/dev/xvda1'))
[ 30.259828] cloud-init[619]: 2022-12-08 00:09:03,721 - util.py[WARNING]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_resizefs.py'>) failed
[ 30.390071] cloud-init[619]: 2022-12-08 00:09:03,850 - util.py[WARNING]: Failed writing semaphore file /var/lib/cloud/instances/i-0d6ec2920bab7965f/sem/config_disk_setup
[ 30.407099] cloud-init[619]: 2022-12-08 00:09:03,850 - util.py[WARNING]: Running module disk_setup (<module 'cloudinit.config.cc_disk_setup' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_disk_setup.py'>) failed
[ 30.426034] cloud-init[619]: 2022-12-08 00:09:03,851 - util.py[WARNING]: Failed writing semaphore file /var/lib/cloud/instances/i-0d6ec2920bab7965f/sem/config_mounts
[ 30.443636] cloud-init[619]: 2022-12-08 00:09:03,865 - util.py[WARNING]: Running module mounts (<module 'cloudinit.config.cc_mounts' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_mounts.py'>) failed
[ 30.462347] cloud-init[619]: 2022-12-08 00:09:03,867 - util.py[WARNING]: Failed to write hostname kali to /var/lib/cloud/data/previous-hostname
[ 30.478415] cloud-init[619]: 2022-12-08 00:09:03,922 - util.py[WARNING]: Running module update_etc_hosts (<module 'cloudinit.config.cc_update_etc_hosts' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_update_etc_hosts.py'>) failed
[ 30.501201] cloud-init[619]: 2022-12-08 00:09:03,936 - util.py[WARNING]: Failed writing semaphore file /var/lib/cloud/instances/i-0d6ec2920bab7965f/sem/config_ca_certs
[ 30.519428] cloud-init[619]: 2022-12-08 00:09:03,936 - util.py[WARNING]: Running module ca-certs (<module 'cloudinit.config.cc_ca_certs' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ca_certs.py'>) failed
[ 30.556321] cloud-init[619]: 2022-12-08 00:09:03,937 - util.py[WARNING]: Failed writing semaphore file /var/lib/cloud/instances/i-0d6ec2920bab7965f/sem/config_rsyslog
[ 30.588161] cloud-init[619]: 2022-12-08 00:09:03,937 - util.py[WARNING]: Running module rsyslog (<module 'cloudinit.config.cc_rsyslog' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_rsyslog.py'>) failed
[ 30.616047] cloud-init[619]: 2022-12-08 00:09:03,938 - util.py[WARNING]: Failed writing semaphore file /var/lib/cloud/instances/i-0d6ec2920bab7965f/sem/config_users_groups
[[0;1;31mFAILED[0m] Failed to start [0;1;39mInitial cl…ob (metadata service crawler)[0m.
[ 30.639460] cloud-init[619]: 2022-12-08 00:09:03,939 - util.py[WARNING]: Running module users-groups (<module 'cloudinit.config.cc_users_groups' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_users_groups.py'>) failed
See 'systemctl status cloud-init.service' for details.
[[0;32m OK [0m] Reached target [0;1;39mCloud-config availability[0m.
[ 30.656627] cloud-init[619]: 2022-12-08 00:09:03,939 - util.py[WARNING]: Failed writing semaphore file /var/lib/cloud/instances/i-0d6ec2920bab7965f/sem/config_ssh
[[0;32m OK [0m] Reached target [0;1;39mNetwork is Online[0m.
[ 30.678364] cloud-init[619]: 2022-12-08 00:09:03,960 - util.py[WARNING]: Running module ssh (<module 'cloudinit.config.cc_ssh' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh.py'>) failed
[[0;32m OK [0m] Reached target [0;1;39mSystem Initialization[0m.
[ 30.704666] cloud-init[619]: Traceback (most recent call last):
[[0;32m OK [0m] Started [0;1;39mDaily apt download activities[0m.
[ 30.719396] cloud-init[619]: File "/usr/bin/cloud-init", line 33, in <module>
[[0;32m OK [0m] Started [0;1;39mDaily apt upgrade and clean activities[0m.
[[0;32m OK [0m] Started [0;1;39mDaily dpkg database backup timer[0m.
[ 30.756443] cloud-init[619]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 1061, in main
[[0;32m OK [0m] Started [0;1;39mPeriodic ext4 Onli…ata Check for All Filesystems[0m.
[ 30.773028] cloud-init[619]: retval = util.log_time(
[ 30.776820] cloud-init[619]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2637, in log_time
[[0;32m OK [0m] Started [0;1;39mDiscard unused blocks once a week[0m.
[ 30.788289] cloud-init[619]: ret = func(*args, **kwargs)
[[0;32m OK [0m] Started [0;1;39mDaily rotation of log files[0m.
[ 30.797620] cloud-init[619]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 758, in status_wrapper
[[0;32m OK [0m] Started [0;1;39mClean PHP session files every 30 mins[0m.
[ 30.810331] cloud-init[619]: atomic_helper.write_json(status_path, status)
[[0;32m OK [0m] Started [0;1;39mUpdate the plocate database daily[0m.
[ 30.824612] cloud-init[619]: File "/usr/lib/python3/dist-packages/cloudinit/atomic_helper.py", line 51, in write_json
[[0;32m OK [0m] Started [0;1;39mDaily Cleanup of Temporary Directories[0m.
[ 30.840885] cloud-init[619]: return write_file(
[[0;32m OK [0m] Reached target [0;1;39mTimer Units[0m.
[ 30.850775] cloud-init[619]: File "/usr/lib/python3/dist-packages/cloudinit/atomic_helper.py", line 46, in write_file
[[0;32m OK [0m] Listening on [0;1;39mD-Bus System Message Bus Socket[0m.
[ 30.864263] cloud-init[619]: raise e
[[0;32m OK [0m] Reached target [0;1;39mSocket Units[0m.
[ 30.872647] cloud-init[619]: File "/usr/lib/python3/dist-packages/cloudinit/atomic_helper.py", line 27, in write_file
Starting [0;1;39mNotify NFS peers of a restart[0m...
[ 30.888910] cloud-init[619]: tf = tempfile.NamedTemporaryFile(
[[0;32m OK [0m] Reached target [0;1;39mBasic System[0m.
[ 30.899916] cloud-init[619]: File "/usr/lib/python3.10/tempfile.py", line 698, in NamedTemporaryFile
Starting [0;1;39mApply the settings specified in cloud-config[0m...
[ 30.915529] cloud-init[619]: file = _io.open(dir, mode, buffering=buffering,
[[0;32m OK [0m] Started [0;1;39mRegular background program processing daemon[0m.
[ 30.935512] cloud-init[619]: File "/usr/lib/python3.10/tempfile.py", line 695, in opener
Starting [0;1;39mD-Bus System Message Bus[0m...
[ 30.965370] cloud-init[619]: fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
Starting [0;1;39mRemove Stale Onli…t4 Metadata Check Snapshots[0m...
[ 30.996722] cloud-init[619]: File "/usr/lib/python3.10/tempfile.py", line 395, in _mkstemp_inner
Starting [0;1;39mRegenerate SSH host keys[0m...
[ 31.027558] cloud-init[619]: fd = _os.open(file, flags, 0o600)
Starting [0;1;39mSystem Logging Service[0m...
[ 31.039521] cloud-init[619]: OSError: [Errno 30] Read-only file system: '/var/lib/cloud/data/tmpxgan3y0g'
Starting [0;1;39mUser Login Management[0m...
Starting [0;1;39mPermit User Sessions[0m...
[[0;1;31mFAILED[0m] Failed to start [0;1;39mUser Login Management[0m.
See 'systemctl status systemd-logind.service' for details.
[[0;32m OK [0m] Finished [0;1;39mPermit User Sessions[0m.
[[0;32m OK [0m] Started [0;1;39mGetty on tty1[0m.
[[0;32m OK [0m] Started [0;1;39mSerial Getty on ttyS0[0m.
[[0;32m OK [0m] Reached target [0;1;39mLogin Prompts[0m.
[[0;32m OK [0m] Stopped [0;1;39mUser Login Management[0m.
Starting [0;1;39mLoad Kernel Module drm[0m...
[[0;32m OK [0m] Started [0;1;39mD-Bus System Message Bus[0m.
[[0;32m OK [0m] Finished [0;1;39mRegenerate SSH host keys[0m.
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module drm[0m.
Starting [0;1;39mOpenBSD Secure Shell server[0m...
Starting [0;1;39mUser Login Management[0m...
[[0;1;31mFAILED[0m] Failed to start [0;1;39mUser Login Management[0m.
See 'systemctl status systemd-logind.service' for details.
[[0;32m OK [0m] Stopped [0;1;39mUser Login Management[0m.
Starting [0;1;39mLoad Kernel Module drm[0m...
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module drm[0m.
Starting [0;1;39mUser Login Management[0m...
[[0;1;31mFAILED[0m] Failed to start [0;1;39mUser Login Management[0m.
See 'systemctl status systemd-logind.service' for details.
[[0;32m OK [0m] Stopped [0;1;39mUser Login Management[0m.
Starting [0;1;39mLoad Kernel Module drm[0m...
[[0;32m OK [0m] Started [0;1;39mSystem Logging Service[0m.
[[0;32m OK [0m] Started [0;1;39mNotify NFS peers of a restart[0m.
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module drm[0m.
Starting [0;1;39mUser Login Management[0m...
[[0;1;31mFAILED[0m] Failed to start [0;1;39mUser Login Management[0m.
See 'systemctl status systemd-logind.service' for details.
[[0;32m OK [0m] Stopped [0;1;39mUser Login Management[0m.
Starting [0;1;39mLoad Kernel Module drm[0m...
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module drm[0m.
Starting [0;1;39mUser Login Management[0m...
[[0;1;31mFAILED[0m] Failed to start [0;1;39mUser Login Management[0m.
[ 31.645337] cloud-init[682]: Traceback (most recent call last):
See 'systemctl status systemd-logind.service' for details.
[ 31.661314] cloud-init[682]: File "/usr/bin/cloud-init", line 33, in <module>
[[0;32m OK [0m] Stopped [0;1;39mUser Login Management[0m.
Starting [0;1;39mLoad Kernel Module drm[0m...
[ 31.747746] cloud-init[682]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 1061, in main
[[0;1;31mFAILED[0m] Failed to start [0;1;39mOpenBSD Secure Shell server[0m.
[ 31.796108] cloud-init[682]: retval = util.log_time(
See 'systemctl status ssh.service' for details.
[ 31.807526] cloud-init[682]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2637, in log_time
[[0;1;31mFAILED[0m] Failed to start [0;1;39mApply the …ngs specified in cloud-config[0m.
[ 31.828055] cloud-init[682]: ret = func(*args, **kwargs)
See 'systemctl status cloud-config.service' for details.
[ 31.837637] cloud-init[682]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 675, in status_wrapper
[[0;32m OK [0m] Finished [0;1;39mLoad Kernel Module drm[0m.
[[0;1;31mFAILED[0m] Failed to start [0;1;39mUser Login Management[0m.
[ 31.871702] cloud-init[682]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1704, in ensure_dirs
See 'systemctl status systemd-logind.service' for details.
[ 31.889378] cloud-init[682]: ensure_dir(d, mode)
[ 31.897145] cloud-init[682]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1767, in ensure_dir
[ 31.908355] cloud-init[682]: chmod(path, mode)
[ 31.913867] cloud-init[682]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2029, in chmod
[ 31.924736] cloud-init[682]: os.chmod(path, real_mode)
[ 31.931858] cloud-init[682]: OSError: [Errno 30] Read-only file system: '/var/lib/cloud/data'
[[0;32m OK [0m] Stopped [0;1;39mOpenBSD Secure Shell server[0m.
Starting [0;1;39mOpenBSD Secure Shell server[0m...
[[0;1;31mFAILED[0m] Failed to start [0;1;39mOpenBSD Secure Shell server[0m.
See 'systemctl status ssh.service' for details.
[[0;32m OK [0m] Finished [0;1;39mRemove Stale Onli…ext4 Metadata Check Snapshots[0m.
[[0;32m OK [0m] Reached target [0;1;39mMulti-User System[0m.
[[0;32m OK [0m] Reached target [0;1;39mGraphical Interface[0m.
Starting [0;1;39mExecute cloud user/final scripts[0m...
Starting [0;1;39mRecord Runlevel Change in UTMP[0m...
[[0;32m OK [0m] Finished [0;1;39mRecord Runlevel Change in UTMP[0m.
[ 32.300135] cloud-init[707]: Traceback (most recent call last):
[ 32.327760] cloud-init[707]: File "/usr/bin/cloud-init", line 33, in <module>
[[0;32m OK [0m] Stopped [0;1;39mOpenBSD Secure Shell server[0m.
Starting [0;1;39mOpenBSD Secure Shell server[0m...
[ 32.429664] cloud-init[707]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 1061, in main
[[0;1;31mFAILED[0m] Failed to start [0;1;39mExecute cloud user/final scripts[0m.
[ 32.448354] cloud-init[707]: retval = util.log_time(
See 'systemctl status cloud-final.service' for details.
[ 32.461660] cloud-init[707]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2637, in log_time
[[0;1;31mFAILED[0m] Failed to start [0;1;39mOpenBSD Secure Shell server[0m.
[ 32.477109] cloud-init[707]: ret = func(*args, **kwargs)
See 'systemctl status ssh.service' for details.
[ 32.491257] cloud-init[707]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 675, in status_wrapper
[[0;32m OK [0m] Reached target [0;1;39mCloud-init target[0m.
[ 32.636976] cloud-init[707]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1704, in ensure_dirs
[ 32.652642] cloud-init[707]: ensure_dir(d, mode)
[ 32.662251] cloud-init[707]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1767, in ensure_dir
[ 32.700327] cloud-init[707]: chmod(path, mode)
[ 32.704305] cloud-init[707]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2029, in chmod
[ 32.711424] cloud-init[707]: os.chmod(path, real_mode)
Kali GNU/Linux Rolling kali ttyS0
kali login: root (automatic login)
[ 32.727791] cloud-init[707]: OSError: [Errno 30] Read-only file system: '/var/lib/cloud/data'
Linux kali 6.0.0-kali3-cloud-amd64 0000001 SMP PREEMPT_DYNAMIC Debian 6.0.7-1kali1 (2022-11-07) x86_64
The programs included with the Kali GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Kali GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
┏━([1;31mMessage from Kali developers[00m)
┃
┃ This is a cloud installation of Kali Linux. Learn more about
┃ the specificities of the various cloud images:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-cloud-setup/
┃
┗━([2;37mRun: “touch ~/.hushlogin” to hide this message[0m)
[0m |
---|