telinit:Did not receive a reply.Possible causes include:the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired

问题:

Enabling /etc/fstab swaps: [ok]
telinit:Did not receive a reply.Possible causes include:the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. the rinit: rcS post-stop process terminated with status 1

有一种情况,passwd文件为空。

/etc/passwd-

/etc/gshadow-

/etc/group-

处理方法:

用系统盘进入Rescue救援模式,

chroot /mnt/sysimage

/etc/passwd- 改成 /etc/passwd

/etc/gshadow-  改成 /etc/gshadow

/etc/group-  改成 /etc//group

原文地址:https://www.cnblogs.com/linkenpark/p/8463337.html