kernel update last night overwrote my grub.conf

Gene Heskett gene.heskett at verizon.net
Thu Jan 8 20:11:13 UTC 2009


On Thursday 08 January 2009, Michael Schwendt wrote:
>On Thu, 08 Jan 2009 10:56:17 -0500, Gene wrote:
>> On Thursday 08 January 2009, Michael Schwendt wrote:
>> >On Thu, 08 Jan 2009 09:53:41 -0500, Gene wrote:
>> >> Also, a recent ntp update
>> >
>> >What "recent ntp update" do you refer to? Give version and release,
>> >please. Use details from "rpm -qa --last|grep ntp" and
>> >"grep ntp /var/log/yum.log"
>>
>> Fedora 8, sorry.
>>
>> [root at coyote etc]# rpm -qa --last|grep ntp
>> ntp-4.2.4p4-1.fc8                             Tue 18 Nov 2008 11:34:03 AM
>> EST [root at coyote etc]# grep ntp /var/log/yum.log
>> [root at coyote etc]#
>
>That's an update from April/May 2008:
>
>  https://admin.fedoraproject.org/updates/F8/FEDORA-2008-3170
>
>An install date of "18 Nov 2008" suggests that probably you reinstalled
>Fedora 8 on that day.

Yes, a hard drive failure.

>If that is not true, perhaps you removed+installed "ntp" without
>switching it on for any run-level.

That reinstall was riddled with stuff that should have been put in but wasn't, 
and I believe I made some comments about such over the next week or so, but 
ntpd continued to run normally till the last week of Dec 2008.

>> >> removed /etc/rc3.d/S58ntpd,
>> >
>> >It doesn't do that. Only upon unstalling the "ntp" package from your
>> >system, it also stops the service and removes the run-level symlinks.
>>
>> I am sure it was there after the re-install on Nov 18th, and I'm the only
>> user, so that leaves the possibility that ext3 has done an ntfs on me, and
>> deleted a random file.
>
>Aha, a re-install on Nov 18th indeed. That matches my theory. There
>hasn't been any ntp update for Fedora 8, however. And the package
>doesn't touch the run-level scripts. ntp defaults to off and doesn't
>remove any symlink until you uninstall the package. You can examine
>"rpm -q --scripts ntp" if you like.

Hummm, :

preinstall scriptlet (using /bin/sh):
/usr/sbin/groupadd -g 38 ntp  2> /dev/null || :
/usr/sbin/useradd -u 38 -g 38 -s /sbin/nologin -M -r -d /etc/ntp ntp 
2>/dev/null || :
postinstall scriptlet (using /bin/sh):
/sbin/chkconfig --add ntpd
:
preuninstall scriptlet (using /bin/sh):
if [ "$1" -eq 0 ]; then
        /sbin/service ntpd stop &> /dev/null
        /sbin/chkconfig --del ntpd
fi
:
postuninstall scriptlet (using /bin/sh):
if [ "$1" -ge 1 ]; then
        /sbin/service ntpd condrestart &> /dev/null
fi
:

Which looks benign on the face of it. ???
 
>Looks very much as if you're chasing ghosts.

That it does, and it doesn't answer to Casper. :)

Thanks.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Every time I look at you I am more convinced of Darwin's theory.




More information about the fedora-list mailing list