通常,被masked的服务单元文件会被重命名并移动到/dev/null的符号链接(即一个“黑洞”),因此你需要找到原始的服务单元文件(例如/lib/systemd/system/systemd-timesyncd.service),并检查其是否存在以及是否被重命名。 取消masked状态: 使用systemctl unmask命令可以取消服务的masked状态。例如:bash sudo systemctl unmask...
/etc/systemd/system/sshswitch.service /etc/systemd/system/serial-getty@ttyAMA0.service /etc/systemd/system/getty-static.service In the console I runsudo systemctl start systemd-timesyncd.servicewhich returnsFailed to start systemd-timesyncd.service: Unit systemd-timesyncd.service is masked. Addit...
systemd-sysctl.service.xml | 2 +- man/systemd-tmpfiles.xml | 2 +- man/systemd-vconsole-setup.service.xml | 2 +- man/systemd.link.xml | 2 +- meson.build | 5 +- .../system/mkosi.conf.d/10-centos-fedora.conf | 1 + .../system/mkosi.conf.d/10-centos/mkosi.conf | 4 + ....