LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 818|回复: 3

[solved]移除caching service dependencies的警告

[复制链接]
发表于 2008-7-1 06:13:59 | 显示全部楼层 |阅读模式
把一个系统正常运行的系统,通过ghost的方法,安装到另外一个机器上后,就出现下面的问题了,系统启动的时候,会出现许多“caching service dependencies”,应该是系统和时间有关的地方出问题了。搜索了一下,gentoo的论坛倒是有下面的说明,但是不知道怎么手工reset mtimes?怎么做,谢谢?
startup, reboot or shutdown slowing down with OpenRC? :x

your mtimes may be set in the future: (cause = clock skew, or otherwise?)

In my case, i cloned one gentoo machine to another (with a stage4 backup) and the times got screwed. This fixed the time drift effectively.

Offending screens at startup, shutdown/reboot:

Code:
caching service dependencies .................................


One Solution is to manually reset mtimes

[edit]
出现这个问题,原因是主板上的时间一个用的utc,一个用的localtime。两个时间对不上了,出现了问题。一般时间就差距不超过12个小时。让时间自己解决,或者用touch的方法解决。
发表于 2008-7-1 09:11:19 | 显示全部楼层
我也曾经遇到过这个问题,困扰了我好一阵,我想也许可以通过下面的命令来修正,请楼主试试

touch /etc/*
touch ~/*
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-1 10:46:50 | 显示全部楼层
谢谢。回头我试试。
估计那个问题,随时间推移,会自动消失。
回复 支持 反对

使用道具 举报

发表于 2008-7-1 17:11:27 | 显示全部楼层
就是用touch
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表