Board logo

标题: 华为云ubuntu不能mask systemd-journald 服务 [打印本页]

作者: linda    时间: 2022-2-10 22:02     标题: 华为云ubuntu不能mask systemd-journald 服务

systemctl stop systemd-journald 或 systemctl mask systemd-journald 会导致不能登录ssh,系统假死
改正:
systemctl start systemd-journald
systemctl unmask systemd-journald

用 journalctl -n 查看日志,会出现
logger -t [/bin/bash] [pkill -9 logger] return code=[130], execute failed by [root(uid=0)] from
然后死机


参考:
https://stackoverflow.com/questions/30782811/how-do-i-list-all-systemd-masked-units

[ 本帖最后由 linda 于 2022-2-11 00:30 编辑 ]




欢迎光临 中神通公司交流论坛 (http://www.trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0