The verification of the Stable Release Update for systemd has completed
successfully and the package is now being released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1966800

Title:
  systemd locks up due to incorrect handling of time zone changes

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Focal:
  Fix Released
Status in systemd package in Fedora:
  Unknown

Bug description:
  [Impact]

  This bug can cause systemd timers to lock up systems using the
  Europe/Dublin timezone if certain OnCalendar values are used. If the
  timer is enabled at boot, this bug prevents the system from booting.
  If the timer is started later, systemd becomes unresponsive.

  [Test Plan]

  * Create a systemd service and corresponding timer scheduled for 01:00
  on Sundays:

  $ cat /etc/systemd/system/lp-1966800-reproducer.timer
   [Unit]
   Description=LP 1966800 reproducer

   [Timer]
   OnCalendar=Sun *-*-* 01:00:00
   Persistent=true

   [Install]
   WantedBy=timers.target

   $ cat /etc/systemd/system/lp-1966800-reproducer.service
   [Service]
   ExecStart=/usr/bin/echo "LP 1966800 reproducer"

   $ systemctl daemon-reload

  * Set the date to 21 March, 2021 in the Europe/Dublin timezone (need
  to disable NTP first):

   $ timedatectl set-ntp false
   $ timedatectl set-time "2021-03-21"
   $ timedatectl set-timezone Europe/Dublin

  * Try to start the timer, and observe that systemd becomes
  unresponsive. This command will time out, as will `systemctl status`
  etc.

   $ systemctl start lp-1966800-reproducer.timer

  [Where problems could occur]

  The patch makes changes in the calendar spec code, which is used by
  systemd timers to determine the next time to trigger a timer. If this
  patch breaks something, it would be related to the triggering of
  systemd timers.

  [Original Description]

  Recently on systems in Ireland, systemd became unresponsive due the
  change from GMT to Irish Standard Time. This is due to Ireland being
  unique in having their standard time during the summer, unlike most
  regions.

  Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1941335
  Fixed by: 
https://github.com/systemd/systemd-stable/commit/a8b66ca9af811148b67ee952ab32748f88b8bba3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1966800/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to