Bug 58606

Summary: strace-4.4-1 doesn't parse RTC_SET_TIME structure
Product: [Retired] Red Hat Raw Hide Reporter: Jonathan Kamens <jik>
Component: straceAssignee: Roland McGrath <roland>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: drepper, ldv
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-06 22:24:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to implement printing the rtc clock values
none
Replacement patch with one fix
none
strace-4.5.7-rh-alt-ioctl-rtc.patch
none
strace-4.5.7-rh-alt-ioctl-rtc.patch
none
strace-4.5.7-rh-alt-ioctl-rtc.patch none

Description Jonathan Kamens 2002-01-21 14:38:54 UTC
Unlike previous strace versions strace-4.4-1 at least recognizes an ioctl with
the RTC_SET_TIME operator, but it still doesn't unparse the structure passed
into the ioctl, which is a bummer when you're trying to debug problems with the
real-time clock.

Comment 1 Ulrich Drepper 2004-08-07 09:33:57 UTC
Created attachment 102495 [details]
Patch to implement printing the rtc clock values

The patch should handle all five rtc ioctls.

Comment 2 Ulrich Drepper 2004-08-07 17:38:07 UTC
Created attachment 102500 [details]
Replacement patch with one fix

I mixed up verbose and abbrev.	Thusly fixed.

Comment 3 Dmitry V. Levin 2004-09-13 17:51:42 UTC
Created attachment 103795 [details]
strace-4.5.7-rh-alt-ioctl-rtc.patch

This patch also adds support for RTC_* read ioctls.
Tested with "hwclock --hctosys" and "hwclock --systohc".

Comment 4 Dmitry V. Levin 2004-09-13 20:39:33 UTC
Created attachment 103801 [details]
strace-4.5.7-rh-alt-ioctl-rtc.patch

This time with changelog entry.

Comment 5 Dmitry V. Levin 2004-09-20 22:02:32 UTC
Created attachment 104039 [details]
strace-4.5.7-rh-alt-ioctl-rtc.patch

ifdef'ed rtc_ioctl() declaration, corrected changelog entry.

Comment 6 Roland McGrath 2004-10-06 22:24:54 UTC
Patch is in upstream.

Comment 7 Tim Powers 2005-05-19 21:09:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-131.html