Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75936

System time zone is not properly detected with several symlinks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.5, 5.13.1
    • 5.12.3
    • Core: Date/Time
    • None
    • Linux/Wayland, Linux/X11, Linux/Other display system
    • 4ebac33644d5db0b727680f1dacb18616daafe86 (qt/qtbase/5.12)

    Description

      The system time zone is detected by following the /etc/localtime symlink. But if this symlink points itself to another symlink etc. before pointing to /usr/share/zoneinfo/ the time zone is not properly detected.

      This can happen for instance when /etc is mounted read-only and the time zone of the system may change because the device is travelling (phone). Then, /etc/localtime is pointing on a mutable location in /run or /var that itself points to the right time zone.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Eddy Edward Welbourne
            dcaliste Damien Caliste
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes