Closed bluca closed 2 weeks ago
Operating system fedora 40. After this patch is installed, the policy prompt is correct for the first time every time the polkit service is restarted. After that, only English is displayed.
@robert-ancell @bluca
systemd : 255.10-3.fc40 polkit: 124-2.fc40
1、sudo systemctl restart polkit.service
2、timedatectl set-timezone Asia/Singapore
After that, Execute "timedatectl set-timezone Asia/Singapore" again.
@zerocool438 thanks for testing - could you please try again with this new version just pushed?
@zerocool438 thanks for testing - could you please try again with this new version just pushed? I'll give it a try.
@zerocool438 thanks for testing - could you please try again with this new version just pushed? I noticed that you added judgment to the result value. I can just tell you the result value in these two executions. source code:
journal:
@bluca
Is the problem with the GUI pop-up that you showed previously solved with the latest code changes in this PR?
Is the problem with the GUI pop-up that you showed previously solved with the latest code changes in this PR?
No, this PR didn't fix it.
Is the problem with the GUI pop-up that you showed previously solved with the latest code changes in this PR?
The phenomenon remains the same.
Ok thanks, I've switched this to a disabled-by-default meson option. We can enable this in Debian and derivatives, and it can be kept disabled in Fedora and derivatives.
@jrybar-rh gentle ping - this is disabled by default so shouldn't affect Fedora, but it would allow us in Debian/Ubuntu to drop a downstream patch that we have been carrying for more than 10 years. Thanks!
Disabled by default. Will be used in Debian/Ubuntu and derivatives, where this patch has been carried out-of-tree for ~15 years.
Fixes https://github.com/polkit-org/polkit/issues/35