信创服务器升级openssl和openssh的时候发生了一个奇怪的报错:

Failed to restart ssh.service:Unit -.mount is masked.

解决方法:

rm /lib/systemd/system/ssh.service

或者从其他服务器拖一个该文件过来,经过对比原有文件和拖过来的文件内容权限都一样,但是就是需要替换一下,原因未知。