[Bug 426270] New: Time resets everytime machine is rebooted
https://bugzilla.novell.com/show_bug.cgi?id=426270 Summary: Time resets everytime machine is rebooted Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: psankar@novell.com QAContact: qa@suse.de Found By: --- My time resets into some future time , everytime I reboot my machine. This makes my builds unusable. Worse, I dont have a clockapplet in my desktop and hence I dont notice this until some build breaks. It screws up the SMTP mail send time as well. Sync at boot with NTP also fails. Manual syncing with NTP also fails. My system is close to unusable because of this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c1 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent --- Comment #1 from Sankar P <psankar@novell.com> 2008-09-15 05:30:06 MDT --- Setting priority as I feel this is an urgent issue that makes my machine unusable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User rvojcik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c2 Robert Vojcik <rvojcik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |psankar@novell.com --- Comment #2 from Robert Vojcik <rvojcik@novell.com> 2008-09-15 13:03:39 MDT --- Hello, Please provide the content of /etc/adjtime Is your hardware clock set to localtime or UTC? Right after booting, when you get the wrong system time, can you please check the output of hwclock --show Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c3 --- Comment #3 from Sankar P <psankar@novell.com> 2008-09-15 13:24:07 MDT --- (In reply to comment #2 from Robert Vojcik)
Hello,
Please provide the content of /etc/adjtime
0.275542 1221504743 0.000000 1221504743 LOCAL
Is your hardware clock set to localtime or UTC?
Localtime
Right after booting, when you get the wrong system time, can you please check the output of
hwclock --show
Shall restart and provide this.
Thanks
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c4 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|psankar@novell.com | --- Comment #4 from Sankar P <psankar@novell.com> 2008-09-15 13:35:44 MDT ---
Right after booting, when you get the wrong system time, can you please check the output of
hwclock --show
Shall restart and provide this.
Tue 16 Sep 2008 01:02:35 AM IST -0.589853 seconds This shows the correct time. At the same instant, the system clock is showing a different time than the output of hwclock. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User rvojcik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c5 Robert Vojcik <rvojcik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |psankar@novell.com --- Comment #5 from Robert Vojcik <rvojcik@novell.com> 2008-09-16 04:11:15 MDT --- Ok, try to change in yast2 system clock to UTC instead of local time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c6 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|psankar@novell.com | --- Comment #6 from Sankar P <psankar@novell.com> 2008-09-18 04:32:33 MDT --- (In reply to comment #5 from Robert Vojcik)
Ok,
try to change in yast2 system clock to UTC instead of local time.
Yes. that does not make the system time go wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User chuckwolfe@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c7 chuck wolfe <chuckwolfe@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chuckwolfe@gmail.com Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from chuck wolfe <chuckwolfe@gmail.com> 2008-09-18 19:31:50 MDT --- (In reply to comment #5 from Robert Vojcik)
Ok,
try to change in yast2 system clock to UTC instead of local time.
Yes. that does not make the system time go wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c8 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #8 from Sankar P <psankar@novell.com> 2008-09-23 21:36:48 MDT --- My laptop has a windows partition as well. Setting the time in UTC causes my windows machine to go wrong. And the time that I want to set in my clock is not UTC. It is my time-zone time only. So, I believe this bug still remains. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User ivan.lucchese@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c9 Ivan Lucchese <ivan.lucchese@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ivan.lucchese@gmail.com --- Comment #9 from Ivan Lucchese <ivan.lucchese@gmail.com> 2008-09-27 11:54:13 MDT --- First of all, hello to everybody. I'm a new openSuSE user, but not new at linux, at least as an hobbyst. I was very interested in the "1-click-installation" feature and so I installed openSuSE 11.0 from the live CD. Then I was really annoyed by this same bug: at each reboot, my system time was delayed by two more hours (4 hours after 2 reboots, 6 hours after 3 reboots ...). My hardware clock is set to local time, since once in a while I have to use WindowsXP ... My local time is CEST, so it is GMT+2. With a working ntp server the system time goes good, but sometimes my ADSL connection is quite slow to start up and so it takes several minutes before the ntp server can connect and synchronize. I tried some search in this bugzilla and in the forums and I found out other people with this problem but no complete fix (http://forums.opensuse.org/install-boot-login/388755-wrong-clock-11-0-a-3.ht...). After some tries I found out that probably the problem is due to the fact that /sbin/hwclock, as called by the boot.clock script, needs access to data stored in the /usr/share/zoneinfo directory. Note that my /usr directory is stored in a different partition and that partiton is not mounted till after the boot.localfs script is called and has completed its procedure. Without parallel booting it is sufficient to call boot.clock just after boot.localfs, but with parallel booting boot.clock is still called before the /usr partition is mounted. As I like parallel booting, as a temporary fix I copied /usr/share/zoneinfo in the / directory. BTW, I see in the boot.clock script the line "#X-Start-Before: boot.localfs", so it seems that boot.clock must be called after boot.localfs: can somebody explain why ? And fix the problem that we have found? P.S. I promise to be less verbose next time, but I've been involved for so much time with this bug ... ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |werner@novell.com Status|REOPENED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c10 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mkoenig@novell.com, aj@novell.com, ro@novell.com Severity|Critical |Normal Status|NEW |RESOLVED Priority|P1 - Urgent |P3 - Medium Resolution| |INVALID --- Comment #10 from Dr. Werner Fink <werner@novell.com> 2008-10-01 06:01:39 MDT --- The script boot.clock *must* called before boot.localfs to get the timestamps of the mounts correct in their superblock. Please note: this was and is a request of the developers of e.g. the e2fsprogs to get the fsck counts and times correct. And we have to follow this. On system reboot or system halt the script boot.getclock is used to write the system time back to the CMOS clock. Both scripts *must* be enabled, e.g. by insserv boot.getclock insserv boot.clock please note that the /etc/adjtime makes little sence in case of using local time for CMSO time. This is the reason why the original boot.clock and boot.getclock of openSuSE 11.0 do not use /etc/adjtime in case of not using UTC: [...] USE_ADJFILE=no case "$HWCLOCK" in *-u*) USE_ADJFILE=yes esac test "$USE_ADJFILE" = no && HWCLOCK="$HWCLOCK --noadjfile" [...] please do *not* change this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c11 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #11 from Sankar P <psankar@novell.com> 2008-10-01 12:26:16 MDT --- I disagree for closing this as invalid. If I am using 11.0 and it affects the time while I boot into windows, (and it has worked so far in my dual boot machine), I consider it a bug. Why should I worry about setting the time in my desktop, (which is never going to cross my room), in UTC ? The time that I set in my desktop is in my timezone and not in UTC. I respectfully disagree and reopen this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c12 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@novell.com, pbaudis@novell.com AssignedTo|werner@novell.com |pbaudis@novell.com Status|REOPENED |NEW Summary|Time resets everytime machine is rebooted |Timezone not in /etc (Was: Time resets everytime | |machine is rebooted) --- Comment #12 from Dr. Werner Fink <werner@novell.com> 2008-10-02 03:52:05 MDT --- Sorry but if I would change this to fix your problem this would open an other bug. Please note that we are *enforced* to set the system time *before* mounting the local file system. Beside this: CMOS Clock != System Clock, that is running the CMOS clock in UTC as reference clock is the common way for a normal system as the local time is hold in System Clock as the later is set by hwclock(8) automatically from the CMOS Clock to the correct local time. T his is very simple and works perfect even with the switch from local Standard Time to Daylight Saving Time and vice versa ... beside this on most hardware out there it also works perfect with adjfile option of hwclock(8). About Windows[tm] I can say nothing but most UNIX and Linux systems I know do have the CMOS clock in UTC and the system time in local time as these two clocks are fully different. Otherwise the adjfile option of hwclock(8) to handle the variance of the CMOS clock would not make any sense. But AFAIK (but never used) it is possible to run the CMOS Clock in local time as long as hwclock(8) knows about(!) but this may cause trouble at the switch from Standard Time to Daylight Saving Time and vice versa is used together with the adjfile option. The problem of not having the informations of /usr/share/zoneinfo and the binary /usr/sbin/zic in the boot system (e.g. /usr not mounted) is a real problem and should be fixed. At least the timezone informations of the local time should be stored in /etc/ and /usr/sbin/zic should become /sbin/zic for e.g. s390. Petr? Any comment about? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c13 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iantos_hal@mail.ru --- Comment #13 from Dr. Werner Fink <werner@novell.com> 2008-10-02 06:02:37 MDT --- *** Bug 423697 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=423697 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c14 --- Comment #14 from Petr Baudis <pbaudis@novell.com> 2008-10-02 07:16:03 MDT --- Sankar P, to sum up Werner's post, the main reason CMOS clock should be kept in UCT is correct handling of daylight saving and other timezone changes (yes, that does happen sometimes). I think the main problem is to run this kind of setup with separate /usr and I'm not sure if it is reasonable to support that - why do you want to have separate /usr in the first place? There is really no good place for the timezone data outside of /usr/share - I believe they do not belong to /etc since they are not _configuration_ files, but _data_ files. So the closest would be probably something akin /lib/timezone, but that would be quite an evil hack, and I'm not convinced at all that doing that juts for the sake of supporting separate /usr is reasonable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c15 --- Comment #15 from Dr. Werner Fink <werner@novell.com> 2008-10-02 07:34:10 MDT --- The main problem is that hwclock has to know the facts of the configured system timezone. Otherwise it is not possible to get the correct offset of the local time to UTF reference. AFAIK this should be done by writing the compiled zoneinfo to /etc/localtime ... or /etc/localtime is simply a copy of one of the precomplied zoneinfo files found in /usr/share/zoneinfo/ At least the configured timezone should be available in such a form (no symbolic link) to get the correct timezone facts before /usr is mounted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c16 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |werner@novell.com --- Comment #16 from Petr Baudis <pbaudis@novell.com> 2008-10-02 07:50:05 MDT --- Actually, I now remember that we did already look into this problem in the past and we _did_ change /etc/localtime from symlink to a copy (or a hardlink). So, hwclock should have no problem with this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c17 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |varkoly@novell.com Status|NEEDINFO |NEW Info Provider|werner@novell.com | --- Comment #17 from Dr. Werner Fink <werner@novell.com> 2008-10-02 08:05:11 MDT --- Yes ... as long as this is a standard installation this works out of the box. The question remains is something is different on the affected systems: e.g. /etc/localtime could a symbolic link (hard links will not work between different partitions) maybe done by hand or a foreign script. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c18 --- Comment #18 from Sankar P <psankar@novell.com> 2008-10-04 10:08:06 MDT --- My machine is a fresh 11.0 installation and I have not customized anything in /usr or anywhere. It is just vanilla 11.0 + updates (with all default options) Single boot linux is not a possible option for a (shared) laptop. And it is not that uncommon to have users not removing their windows OSes and hence the time needs to be in sync with that. I do not mind even if this is a configurable option somewhere in yast. From an user perspective, losing time everytime I boot to a different OS is making my machine unusable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c19 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |psankar@novell.com --- Comment #19 from Petr Baudis <pbaudis@novell.com> 2008-11-15 10:48:35 MST --- Can you paste your ls -l /etc/localtime output, and the content of /etc/sysconfig/clock? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c20 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|psankar@novell.com | --- Comment #20 from Sankar P <psankar@novell.com> 2008-11-17 00:49:54 MST --- psankar@sandance:~/svn/gnome/evolution> ls -l /etc/localtime -rw-r--r-- 5 root root 265 2008-11-08 02:18 /etc/localtime psankar@sandance:~/svn/gnome/evolution> cat /etc/sysconfig/clock ## Path: System/Environment/Clock ## Description: Information about your timezone and time ## Type: string(-u,--utc,--localtime) ## ServiceRestart: boot.clock # # Set to "-u" if your system clock is set to UTC, and to "--localtime" # if your clock runs that way. # HWCLOCK="-u" ## Description: Write back system time to the hardware clock ## Type: yesno ## Default: yes # # Is set to "yes" write back the system time to the hardware # clock at reboot or shutdown. Usefull if hardware clock is # much more inaccurate than system clock. Set to "no" if # system time does it wrong due e.g. missed timer interrupts. # If set to "no" the hardware clock adjust feature is also # skipped because it is rather useless without writing back # the system time to the hardware clock. # SYSTOHC="yes" ## Type: string(Europe/Berlin,Europe/London,Europe/Paris) ## ServiceRestart: boot.clock # # Timezone (e.g. CET) # (this will set /usr/lib/zoneinfo/localtime) # TIMEZONE="Asia/Kolkata" DEFAULT_TIMEZONE="US/Eastern" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c21 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #21 from Petr Baudis <pbaudis@novell.com> 2008-11-17 02:07:15 MST --- Your $HWCLOCK settings is invalid. You can also change it in Yast2 in System -> Date and time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c22 --- Comment #22 from Sankar P <psankar@novell.com> 2008-11-18 02:23:15 MST --- What is invalid about this bug ? I don't get it honestly. I did a fresh installation of 11.0 After which, whenever I boot to windows and linux the machine times are different and wrong. What is the solution for this ? Why should they be different at all ? Why, should my machine time reset everytime my machine reboots ? By looking at the number of people facing the issue, I don't think it is just a misunderstanding of one person (me). And there are lots of people who complain about this same time behavior even in IRC. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c23 --- Comment #23 from Petr Baudis <pbaudis@novell.com> 2008-11-18 02:37:51 MST --- I explained how to change it in Yast2. I think the installer is asking this as well, and possibly even guesses this based on whether Windows installation is detected - if not, you need to open a bug against the installer. We have already explained the advantages of hardware clock kept in UTC. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c24 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|Basesystem |Basesystem Product|openSUSE 11.0 |openSUSE 11.1 Resolution|INVALID | Summary|Timezone not in /etc (Was: Time resets everytime|Time becmoes wrong in linux everytime after |machine is rebooted) |booting to windows Version|Final |RC 1 --- Comment #24 from Sankar P <psankar@novell.com> 2008-12-09 00:39:42 MST --- I upgraded to 11.1 and my windows paritition was not reachable then on ( a seperate bug and resolved now). So, I could not verify this earlier. With 11.1 RC fresh installation, Still my system time becomes wrong everytime, I switch between windows and linux . I have not got any option for retaining windows time during installation. None of the settings in YaST fixes the time to be same across windows and linux. Please tell me if one such setting exists. Reopening the bug as it is still happening with vanilla 11.1 RC build as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c25 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pbaudis@novell.com |locilka@novell.com Status|REOPENED |NEW --- Comment #25 from Petr Baudis <pbaudis@novell.com> 2008-12-09 04:11:14 MST --- We already support this functionality fine, so the only problem could be that the installer does not let you set this up easily and/or does not guess this itself. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|locilka@novell.com |jsuchome@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c26 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |psankar@novell.com --- Comment #26 from Jiří Suchomel <jsuchome@novell.com> 2008-12-09 06:03:27 MST --- (In reply to comment #24 from Sankar P)
With 11.1 RC fresh installation, Still my system time becomes wrong everytime, I switch between windows and linux . I have not got any option for retaining windows time during installation.
What do you mean, that you do not have any option? There's a dialog with "Harware Clock set to UTC", which is exactly the option you need (and to leave your Windows time, it has to be unchecked). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c27 --- Comment #27 from Jiří Suchomel <jsuchome@novell.com> 2008-12-09 06:04:17 MST --- Created an attachment (id=258898) --> (https://bugzilla.novell.com/attachment.cgi?id=258898) screenshot -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c28 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|psankar@novell.com | --- Comment #28 from Sankar P <psankar@novell.com> 2008-12-09 23:47:27 MST --- (In reply to comment #26 from Jiří Suchomel)
(In reply to comment #24 from Sankar P)
With 11.1 RC fresh installation, Still my system time becomes wrong everytime, I switch between windows and linux . I have not got any option for retaining windows time during installation.
What do you mean, that you do not have any option?
There's a dialog with "Harware Clock set to UTC", which is exactly the option you need (and to leave your Windows time, it has to be unchecked).
If I keep this unchecked, then also the time is __not__ same across windows and linux. It becomes my-timezone-time + my-timezone-difference-with-utc For instance in windows, the time says: 12:00 PM IST and in Linux it says 5:30 PM (as my timezone IST is UTC + 5:30) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pchenthill@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c29 --- Comment #29 from Chenthill palanisamy <pchenthill@novell.com> 2008-12-10 00:18:45 MST --- I have an issue in setting Hardware clock to UTC. I set the my local time (utc + 5:30) as system time. Since my system time is considered to be in utc with the above option enabled, there is a mismatch of the times between system times in the auto-build machine and my machine. I face problems while building the tarballs scp'ed from my machine to autobuild system since the timestamps in files are ahead of the system time in autobuild system. I now have the system time set in UTC which is -5:30 from timezone Asia/Kolkatta (my local timezone) to workaround this issue. Due to this, the mails which I send out have a wrong time stamp. Considering these problems, is setting "Hardware clock set to UTC" is a right solution ? Please correct me if am wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c30 --- Comment #30 from Dr. Werner Fink <werner@novell.com> 2008-12-10 03:13:07 MST --- Remark: execute as root insserv /etc/init.d/boot.clock to make sure that the service of this script is really enabled. This because there was an other bug with a similiar problem and it was detected that boot.clock was never enabled on that system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c31 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Critical --- Comment #31 from Sankar P <psankar@novell.com> 2008-12-11 03:56:15 MST --- (In reply to comment #30 from Dr. Werner Fink)
Remark: execute as root
insserv /etc/init.d/boot.clock
to make sure that the service of this script is really enabled. This because there was an other bug with a similiar problem and it was detected that boot.clock was never enabled on that system.
This did the trick. After executing this command, I unset "HW clock in UTC" setting in Yast; rebooted to windows changed time to correct time in windows; rebooted to linux. And the time remained correct across windows and linux. However, I consider this bug to be valid, as we cannot expect all muti-boot users to execute this command. Also, I tested this in a 11.1 installation (and not an update from 11.0, after formatting / ) So, I hope it will not be due to any old obsolete data from 11.0 Also, I am raising the severity of this issue, as I think it deserves more than a Normal state. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User aj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c32 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Normal --- Comment #32 from Andreas Jaeger <aj@novell.com> 2008-12-11 04:03:39 MST --- Please read: http://en.opensuse.org/Bugs/Definitions It might require a different PRIORITY but severity for critical is data loss etc - and that does not apply for this case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c33 --- Comment #33 from Dr. Werner Fink <werner@novell.com> 2008-12-11 04:14:45 MST --- The missing start/stop links may happend during the consecutively updates. Nevertheless we can not do a hardcoded insserv of boot.clock because there are users which do not want to run hwclock and had therefore disabled boot.clock. AFAIK the spec file of aaa_base checks if boot.clock was disabled and do honour this (Rudi?). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User aj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c35 --- Comment #35 from Andreas Jaeger <aj@novell.com> 2008-12-11 06:02:57 MST --- Werner, you say this happens only during update. I think Sankar is saying this happens on a fresh install as well - where it should not at all. Sankar, is that correct? In that case we do have a regression which means this is MAJOR. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c36 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |knikanth@novell.com --- Comment #36 from Sankar P <psankar@novell.com> 2008-12-11 06:16:00 MST --- (In reply to comment #35 from Andreas Jaeger)
Werner, you say this happens only during update. I think Sankar is saying this happens on a fresh install as well - where it should not at all. Sankar, is that correct? In that case we do have a regression which means this is MAJOR.
Yes. When I (and a lot of other students) tried it, it was a fresh install and not an update. In fact most of us my peers got new laptops, a few weeks after 11.0 release and we installed afresh on these new laptops. The problem existed for all of them. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c37 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |ro@novell.com --- Comment #37 from Dr. Werner Fink <werner@novell.com> 2008-12-11 06:45:33 MST --- Then the spec file of aaa_base has a bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c38 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com, coolo@novell.com --- Comment #38 from Dr. Werner Fink <werner@novell.com> 2008-12-11 07:25:59 MST --- Add Stephan to CC list. Beside this it could also an error in yast2-country, therefore Jiri should stay at least in CC list. @ Jiri : Does yast2-country something with boot.clock? Maybe enabling or disabling boot.clock? @ All of those which see the problem : Is one of the files which should be enabled by aaa_base not enabled. The list includes boot.proc, boot.localfs, boot.swap, boot.clock, boot.ldconfig, boot.ipconfig, boot.klog, boot.localnet, halt, random, reboot, and single. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c39 --- Comment #39 from Jiří Suchomel <jsuchome@novell.com> 2008-12-11 07:29:18 MST --- (In reply to comment #38 from Dr. Werner Fink)
Add Stephan to CC list. Beside this it could also an error in yast2-country, therefore Jiri should stay at least in CC list.
@ Jiri : Does yast2-country something with boot.clock? Maybe enabling or disabling boot.clock?
No. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pchenthill@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c40 --- Comment #40 from Chenthill palanisamy <pchenthill@novell.com> 2008-12-11 22:59:19 MST --- (In reply to comment #36 from Sankar P)
(In reply to comment #35 from Andreas Jaeger)
Werner, you say this happens only during update. I think Sankar is saying this happens on a fresh install as well - where it should not at all. Sankar, is that correct? In that case we do have a regression which means this is MAJOR.
Yes. When I (and a lot of other students) tried it, it was a fresh install and not an update. In fact most of us my peers got new laptops, a few weeks after 11.0 release and we installed afresh on these new laptops. The problem existed for all of them.
Right. I too have a fresh install. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c41 --- Comment #41 from Sankar P <psankar@novell.com> 2008-12-11 23:11:17 MST --- (In reply to comment #38 from Werner Fink)
@ All of those which see the problem : Is one of the files which should be enabled by aaa_base not enabled. The list includes boot.proc, boot.localfs, boot.swap, boot.clock, boot.ldconfig, boot.ipconfig, boot.klog, boot.localnet, halt, random, reboot, and single.
can you explain what you mean by this ? It sounds too technical for me to understand . What is aaa_base and how do I find if it is enabled for these files ? I opened boot.proc and searched for aaa_base and it did not had anything , if that is what you mean. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c42 --- Comment #42 from Sankar P <psankar@novell.com> 2008-12-12 00:50:04 MST --- Okay Captain Magnus helped me out in irc. As root I tried chkconfig with all these options. For: boot.proc, boot.localfs, boot.swap, boot.clock, boot.ldconfig, boot.ipconfig, boot.klog, boot.localnet , I got "on" for boot.halt I got 0 for reboot I got off for single I got 1S -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c43 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |psankar@novell.com --- Comment #43 from Dr. Werner Fink <werner@novell.com> 2008-12-12 03:24:54 MST --- This what it should be. The question is: *Why* boot.clock is disabled even if all other scripts have been enabled by the installation script of the package aaa_base. To see the scripts provided by the package aaa_base you may run rpm -ql aaa_base | grep /etc/init.d the README, rc, boot, skeleton, and are skeleton.compat specials whereas the scripts mentioned in comment #38 are enabled by default in a fresh installation and in the update case only if the link is already enabled. This you may check by using rpm -q --scripts aaa_base | less +/boot.clock therefore the question is ... as already mentioned ... why boot.clock is disabled as the only exception? Please do a cd /var/log find YaST2/ zypp/ zypper.* -type f | xargs zgrep boot.clock this takes a few minutes but if there was an error during installation it should be detected. Beside this I'd like to see the files /etc/insserv.conf, the output of rpm -V aaa_base insserv rpm -qi aaa_base insserv also I'd like to know if you're using some custom packages and/or packages from any other contribution, e.g. from any repository of opensuse.org. This lead my to the next question, What does the command line rpm -qa --triggers --scripts | grep -B3 -A14 boot.clock show ... note that the last command takes several minutes. Nevertheless if there is any package on your system which interfere with aaa_base we should see this if there is more than one match. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User markus.kossmann@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c44 Markus Koßmann <markus.kossmann@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markuskossmann@gmx.de --- Comment #44 from Markus Koßmann <markus.kossmann@gmx.de> 2008-12-29 13:11:12 MST --- Unfortunately this bug has made it into 11.1 final. I've seen it on two fresh installations (not updates) : The system is definitely set to localtime: --------------------------------[/etc/sysconfig/clock]-------------------------- Path: System/Environment/Clock ## Description: Information about your timezone and time ## Type: string(-u,--utc,--localtime) ## ServiceRestart: boot.clock # # Set to "-u" if your system clock is set to UTC, and to "--localtime" # if your clock runs that way. # HWCLOCK="--localtime" ## Type: yesno ## Default: yes ## Description: Write back system time to the hardware clock # # Is set to "yes" write back the system time to the hardware # clock at reboot or shutdown. Usefull if hardware clock is # much more inaccurate than system clock. Set to "no" if # system time does it wrong due e.g. missed timer interrupts. # If set to "no" the hardware clock adjust feature is also # skipped because it is rather useless without writing back # the system time to the hardware clock. # SYSTOHC="yes" ## Type: string(Europe/Berlin,Europe/London,Europe/Paris) ## ServiceRestart: boot.clock # # Timezone (e.g. CET) # (this will set /usr/lib/zoneinfo/localtime) # TIMEZONE="Europe/Berlin" DEFAULT_TIMEZONE="Europe/Berlin" -------------------------------------------------[snip]------------------------- -------------------------------------------[/etc/adjtime]----------------------- 0.000000 1229879064 0.000000 1229879064 LOCAL ---------------------------------------[snip]----------------------------------- But after after setting clock and rebooting the system you will see:
hwclock -r So 21 Dez 2008 19:34:08 CET -0.473655 Sekunden date So 21. Dez 20:33:43 CET 2008
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jimomura@pathcom.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c45 Jim Omura <jimomura@pathcom.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jimomura@pathcom.com --- Comment #45 from Jim Omura <jimomura@pathcom.com> 2008-12-30 22:56:52 MST --- (In reply to comment #14 from Petr Baudis)
Sankar P, to sum up Werner's post, the main reason CMOS clock should be kept in UCT is correct handling of daylight saving and other timezone changes (yes, that does happen sometimes).
I think the main problem is to run this kind of setup with separate /usr and I'm not sure if it is reasonable to support that - why do you want to have separate /usr in the first place?
This is done for optimizing. It is most common on very large systems, but it can be used for small systems with slow drives. This is typical for my systems: "/boot" (ext2) "/" (ext3 ordered) "/usr" (ext3 journaled) "swap" (swap) "/home" (ext3 ordered) /boot is almost never used after the system is booted, so it is located outside the normal travel of the head. This way it does not take up unnecessary time, and it is also at the safest place to avoid head crashes. "/" is "ordered" because it holds a lot of temporary files and such which are written often. "/usr" is "journaled" because for most users it will not be written often, but is subject to damage. "swap" is an interesting case. We can argue where to put it. If you expect to use it often, then it should go somewhere in the middle. "/home" is "ordered" again because it tends to be written to a lot. Some people will argue about these assignments (which should be "ordered" vs "journaled"). But that is the point. There are choice to be made which affect the usage of the system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c46 --- Comment #46 from Sankar P <psankar@novell.com> 2008-12-30 23:14:03 MST --- this problem exists even if there is no seperate /usr. I have jsut / and /home even then the problem appears. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c47 --- Comment #47 from Sankar P <psankar@novell.com> 2008-12-30 23:17:13 MST --- psankar@sandance:~/Desktop> sudo rpm -V aaa_base insserv .5....T c /etc/inittab S.5....T c /etc/mailcap S.5....T c /etc/mime.types psankar@sandance:~/Desktop> rpm -qi aaa_base insserv Name : aaa_base Relocations: (not relocatable) Version : 11.1 Vendor: openSUSE Release : 10007.5 Build Date: Wed 03 Dec 2008 10:38:21 AM IST Install Date: Wed 10 Dec 2008 11:06:09 AM IST Build Host: build18 Group : System/Fhs Source RPM: aaa_base-11.1-10007.5.src.rpm Size : 322719 License: GPL v2 or later Signature : RSA/8, Wed 03 Dec 2008 10:38:25 AM IST, Key ID b88b2fd43dbdc284 Packager : http://bugs.opensuse.org Summary : SUSE Linux Base Package Description : This package installs several important configuration files. Central scripts like SuSEconfig are also in this package. Authors: -------- Werner Fink <werner@suse.de> Rüdiger Oertel <ro@suse.de> Burchard Steinbild Florian La Roche Martin Scherbaum Distribution: openSUSE 11.1 Name : insserv Relocations: (not relocatable) Version : 1.12.0 Vendor: openSUSE Release : 22.15 Build Date: Wed 03 Dec 2008 10:33:16 AM IST Install Date: Wed 10 Dec 2008 10:50:22 AM IST Build Host: build23 Group : System/Base Source RPM: insserv-1.12.0-22.15.src.rpm Size : 64590 License: GPL v2 or later Signature : RSA/8, Wed 03 Dec 2008 10:33:34 AM IST, Key ID b88b2fd43dbdc284 Packager : http://bugs.opensuse.org Summary : A Program to Arrange Initialization Scripts Description : Insserv enables an installed system init script (boot script) by reading the comment header of the script and calculating the dependencies between all scripts. Authors: -------- Dr. Werner Fink <werner@suse.de> Distribution: openSUSE 11.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c48 --- Comment #48 from Sankar P <psankar@novell.com> 2008-12-30 23:18:38 MST --- psankar@sandance:~/Desktop> rpm -qa --triggers --scripts | grep -B3 -A14 boot.clock test -n "$FIRST_ARG" || FIRST_ARG=$1 FORCE_YES=0 set -- boot.proc boot.localfs boot.swap boot.clock boot.ldconfig boot.ipconfig boot.klog boot.localnet halt random reboot single PNAME=aaa_base INSSRV_ARRAY="" while [ ${#*} -gt 0 ] ; do SCRIPTNAME=$1 shift SV_B='^### BEGIN INIT INFO' SV_E='^### END INIT INFO' SV_KW=Default-Enabled SV_VALUE=`sed -n -e "/$SV_B/,/$SV_E/{/^# [^[:space:]]*$SV_KW:[[:space:]]*\([^[:space:]]*\).*/s//\1/p;}" < etc/init.d/$SCRIPTNAME` test "$FORCE_YES" = "1" && SV_VALUE="yes" test -n "$SV_VALUE" || SV_VALUE="yes" INSSRV_ARRAY="$INSSRV_ARRAY $SCRIPTNAME $SV_VALUE" done -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c49 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|psankar@novell.com | --- Comment #49 from Sankar P <psankar@novell.com> 2008-12-30 23:20:12 MST --- The above two comments provide the information asked by Dr. Werner Fink This issue is observable in all 11.1 installations that I have seen. So it is not specific to my machine and hence highly improbable for other applications to cause it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c50 --- Comment #50 from Dr. Werner Fink <werner@novell.com> 2009-01-07 05:25:26 MST --- Now the question is: Why we do not see this error here around with fresh installations of openSuSE 11.1 ... it is very hard to debug a problem without reproducing the problem its self :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c51 --- Comment #51 from Sankar P <psankar@novell.com> 2009-01-07 10:34:56 MST --- (In reply to comment #50 from Werner Fink)
Now the question is: Why we do not see this error here around with fresh installations of openSuSE 11.1 ... it is very hard to debug a problem without reproducing the problem its self :(
Have you installed without "system time in utc" option and tried being in a timezone that is not UTC ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c52 --- Comment #52 from Sankar P <psankar@novell.com> 2009-01-07 10:37:16 MST --- .... and of course in a machine with a multi-boot option (windows) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c53 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |coolo@novell.com --- Comment #53 from Dr. Werner Fink <werner@novell.com> 2009-01-07 10:48:10 MST --- I do not use windows ... Let's ask Stephan ... Stephan? you've done a lot of installations tests for debugging this problem? Do you have a tested out a local time setup? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c54 --- Comment #54 from Petr Baudis <pbaudis@novell.com> 2009-01-07 10:51:48 MST --- (I have actually done just this last weekend, but I did not check time consistency in Windows and Linux - I can do that this weekend if I remember.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User iantos_hal@mail.ru added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c55 --- Comment #55 from Игорь Антошин <iantos_hal@mail.ru> 2009-01-09 14:58:43 MST --- I shall be writing on a native language Пишу по-русски и не очень меня волнует, поймёт ли меня разработчик. Ну раз уж он на протяжении 4-х месяцев так и не понял в чём проблема. И вообще, прикольно видеть разработчика операционки, который не видел и ничего не знает о Windows(TM). Более того, система которая занимает на рынке около 1-го процента (и это на все сборки) пытается диктовать условия "как правильно работать со временем" Кстати, это было одной из причин, по которой я версию 11.0 я не стал эксплуатировать. Это было небольшое вступление. Баг под номером 423697 был заведён мною. Я понял, что эта проблема в ближайшем будущем может быть решена разве что разработчиками Windows(TM), т.е. они перепишут свои системы под "правильную" работу со временем. Поэтому свои проблемы я решил сам следующим образом: после начальной загрузки поставил на стадии 3 и 5 следующую команду: /etc/init.d/boot.clock restart Теперь у меня время показывает правильно. P.S.Прикольный совет использовать сервер времени для установки часов. Во-первых, у меня инет подымается вручную через DSL-соединение. Ну мне так удобно. Во-вторых, Инет дело хорошее, но он то есть, то нет. Я же не в Америке живу. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c56 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|coolo@novell.com |psankar@novell.com --- Comment #56 from Dr. Werner Fink <werner@novell.com> 2009-01-12 01:44:38 MST --- @iantos_hal: In english please ... or is here a russian native speaker around which is able to translate this into english . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c58 --- Comment #58 from Petr Baudis <pbaudis@novell.com> 2009-01-12 03:28:13 MST --- During installation of 11.1 on a computer with WinXP already installed, the checkbox to use UTC was automatically unchecked; I'm in UTC+2 timezone. Rebooting from 11.1 to Windows and back, I cannot reproduce the problem, the time stays correct on all the systems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c59 --- Comment #59 from Dr. Werner Fink <werner@novell.com> 2009-01-12 03:42:27 MST --- OK ... with tanslate.google.com I see:
I write in English and not very worried about me, whether I understand the developer. Well, once he was over 4 months and did not understand the problem. And in general, cool to see the developer OSes, which is not seen and knows nothing about Windows (TM). Moreover, the system which takes in the market about 1 percent of (and all the assembly) is trying to dictate the terms of "how to work with time " Incidentally, this was one of the reasons that I have version 11.0, I did not exploit. It was a small entry. Bagh number 423697 has been led by me. I realized that this is a problem in the near future can be resolved unless Developer Windows (TM), ie They perepishut their systems under the "correct" work with time. Therefore, their problems, I decided myself to read as follows: after the initial boot put on the stage 3 and 5 of the following: /etc/init.d/boot.clock restart Now I am being shown correctly.
Which leads me to the assumption that the start/stop links are missed of /etc/init.d/boot.clock in that case ... therefore please try out insserv /etc/init.d/boot.clock before next reboot/halt. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c60 --- Comment #60 from Sankar P <psankar@novell.com> 2009-01-12 03:53:44 MST --- (In reply to comment #59)
Which leads me to the assumption that the start/stop links are missed of /etc/init.d/boot.clock in that case ... therefore please try out
insserv /etc/init.d/boot.clock
before next reboot/halt.
Look at my comment #31, We cannot expect every multi-boot user to execute this command manually after an installation. So, I consider this to be a bug. Right ? I see that Petr did not observe this during his installation. I am confused because I have seen this in all the installations that we did so far. I will try with the GMC released version in a windows machine and will get back. My windows is Win XP SP2 if it matters. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c61 --- Comment #61 from Dr. Werner Fink <werner@novell.com> 2009-01-12 04:05:51 MST --- Petr? After your installation is there a file /etc/adjtime around? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c62 --- Comment #62 from Petr Baudis <pbaudis@novell.com> 2009-01-12 04:59:05 MST --- There is no /etc/adjtime on the system. There are K02 and S04 symlinks for boot.clock in /etc/init.d/boot.d, I guess that means the service is enabled. Now I remember that I had to disable NTP during installation in the clock dialog, since in case NTP was enabled, the time would keep being offset by 5 or 7 hours for whatever reason and I thus had to set it manually. NTP is enabled again now and it still works, but maybe the installation has set up things differently. Curious, considering that the installer was developed in the UTC+2 timezone... ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User iantos_hal@mail.ru added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c63 --- Comment #63 from Игорь Антошин <iantos_hal@mail.ru> 2009-01-19 08:27:24 MST --- (In reply to comment #59)
OK ... with tanslate.google.com I see:
Excuse. Further I will write in english.
Which leads me to the assumption that the start/stop links are missed of /etc/init.d/boot.clock in that case ... therefore please try out
insserv /etc/init.d/boot.clock
before next reboot/halt.
After the given command has been fulfilled I has received too as was before.. i.e. has exchanged nothing. I return in loading on runlevels 3 and 5 a command /etc/init.d/boot.clock restart -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User psankar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c64 Sankar P <psankar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|psankar@novell.com | --- Comment #64 from Sankar P <psankar@novell.com> 2009-01-19 09:03:45 MST --- I did not realize that I had to remove the NEEDINFO status. All needed information is already provided. Please try installing in any timezone other than UTC and Nuremberg's . This problem should occur. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User varkoly@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c65 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Joseph.Comfort@asu.edu --- Comment #65 from Peter Varkoly <varkoly@novell.com> 2009-01-21 08:34:27 MST --- *** Bug 465850 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=465850 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c66 --- Comment #66 from Stephan Kulow <coolo@novell.com> 2009-01-23 04:19:29 MST --- we think we found the bug. It's a race between modprobe of rtc and /dev/rtc being available. The fix that worked for some laptop that showed the problem was this: --- old/aaa_base/etc/init.d/boot.clock 2008-12-10 14:16:26.000000000 +0100 +++ new/aaa_base/etc/init.d/boot.clock 2009-01-23 12:18:15.000000000 +0100 @@ -96,7 +96,9 @@ # # Without having this loaded hwclock will fail on x86 # - modprobe -q rtc_cmos || true + if modprobe -q rtc_cmos; then + /sbin/udevadm settle --timeout=2 + fi Please verify. We will fix this for factory and if someone confirms it's the reason for this bug, we'll do an online update for 11.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User markus.kossmann@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c67 --- Comment #67 from Markus Koßmann <markus.kossmann@gmx.de> 2009-01-24 11:02:29 MST --- (In reply to comment #66) [...]
Please verify. We will fix this for factory and if someone confirms it's the reason for this bug, we'll do an online update for 11.1
It seems to work for me on my laptop. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User Joseph.Comfort@asu.edu added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c68 --- Comment #68 from Joseph Comfort <Joseph.Comfort@asu.edu> 2009-01-24 14:37:27 MST --- The mod in #66 does not work for me. Although marked as a duplicate, my bug #465850 may be something else. If SuSE wants to put out a fix as in #68, that is fine with me, but it does not fix my case. Here are 2 situations: 1) On my desktop, which runs essentially continuously, a reboot starts up with the time 7 hours behind (not ahead). (I am in the Phoenix time zone.) At the 'bootsplash' in the /var/log/messages file, it then jumps to the correct time. This behavior did not change with the mod in #66. Some log files are written with the wrong time information. 2) My laptop is usually off. When I turned it on, the time was 14 hours behind. I made the mod, set the correct date and time manually, and rebooted. Unlike the desktop, the time was 7 hours behind -- it was not even the correct time. Upon a second reboot, the time was again 14 hours behind. I set my clock to be for local time. The behaviors here do not happen on SuSE 10.3 or earlier versions. It is something new. I did not understand all the discussion on this issue. Are the file system people demanding a change so they can avoid the "time in the future" error messages on reboots? If so, I would prefer the messages to the new behavior. In any case, the issues here are pointing to a weakness in the development of linux (or other open source) software. There are too many independent entities, with little or no overall guiding management to ensure consistency. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User Joseph.Comfort@asu.edu added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c69 --- Comment #69 from Joseph Comfort <Joseph.Comfort@asu.edu> 2009-01-25 15:36:56 MST --- The desktop and laptop in the previous message each have Windows XP on them, and are set for dual boot. On the desktop, because the time ends up being correct after the reboot (but not during), switching back and forth with windows always shows the correct time on each system. On the laptop, with the correct time in Linux, switching to Windows shows the correct time. But each round trip loses 7 hours on both Linux and Windows. It means that some 'new' files can show up as older than previous files. This can create havoc, including, I suppose, even data loss. Neither computer has a /etc/adjtime file. There is no boot.getclock in 11.1 (apparently handled through boot.clock stop). chkconfig shows boot.getclock is 'on.' The installation was clean and new from the offical release DVD iso. I never had a problem switching between Linux and Windows before. Users, new or old, should not have to change time settings manually with each reboot, nor be concerned with esoteric patches to boot procedures. Upon its official release, a new OS should not break things that have been working for ages. If two different groups are involved, they need to work together. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c70 --- Comment #70 from Dr. Werner Fink <werner@novell.com> 2009-01-26 03:34:13 MST --- (In reply to comment #69)
Neither computer has a /etc/adjtime file. There is no boot.getclock in 11.1 (apparently handled through boot.clock stop). chkconfig shows boot.getclock is 'on.' The installation was clean and new from the offical release DVD iso.
A file which does not exist can not provide a service and therefore chkconfig can not report `boot.getclock on'. Please do rm /etc/init.d/boot.getclock rm /etc/init.d/*.d/*boot.getclock insserv -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User Joseph.Comfort@asu.edu added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c71 --- Comment #71 from Joseph Comfort <Joseph.Comfort@asu.edu> 2009-01-26 09:22:52 MST --- You are right. My typo. I meant, of course, that chkconfig shows boot.clock as 'on.' There is no boot.getclock. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c72 --- Comment #72 from Dr. Werner Fink <werner@novell.com> 2009-01-28 09:23:48 MST --- Fix may be available with update for bug #466484 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jimomura@pathcom.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c73 --- Comment #73 from Jim Omura <jimomura@pathcom.com> 2009-02-03 00:13:09 MST --- I have 2 computers with different problems: On a 64-bit computer (Compaq Presario V2570ca) the problem is simply that the "localtime" was being mis-handled. On that machine I have changed it to UTC. This is a problem for me, because I use that computer to dual-boot with Windows which needs local time. I have not tried the change to "boot.clock" on it yet. On a 32-bit computer (HP-2133) the problem has been different. On boot, it seemed to be setting "system time" to the time the computer was last shutdown. After making the change to "boot.clock" it is now acting like the 64-bit computer. This is still wrong, but at least it is now setting the system time related to the hardware clock, which is better. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jimomura@pathcom.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c74 --- Comment #74 from Jim Omura <jimomura@pathcom.com> 2009-02-03 15:08:05 MST --- I am thinking about what was said in Comments #9 and #10. I do not like the idea of adding more directories directly in "/" but it makes sense that this stuff in particular would go in "/etc/init.d" since it is important for system initialization. In fact, if it is considered critical for the early part of the boot process it could be argued that it should be in "/boot", but I think too many traditionalists would scream if that was done. So how about this: The RPM should install everything in "/usr/share/zoneinfo" into "/etc/init.d/zoneinfo" and this latter directory should be soft-linked back to "/usr/share/zoneinfo" for the sake of programs that might actually need it there later. The only other changes necessary would be for programs actually running before the local file systems are mounted actually during the boot process, which should not be very many changes. Everything else could use the soft-link. Is this feasible? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c75 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |pbaudis@novell.com --- Comment #75 from Dr. Werner Fink <werner@novell.com> 2009-02-04 03:24:21 MST --- This violates the FHS http://www.pathname.com/fhs/ ... what required is simply the localtime which is given in /etc/localtime which is a copy and *never* a link to be able to have separate / and /usr .. IMHO only the UTC reference /usr/share/zoneinfo/UTC should be installed also in /etc/ otherwise the loclatime is without reference and hwclock has a problem if /usr is not available. The same holds true for setting the clock within initrd before / is checked and mounted. Clearly the timezone should the check first /etc/UTC and then /usr/share/zoneinfo/UTC. Maybe a /etc/zoneinfo/ with localtime and UTC is a better way but /etc/localtime is more common. Or is it possible to include the UTC reference into /etc/localtime, I'm not familiar with the internal format of the compiled timezone files. Petr? What do you think about this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User Joseph.Comfort@asu.edu added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c76 Joseph Comfort <Joseph.Comfort@asu.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|pbaudis@novell.com | --- Comment #76 from Joseph Comfort <Joseph.Comfort@asu.edu> 2009-02-07 12:51:01 MST --- 3 computers: 1) Desktop, openSuSE 10.3 2) Desktop, openSuSE 11.1 3) Laptop, openSuSE 11.1 Facts: Computer 1 has /etc/localtime as a real file (copy of /usr/share... Computers 2 & 3 have /etc/localtime as a soft link to ..//usr/share/zoneinfo/America/Phoenix [note //] Computers 1 and 2 do not have /etc/adjtime Computer 3 has /etc/adjtime [a comment below] None of the computers have /etc/UTC / and /usr are separate partitions (along with some others). My laptop had been off a few days. When started up, the log file showed the time as 7 hours earlier (behind the actual time), and it never corrected. I manually reset the time. The /etc/adjtime file was created at that time, and the /etc/localtime also showed that time. A change that fixes my problems: Instead of having a soft link, I copied /usr/share/zoneinfo/America/Phoenix to /etc/localtime. Now, on boot and all reboots, the time is continuous and correct in /var/log/messages and in the display clock. (!) Of course, the hard copy is not the way things are installed in 11.1, although it is that way in 10.3. So the problem seems to be the install procedures. The rpms, or whatever, must also ensure that the /etc/localtime file is a hard copy whenever an update is installed. If the system people want to patch and update boot.clock, that would be fine. But an update to make /etc/localtime a real file is also needed, and should be pushed out very soon. Then 11.1 will behave correctly as does 10.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jimomura@pathcom.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c77 --- Comment #77 from Jim Omura <jimomura@pathcom.com> 2009-02-08 14:27:41 MST --- (In reply to comment #75)
This violates the FHS http://www.pathname.com/fhs/ ... what required is simply the localtime which is given in
/etc/localtime
which is a copy and *never* a link to be able to have separate / and /usr
I replaced the linked "/etc/localtime" file with a copy of the "Toronto" file from ".../zoneinfo" on the 32-bit computer and everything seems to be working correctly now (along with the patch noted above). So that seems to confirm what Joseph has said. Incidentally, regarding the question asked previously of why someone would want to separate "/usr" into a separate partition, the "FHS" you noted above specifically anticipates that some people would want to separate "/usr" in this manner and their example is that some installations might want to have a "/usr" partition so it could be mounted as "Read Only." So it is clear that the way it was working in 10.3 was correct and that the way it is working in 11.0 and 11.1 is not.
... IMHO only the UTC reference /usr/share/zoneinfo/UTC should be installed also in /etc/ otherwise the loclatime is without reference and hwclock has a problem if /usr is not available. . .
I expect that "/usr/share/zoneinfo/UTC" would be copied as the "/etc/localtime" when it is appropriate if the current program is just patched to make copies instead of links, so that much should be enough. It is not really a special case as far as the programming concerned -- it is just special to us humans. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c78 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jsuchome@novell.com --- Comment #78 from Dr. Werner Fink <werner@novell.com> 2009-02-09 02:16:08 MST --- AFAIK the /etc/localtime is always a hard copy done by YaST since several years. The question is *why* this is not true on your systems. Which package replace the hard copy done by YaST with a sysmbolic link? Jiri? Do you have any idea? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c79 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jsuchome@novell.com | --- Comment #79 from Jiří Suchomel <jsuchome@novell.com> 2009-02-09 03:48:58 MST --- yast2-country does not touch /etc/localtime directly, it only calls "zic -l <timezone>" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c80 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |pbaudis@novell.com --- Comment #80 from Dr. Werner Fink <werner@novell.com> 2009-02-09 03:55:14 MST --- OK then let's ask Petr. Petr? Does `zic -l <timezone>' create a hard copy of the specific timezone in /etc/localtime or does it create a soft link pointing to /usr/share/zoneinfo/<timezone>? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |473743 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c81 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |lnussel@novell.com Info Provider|pbaudis@novell.com | --- Comment #81 from Ludwig Nussel <lnussel@novell.com> 2009-02-09 06:09:17 MST --- yes, see bug 473743 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User jimomura@pathcom.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c82 --- Comment #82 from Jim Omura <jimomura@pathcom.com> 2009-02-09 15:38:08 MST --- I mentioned in Comment #73 that I had 2 computers, so this is a follow-up regarding the 64-bit computer. Because it was only exhibiting the timezone error previously I decided to try only changing "/etc/localtime" to a hard copy as per Comment #75. However, the result was that the clock was still being set wrong. I then added the patch in Comment #66. The result was a completely corrected system. So in both of my computers it appears that both the patch in Comment #66 and changing the linked version of "/etc/localtime" to a real copy as in Comment #75 are necessary. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c83 Geoff Farrell <gfarrell@netspeed.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gfarrell@netspeed.com.au --- Comment #83 from Geoff Farrell <gfarrell@netspeed.com.au> 2009-02-23 03:27:48 MST --- My machine boots with localtime set, then part way through the boot process, the time is set to 11 hours ahead of localtime. It is then set back to localtime when boot.clock runs. The timezone is set to Australia/Sydney, using a copy of /usr/share/zoneinfo/Australia/Sydney at /etc/localtime, not a link: # ll /usr/share/zoneinfo/Australia/Sydney -rw-r--r-- 8 root root 2183 Feb 8 00:00 /usr/share/zoneinfo/Australia/Sydney # ll /etc/localtime -rw-r--r-- 1 root root 2183 Feb 8 00:00 /etc/localtime /etc/sysconfig/clock has the correct settings: HWCLOCK="--localtime" SYSTOHC="yes" TIMEZONE="Australia/Sydney" DEFAULT_TIMEZONE="US/Eastern" (comments stripped out) This timezone is UTC +11 hours (daylight saving active). The version of /etc/init.d/boot.clock has the patch referred to at Comment #66. The computer was booted at approximately 2009-02-23 16:53. The correct localtime was confirmed in the BIOS during the boot process. This is an excerpt from /var/log/boot.msg: ... Kernel logging (ksyslog) stopped. Kernel log daemon terminating. Boot logging started on /dev/tty1(/dev/console) at Mon Feb 23 16:54:09 2009 Trying manual resume from /dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 Invoking userspace resume from /dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 resume: libgcrypt version: 1.4.1 Trying manual resume from /dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 Invoking in-kernel resume from /dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 Waiting for device /dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part6 to appear: ok fsck 1.41.1 (01-Sep-2008) [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part6 /dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part6: clean, 6681/131648 files, 67574/526120 blocks fsck succeeded. Mounting root device read-write. Mounting root /dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part6 Boot logging started on /dev/tty1(/dev/console (deleted)) at Tue Feb 24 03:54:11 2009 done Starting udevd: done Loading drivers, configuring devices: done Loading required kernel modules doneActivating swap-devices in /etc/fstab... doneEntering boot.clock at date: Tue Feb 24 03:54:14 EST 2009 Setting up the hardware clockdone Leaving boot.clock at date: Mon Feb 23 16:54:16 EST 2009 Activating device mapper... done Checking file systems... fsck 1.41.1 (01-Sep-2008) ... Notice the two lines starting with 'Boot logging started on /dev/tty1'. The first one, just after the 'Kernel log daemon terminating' message, is showing the time from the Hardware Clock as localtime (Mon Feb 23 16:54:09 2009). The second one, just after the root device is mounted read-write, has been set to 11 hours ahead (Tue Feb 24 03:54:11 2009). Later, when boot.clock is run, (with extra 'echo' and 'date' commands added to it) the entry time to it can be seen as +11 hours, then set to the correct localtime on exiting boot.clock. Somewhere between the two 'Boot logging started' messages, something is setting the System Time, is assuming it is based on UTC, and is applying the localtime offset as +11 hours. This has to be a bug, since if it could find the timezone setting, it should also be able to find the 'HWCLOCK="--localtime"' setting in /etc/sysconfig/clock, and work out that the time is Not based on UTC, and just leave System Time alone. boot.clock eventually fixes the time, but a lot of files and devices have their date-time stamps set 11 hours in the future. Potentially, at least these are affected: ... Starting udevd: done Loading drivers, configuring devices: done Loading required kernel modules doneActivating swap-devices in /etc/fstab... ... After login, the system files with a date-time stamp in the future were captured in the attached file 'future-files'. They are mainly /dev and /sys files. 'boot.msg' is also attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c84 --- Comment #84 from Geoff Farrell <gfarrell@netspeed.com.au> 2009-02-23 03:31:05 MST --- Created an attachment (id=274612) --> (https://bugzilla.novell.com/attachment.cgi?id=274612) Files with date-time stamps in the future -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c85 --- Comment #85 from Geoff Farrell <gfarrell@netspeed.com.au> 2009-02-23 03:31:56 MST --- Created an attachment (id=274613) --> (https://bugzilla.novell.com/attachment.cgi?id=274613) /var/log/boot.msg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c86 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hare@novell.com, | |kasievers@novell.com, | |okir@novell.com --- Comment #86 from Dr. Werner Fink <werner@novell.com> 2009-03-13 06:55:45 MST --- (In reply to comment #83) This is exactly what I've mentioned in comment #75 ... we are required to set the correct time before accessing the real file system, e.g. running the first fsck and mount on root and that is within initrd. Hannes? What do you think about? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User gfarrell@netspeed.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c87 --- Comment #87 from Geoff Farrell <gfarrell@netspeed.com.au> 2009-03-14 17:32:54 MST --- Re Comment #75: I think too much emphasis is being placed on UTC as a timezone. UTC is a standard, and doesn't require any entry in /etc to know what it is. The installer asks two pieces of information from the user: 1. Is the Hardware Clock set to UTC? (checkbox with prompt: 'Hardware clock set to UTC') 2. What timezone is the computer in? (GUI of world, where user clicks on a city) In answer to 1, /etc/sysconfig/clock will have either HWCLOCK="-u" or HWCLOCK="--localtime". In answer to 2, /etc/sysconfig/clock will have the timezone registered as, for example, TIMEZONE="Australia/Sydney", or TIMEZONE="US/Eastern". As well, /etc/localtime will contain the same information recorded for the /etc/sysconfig/clock 'TIMEZONE=' setting. (For consistency, maybe a new file could be created to hold the second vital piece of information. It could be /etc/hwclock, whose contents would be either '-u' or '--localtime'.) Therefore, enough information is already available in /etc for the System Time to be calculated from the Hardware Clock. No extra specification for UTC is needed in /etc. For example, if someone were in London, their answers would provide: 1. HWCLOCK="-u" 2. TIMEZONE="Europe/London" Both these pieces of information are enough to calculate that System Time = Hardware Clock. (Ie, don't adjust the Hardware Clock time to derive System Time.) Similarly, for me, my answers provide: 1. HWCLOCK="--localtime" 2. TIMEZONE="Australia/Sydney" Again, enough is provided to know that System Time = Hardware Clock. (Ie, don't adjust.) If someone was in New York, and their answers were: 1. HWCLOCK="-u" 2. TIMEZONE="US/Eastern" then enough information is available to know that System Time = Hardware Clock - 4 hours. Re Comment #86:
we are required to set the correct time before accessing the real file system, e.g. running the first fsck and mount on root and that is within initrd.
I agree that this course of action will eliminate all the problems reported in this bug. If you mean the correct time must be set before running the first fsck and mount of root, then /etc will be an unsuitable location for the timezone info (as will any other filesystem which is yet to be mounted). In that case, an extra task will most likely be required of GRUB, which is the only function that can currently access information on a partition without it being mounted on a filesystem. Maybe the information could be stored in /boot/grub/hwclock and /boot/grub/localtime, and passed as parameters to initrd by way of a GRUB menu.lst entry like this: title openSUSE 11.1 - 2.6.27.19-3.2 root (hd0,0) kernel /vmlinuz root=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part6 resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5 splash=silent showopts vga=0x31a initrd /initrd hwclock=/grub/hwclock localtime=/grub/localtime (where sda1 is a separate /boot partition) This would require the bootloader program to extract the information from /etc/localtime (and perhaps /etc/hwclock?) and install it the files in /boot/grub/ and in the GRUB 'initrd' line. As an example, my data would be stored as: 1. /boot/grub/hwclock: contents = "--localtime" (the other option would be = "-u") 2. /boot/grub/localtime: contents = "Australia/Sydney" It would also require initrd to be able to accept parameters passed to it, and to apply them to the correct System Time at the appropriate opportunity. Following that, the current function provided by /etc/init.d/boot.clock would need to be modified to remove the 'start' staza, as this would be superfluous. The 'stop' function would still be required. In addition, the bug that is incorrectly setting System Time as UTC-based (between the two 'Boot logging started on' messages in boot.msg - as reported in Comment #83) needs to be identified and eliminated. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=426270 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=426270#c88 Carlos Robinson <robin.listas@telefonica.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robin.listas@telefonica.net --- Comment #88 from Carlos Robinson <robin.listas@telefonica.net> 2009-03-15 11:08:10 MST --- A poster in the opensuse mail list appears to have this problem, and searching Bugzilla I found this report, which seems to be his case. But I want to comment on this: (In reply to comment #14)
I think the main problem is to run this kind of setup with separate /usr and I'm not sure if it is reasonable to support that - why do you want to have separate /usr in the first place?
Long time SuSE users like me remember that a separate /usr partition was recommended in the SuSE documentation for optimizing disc access. After searching my paper admin books and googling a bit, I found some samples; in 9.1, it reads: ] 4 GB or More: ] ] A swap partition, a root partition (1 GB), and one partition each ] for the following directories as needed: /usr (4 GB or more), /opt (4 GB ] or more), and /var (1 GB). If you do not want to have separate ] partitions for these directories, add the suggested disk space to the ] root partition. The rest of the available space can be used for /home. <http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.3/suselinux-adminguide_en/sec.i.yast2.proposal.html> Or, in 9.1, chapter "1.7.3.1. Parallel Use of Multiple Disks" ] Example 1.1. Example df Output ] ] Filesystem Size Used Avail Use% Mounted on ] /dev/sda5 1.8G 1.6G 201M 89% / ] /dev/sda1 23M 3.9M 17M 18% /boot ] /dev/sdb1 2.9G 2.1G 677M 76% /usr ] /dev/sdc1 1.9G 958M 941M 51% /usr/lib ] shmfs 185M 0 184M 0% /dev/shm <http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch01s07.html> That section can be found earlier, like in the 6.4 adminguide book (I have in no link for this one). But the same section is in SLES 9 docs (chapter "3.9.3.1. Parallel Use of Multiple Disks", <http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/sles9/adminguide-sles9/ch03s09.html#id2581931>) I haven't read in full the current versions, so I don't know if it is still there. There you have, your own reasons for having a separate /usr partition >;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com