* NIS/portmap/clock
@ 1998-04-28 14:03 Stefan Boresch
1998-04-28 15:58 ` NIS/portmap/clock Michal Jaegermann
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Boresch @ 1998-04-28 14:03 UTC (permalink / raw)
To: axp-list
Having read on this newsgroup that the latest glibc rpm in combination
with a fixed ypbind rpm cures the known NIS problems, I made the
necessary upgrades and finally tied the machine into our NIS net. Everything
works, but suddenly I noticed that the clock is totally screwed
up. Please note that this is not the ARC vs. no-ARC problem (the date
is not 2018, but some random(?) value after every restart).
(This is a 533MHz LX machine, RH 5.0 with all the latest patches
applied)
The culprit is the portmap rpm (in line with the Redhat README in the
updates section); however, I have the clock problem whether I use the
no-script option (don't know the exact syntax at the moment, but I
copied it from the README file) or not. As soon as I uninstall portmap
and reboot, the time (date) is properly set from the ARC CMOS clock.
Can anyone shed some light on this puzzle? What exactly does the
portmap rpm break? The code to set the clock in rc.sysinit works OK if
executed separately after the boot process, i.e. I am positive that
the /etc/sysconfig/clock is set properly (UTC false, ARC true). Since
I had to reinstall the machine from scratch for other reasons, this
cannot be due to some bug in an intermediate version of the
rpms. Basically, I installed, and immediately afterwards upgraded all
rpms that I need according to the README file.
Thanks,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: NIS/portmap/clock
1998-04-28 14:03 NIS/portmap/clock Stefan Boresch
@ 1998-04-28 15:58 ` Michal Jaegermann
1998-04-28 17:20 ` NIS/portmap/clock Stefan Boresch
0 siblings, 1 reply; 3+ messages in thread
From: Michal Jaegermann @ 1998-04-28 15:58 UTC (permalink / raw)
To: stefan; +Cc: axp-list
Stefan Boresch writes:
>
> Can anyone shed some light on this puzzle? What exactly does the
> portmap rpm break? The code to set the clock in rc.sysinit works OK if
> executed separately after the boot process,
In that case the simple workaround is to set clock once again at
the end of your boot process in rc.local. True, whatever was
written to logfiles, between portmap buggered your clock and you
restored it back, will have a weird time-stamp - which is annoying -
but at least this will preserve your sanity until you will have the
problem licked.
The more radical intervention is to edit a portmap startup script
and fix clock there.
Michal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: NIS/portmap/clock
1998-04-28 15:58 ` NIS/portmap/clock Michal Jaegermann
@ 1998-04-28 17:20 ` Stefan Boresch
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Boresch @ 1998-04-28 17:20 UTC (permalink / raw)
To: axp-list
After a new attempt, things work. I don't understand why.
While I happily accept the result, I am truly puzzled as to what
screwed up the system before. The one thing that I changed was
that I got NIS completely working with the old (original) portmap
rpm (on our net, this worked -- server is a SGI), and only then
upgraded to 4.0.8. I have difficulties to believe that this was
a simple initscript problem, since the clock call is done exactly
once (in rc.sysconfig). Sure I could have placed another call in
rc.local or the portmap script, but neither would have been
a clean solution. I guess I shouldn't complain...
Since things work now, I couldn't test whether the date was
random for consecutive calls, all I know is that it was random
after each reboot.
Thanks again,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-04-28 17:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-28 14:03 NIS/portmap/clock Stefan Boresch
1998-04-28 15:58 ` NIS/portmap/clock Michal Jaegermann
1998-04-28 17:20 ` NIS/portmap/clock Stefan Boresch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox