Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51588 - dhcpd => Wrong time in logfile when dhcpd runs in a jail
Summary: dhcpd => Wrong time in logfile when dhcpd runs in a jail
Status: RESOLVED DUPLICATE of bug 41217
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-20 13:00 UTC by inode77
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description inode77 2004-05-20 13:00:38 UTC
After emerging net-misc/dhcp-3.0_p2-r6 and reconfiguring for chrooted use all works fine, but in my log files the dhcp lines are two hours off the normal system time. (I use "local" in "/etc/rc.conf" and "/etc/localtime" is a link to "/usr/share/zoneinfo/Europe/Zurich").
T

Reproducible: Always
Steps to Reproduce:
1.emerge dhcp
2.emerge pkg/pkg-version config
3.start dhcp in chroot
4.take a look into a logtime for dhcp msgs compared to system time

Actual Results:  
Time was 2h off.

Expected Results:  
Correct time => localtime => UTC + 1h (in my case)

This "bug" (I don't know if a logtime that's not entierly correct is one) can be
corrected easily. Just copy your zonefile to "/chroot/dhcp/etc/localtime".
Please add a line to the ebuild to do the copy automatically.
The bind package does the same thing if run in chroot.
Comment 1 SpanKY gentoo-dev 2004-08-31 15:02:46 UTC

*** This bug has been marked as a duplicate of 41217 ***