|
Bugzilla – Full Text Bug Listing |
| Summary: | rpm aaa_base 12.2-2.14.1 overwrites /etc/adjtime | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.2 | Reporter: | Giacomo Comes <comes> |
| Component: | Basesystem | Assignee: | Ruediger Oertel <ro> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | forgotten_gp-dpinp5x, wbauer, werner |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | openSUSE 12.2 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | change /etc/adjtime only if $HWCLOCK is set | ||
|
Description
Giacomo Comes
2012-11-27 15:19:03 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.
*** Bug 796691 has been marked as a duplicate of this bug. *** Created attachment 522463 [details]
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?
werner: as you have been working on this ... any statement ? The patch is correct, added with submit request #151456 This is an autogenerated message for OBS integration: This bug (791485) was mentioned in https://build.opensuse.org/request/show/151456 Factory / aaa_base closing bug, thanks 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? 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? Wolfgang, thanks for your efforts! Could you open a maintenancerequest with the updated package, please? Done, MR#176837 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 / Update released for openSUSE 12.2. Resolved fixed. 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 |