Issue/Introduction
This article provides initial diagnosis and handling guidance for a host disconnection caused by pressing Ctrl+Alt+Del in ZStack Cloud.
Environment
- Product: ZCF
- Component: Cloud
- Versions: 3.x-5.5.30
Symptoms
The host is disconnected, and the messages log shows that a virtual USB device was connected and Received SIGINT was received.
Possible causes
Someone pressed Ctrl+Alt+Del.
Resolution
- Modify the system configuration file to disable Ctrl+Alt+Del.
- Sign in to the host console as root.
- Run
vi /etc/systemd/system/ctrl-alt-del.targetto enter edit mode and modify thectrl-alt-del.targetfile. - Add the following content to
ctrl-alt-del.target:
[Unit]
Description=Disable Ctrl-Alt-Del
[Service]
ExecStart=/bin/true
Type=oneshot
[Install]
WantedBy=multi-user.target
- Save the changes and exit edit mode.
- Run
systemctl daemon-reloadto reload the systemd configuration. - Run
systemctl mask ctrl-alt-del.targetto disablectrl-alt-del.target. - Restart the system for the changes to take effect.
Note:
Before restarting the host, confirm whether the operation affects workloads.
- Security training: Train operations personnel and prohibit casual use of Ctrl+Alt+Del to avoid host disconnections caused by accidental operations.
- Physical protection: Protect hosts by installing cabinet door locks, surveillance cameras, and other equipment to prevent unauthorized personnel from operating them.
