[CentOS] initlog is deprecated

John R Pierce pierce at hogranch.com
Sun Feb 20 22:42:43 UTC 2011


On 02/20/11 2:36 PM, Johnny Hughes wrote:
> Also the following will help determine if you have normal centos
> packages or "something else":
>
> rpm -q initscripts openssh-server
>
> The result should look this for CentOS-5:
>
> initscripts-8.45.30-3.el5.centos
> openssh-server-4.3p2-41.el5_5.1

I believe that won't detect if package files have been overwritten by 
'something else'... try...

# rpm -V initscripts openssh-server

if all files are unmolested, there should be no output.  in my case, 
/etc/rc.d/rc.local has been tweaked, so I got...

# rpm -V initscripts openssh-server
S.5....T  c /etc/rc.d/rc.local





More information about the CentOS mailing list