Bug 513449 - Timezone not applied on system
Summary: Timezone not applied on system
Status: RESOLVED FIXED
Alias: None
Product: Plasma Setup
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-16 17:37 UTC by Timothée Ravier
Modified: 2025-12-18 19:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothée Ravier 2025-12-16 17:37:55 UTC
First, thanks for all the work on this app, this looks great!

SUMMARY

It appears that the selected timezone is not applied on the system.

STEPS TO REPRODUCE
1. Get a Fedora KDE / Kinoite image with Plasma Setup (F44)
2. Pick a timezone

OBSERVED RESULT

No timezone selected

EXPECTED RESULT

Timezone selected

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora KDE / Kinoite 44

ADDITIONAL INFORMATION

Get a QCOW2 disk image with:
```
oras pull quay.io/fedora-atomic-desktops-staging/kinoite:rawhide.20251216.0-x86_64.qcow2
```
Comment 1 Timothée Ravier 2025-12-16 17:38:49 UTC
In the logs, I see systemd-timedated being started just before the user is created but nothing else.
Comment 2 Kristen McWilliam 2025-12-16 22:05:33 UTC
Thanks for the info for getting the disk image, very helpful!

Looks like polkit denies access; is the org.freedesktop.timedate1 dbus interface restricted on Kinoite? That isn't part of plasma-setup's polkit rules because it hasn't been restricted on any tested distro so far.
Comment 3 Neal Gompa 2025-12-17 07:53:42 UTC
We should probably not assume it is or isn't restricted and define access in our policy. Otherwise, for example, this is going to be pain on SUSE distributions which restrict *everything* by default.
Comment 4 Kristen McWilliam 2025-12-18 16:38:06 UTC
Git commit 4324e43a0c507be72ba3adc71faae4732628eff1 by Kristen McWilliam.
Committed on 18/12/2025 at 16:18.
Pushed by merritt into branch 'timezone-bugfix'.

fix: setting timezone requires polkit permission on some distros

Seems that some distros require admin rights to set the system timezone
via `org.freedesktop.timedate1.SetTimezone`, so we need to add a polkit
rule to allow plasma-setup to do this.

M  +1    -0    files/plasma-setup-polkit.rules

https://invent.kde.org/plasma/plasma-setup/-/commit/4324e43a0c507be72ba3adc71faae4732628eff1
Comment 5 Kristen McWilliam 2025-12-18 19:43:03 UTC
Git commit 359ce87477532065bf95d478f5d9270e8bd05c84 by Kristen McWilliam.
Committed on 18/12/2025 at 18:57.
Pushed by ngompa into branch 'master'.

fix: setting timezone requires polkit permission on some distros

Seems that some distros require admin rights to set the system timezone
via `org.freedesktop.timedate1.set-timezone`, so we need to add a polkit
rule to allow plasma-setup to do this.

M  +1    -0    files/plasma-setup-polkit.rules

https://invent.kde.org/plasma/plasma-setup/-/commit/359ce87477532065bf95d478f5d9270e8bd05c84