+ -
当前位置:首页 → 问答吧 → "Warning: Fake start-stop-daemon called, doing nothing" 你碰到过吗?!

"Warning: Fake start-stop-daemon called, doing nothing" 你碰到过吗?!

时间:2003-08-27

来源:互联网

刚刚用 debootstrap 在一个已有的系统基础之上安装了一个新 debian,引导新系统碰到了一个很新鲜的事情,类似这样:
“Starting system log daemon:
Warning: Fake start-stop-daemon called, doing nothing”

系统好些服务都没起来。用 google 找了一下,关键字“Warning: Fake start-stop-daemon called, doing nothing”,得到答案。

$ cp /sbin/start-stop-daemon /sbin/start-stop-daemon.FAKE
$ cp /sbin/start-stop-daemon.REAL /sbin/start-stop-daemon
$ /etc/init.d/sysklogd start
Starting system log daemon: syslogd.
成功。

让我们再来看看 start-stop-daemon.FAKE 里都写了些什么。
$ vi /sbin/start-stop-daemon.FAKE
#!/bin/sh
echo
echo "Warning: Fake start-stop-daemon called, doing nothing"
天,什么都没干。

为什么会出现这种情况,估计是 debootstrap 下载好系统后没给换回来,而 chroot 下是没影响,真正引导时就要出问题了。

这个东西威力不小,时常让我的分区空间 100% 爆满,只好重启。

作者: quanliking   发布时间: 2003-08-27