[Bug 791485] New: rpm aaa_base 12.2-2.14.1 overwrites /etc/adjtime

https://bugzilla.novell.com/show_bug.cgi?id=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c0 Summary: rpm aaa_base 12.2-2.14.1 overwrites /etc/adjtime Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: PC OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: comes@naic.edu QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0 last aaa_base update (12.2-2.14.1) overwrites the content of /etc/adjtime To test the bug do: Run: 'yast timezone' and uncheck Hardware Clock Set to UTC verify that /etc/adjtime contains the line LOCAL. Update to the latest aaa_base: zypper in --force aaa_base Now check the content of /etc/adjtime Instead of LOCAL you will find UTC. Reproducible: Always Steps to Reproduce: 1.set system time to LOCAL instead of UTC 2.update to the latest aaa_base 3. Actual Results: system time is set to UTC Expected Results: system time should remain as it was (LOCAL) -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c Jiaying ren <jren@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jren@suse.com AssignedTo|bnc-team-screening@forge.pr |ro@suse.com |ovo.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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c1 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #1 from Wolfgang Bauer <wbauer@tmo.at> 2012-12-04 15:54:44 UTC --- I encountered the same problem. Every reinstallation of aaa_base (doesn't matter if from oss or update repo) changes the last line in /etc/adjtime from LOCAL to UTC. This is caused by the following lines in the aaa_base.post script (starting at line 50): case "$HWCLOCK" in *-l*) sed -ri 's@^UTC$@LOCAL@' /etc/adjtime ;; *) sed -ri 's@^LOCAL$@UTC@' /etc/adjtime ;; esac If $HWCLOCK is empty (which it always is because right before that HWCLOCK is removed from /etc/sysconfig/clock), the second case * matches and LOCAL will be replaced with UTC. AFAICS the aaa_base package in Factory also contains 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c2 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dfreeman@ieee.org --- Comment #2 from Arvin Schnell <aschnell@suse.com> 2013-01-07 09:16:53 UTC --- *** Bug 796691 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=796691 -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c3 --- Comment #3 from Wolfgang Bauer <wbauer@tmo.at> 2013-01-29 15:27:25 UTC --- Created an attachment (id=522463) --> (http://bugzilla.novell.com/attachment.cgi?id=522463) change /etc/adjtime only if $HWCLOCK is set This bug is still there in openSUSE 12.3 Beta 1. I have attached a patch that fixes this issue. Could someone please apply this, or should I create a submit request against Base: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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c4 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |werner@suse.com --- Comment #4 from Ruediger Oertel <ro@suse.com> 2013-02-06 11:42:11 UTC --- werner: as you have been working on this ... any statement ? -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c5 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |werner@suse.com InfoProvider|werner@suse.com | --- Comment #5 from Dr. Werner Fink <werner@suse.com> 2013-02-06 12:24:57 UTC --- The patch is correct, added with submit request #151456 -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-02-06 14:00:07 CET --- This is an autogenerated message for OBS integration: This bug (791485) was mentioned in https://build.opensuse.org/request/show/151456 Factory / aaa_base -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c7 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Ruediger Oertel <ro@suse.com> 2013-02-06 13:58:32 UTC --- closing bug, 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c8 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #8 from Wolfgang Bauer <wbauer@tmo.at> 2013-02-08 15:18:00 UTC --- Thank you! But since this bug was reported against 12.2 and it is not fixed there, I am going to reopen this. Could you please provide an online update with this fix? -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c9 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #9 from Wolfgang Bauer <wbauer@tmo.at> 2013-05-27 17:02:51 UTC --- Well, since nobody seems to care about this (for 12.2, that is), I am willing to prepare the online update. @Mr Maintenance: Is it ok if I submit a fixed package to openSUSE:12.2:Update? -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c10 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|maintenance@opensuse.org | --- Comment #10 from Benjamin Brunner <bbrunner@suse.com> 2013-05-28 10:50:03 CEST --- Wolfgang, thanks for your efforts! Could you open a maintenancerequest with the updated package, please? -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c11 --- Comment #11 from Wolfgang Bauer <wbauer@tmo.at> 2013-05-28 09:44:13 UTC --- Done, MR#176837 -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-05-28 12:00:36 CEST --- This is an autogenerated message for OBS integration: This bug (791485) was mentioned in https://build.opensuse.org/request/show/176835 Maintenance / aaa_base https://build.opensuse.org/request/show/176837 Maintenance / -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c13 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #13 from Benjamin Brunner <bbrunner@suse.com> 2013-06-05 05:56:45 CEST --- Update released for openSUSE 12.2. Resolved fixed. -- 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=791485 https://bugzilla.novell.com/show_bug.cgi?id=791485#c14 --- Comment #14 from Swamp Workflow Management <swamp@suse.de> 2013-06-05 04:04:44 UTC --- openSUSE-RU-2013:0863-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 791485 CVE References: Sources used: openSUSE 12.2 (src): aaa_base-12.2-2.18.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.
participants (1)
-
bugzilla_noreply@novell.com