On Wed, May 1, 2013 at 8:08 PM, Will Parsons <[email protected]> wrote: > Hi Maxim, > > Maxim Khitrov wrote: >> On Wed, May 1, 2013 at 7:21 PM, Will Parsons <[email protected]> wrote: >>> Hi, >>> >>> I've set up (on FreeBSD) a fossil server using the inetd method. When >>> looking at the timeline display I see the times displayed in UTC, and >>> since I'd rather see local time, I tried to fix this using Timeline >>> Display Preferences. However the "Use UTC" box is not checked, and in >>> fact there is the text "On this server, local time is currently the >>> same as UTC and so this setting will make no difference in the >>> display." >>> >>> On the command line: >>> >>> anukis% date >>> Wed May 1 19:19:31 EDT 2013 >>> anukis% date -u >>> Wed May 1 23:19:33 UTC 2013 >>> >>> How does the server see local time? >> >> See the following link for why this happens and how to fix it: >> >> http://lists.fossil-scm.org:8080/pipermail/fossil-users/2012-December/010989.html > > Thanks for the link, but I'm still puzzled as to what to do in my > situation. I'm not using chroot (perhaps I should be if I were > actually sharing the repository with others, but right now I'm only > using it locally for my own use).
If fossil is running as root, then it chroots to the directory containing your repository without any additional configuration. Try the following: cd <repository-location> mkdir -p etc usr/share/zoneinfo mount -rt nullfs /usr/share/zoneinfo usr/share/zoneinfo ln -s ../usr/share/zoneinfo/America/New_York etc/localtime Now check the time in fossil's web interface. It should see a difference between local time and UTC. If it does, you can add the zoneinfo mount to /etc/fstab: /usr/share/zoneinfo /path/to/usr/share/zoneinfo nullfs ro 0 0 - Max _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

