rtkit-daemon does not obey timezone configuration for logging
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rtkit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If you look at the syslog on a machine running Ubuntu 11.10 you will discover that the rtkit-daemon does not recognize the system's timezone configuration. If you have set the system's clock to UTC and then have a timezone set so that local time is used everywhere, look at /var/log/syslog and see the difference between all other log entries and the rtkit-daemon entries. The rtkit ones log the time in UTC and the rest log the time in local time. Here is an example log with one entry before and one entry after the rtkit-daemon log entries to accentuate the problem:
Dec 10 18:31:16 example dbus[816]: [system] Successfully activated service 'org.freedeskto
Dec 10 23:31:16 example rtkit-daemon[2066]: Successfully called chroot.
Dec 10 23:31:16 example rtkit-daemon[2066]: Successfully dropped privileges.
Dec 10 23:31:16 example rtkit-daemon[2066]: Successfully limited resources.
Dec 10 23:31:16 example rtkit-daemon[2066]: Running.
Dec 10 23:31:16 example rtkit-daemon[2066]: Canary thread running.
Dec 10 23:31:16 example rtkit-daemon[2066]: Watchdog thread running.
Dec 10 23:31:16 example rtkit-daemon[2066]: Successfully made thread 2064 of process 2064 (n/a) owned by '1000' high pr
iority at nice level -11.
Dec 10 23:31:16 example rtkit-daemon[2066]: Supervising 1 threads of 1 processes of 1 users.
Dec 10 23:31:16 example rtkit-daemon[2066]: Successfully made thread 2069 of process 2064 (n/a) owned by '1000' RT at p
riority 5.
Dec 10 23:31:16 example rtkit-daemon[2066]: Supervising 2 threads of 1 processes of 1 users.
Dec 10 23:31:16 example rtkit-daemon[2066]: Successfully made thread 2093 of process 2064 (n/a) owned by '1000' RT at p
riority 5.
Dec 10 23:31:16 example rtkit-daemon[2066]: Supervising 3 threads of 1 processes of 1 users.
Dec 10 18:31:20 example kernel: [ 59.575884] Valid eCryptfs headers not found in file header region or xattr region
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: rtkit 0.10-1ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Dec 10 18:46:35 2011
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
ProcEnviron:
LANGUAGE=
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: rtkit
UpgradeStatus: Upgraded to oneiric on 2011-10-18 (53 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.