每次我设置新的 VPS 时,我都会通过添加以下内容来保护共享内存/etc/fstab
:
tmpfs /dev/shm tmpfs defaults,noexec,nosuid 0 0
除 Linode 外,它在每个主机上均按预期运行。
这是我在 Lish 中遇到的启动错误:
init: plymouth-upstart-bridge main process (1335) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
init: ureadahead main process (1338) terminated with status 5
init: plymouth-upstart-bridge main process (1343) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
init: plymouth-upstart-bridge main process (1350) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
random: nonblocking pool is initialized
此后,VPS 将无法启动,因此必须将其彻底删除。
知道为什么会这样吗?
答案1
/dev/shm
用。。。来代替/run/shm
。
有关详细信息,请参阅:
http://www.thefanclub.co.za/how-to/how-secure-ubuntu-1204-lts-server-part-1-basics
和