Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72937 - UML Hardware clock code is broken in /etc/init.d/clock
Summary: UML Hardware clock code is broken in /etc/init.d/clock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 09:35 UTC by Eric Edgar (RETIRED)
Modified: 2004-11-30 13:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This fixes /etc/init.d/clock when running inside uml (rc-scripts-1.6.6_uml_coLinux_clock.patch,439 bytes, patch)
2004-11-30 09:36 UTC, Eric Edgar (RETIRED)
Details | Diff
modified ebuild to load the clock patch (baselayout-1.11.6-r2.ebuild,16.20 KB, text/plain)
2004-11-30 09:38 UTC, Eric Edgar (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Edgar (RETIRED) gentoo-dev 2004-11-30 09:35:25 UTC
the uml will fail to set the hardware clock information.  hwclock shouldn't run.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
hwclock runs

Expected Results:  
hwclock doesnt run
Comment 1 Eric Edgar (RETIRED) gentoo-dev 2004-11-30 09:36:33 UTC
Created attachment 44998 [details, diff]
This fixes /etc/init.d/clock when running inside uml

This patch is for baselayout 1.11.6 and fixes the rc-scripts-1.6.6 package.
Comment 2 Eric Edgar (RETIRED) gentoo-dev 2004-11-30 09:38:19 UTC
Created attachment 45000 [details]
modified ebuild to load the clock patch
Comment 3 Eric Edgar (RETIRED) gentoo-dev 2004-11-30 09:43:19 UTC
This bug was found while working on bug 57229.  The lvm patch that is needed for this baselayout ebuild can be found there.  The lvm patch fixes some errors on shutdown if the root filesystem was mounted on an logical volume.
Comment 4 SpanKY gentoo-dev 2004-11-30 13:43:15 UTC
changed the check for UML/coLinux to use $TBLURB rather than $CLOCK ... saves 2 lines of code ;)

thanks