Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Based on your description, you’re encountering a permission issue with the timedate1 D-Bus interface on Torizon Minimal. This is indeed related to the Polkit configuration as you’ve identified.
Understanding Torizon Minimal Limitations
Your analysis is correct - Torizon Minimal has Polkit disabled by design(1). As explained in the Torizon documentation, Torizon Minimal is “nothing more, nothing less than the ‘Full’ Torizon OS without a container engine”(1). However, this seemingly simple change impacts various system features and workflows(1).
Solutions for Timezone Management
Since you’re using Torizon Minimal on a Verdin iMX8MP, you have several approaches:
Option 1: Custom Yocto Build with Polkit
You could modify your Torizon Minimal build to re-enable Polkit by creating a custom layer that overrides the Polkit configuration. However, this requires maintaining your own Yocto build infrastructure(1).
Option 2: Alternative Timezone Setting Methods
Instead of using the D-Bus interface, consider these alternatives:
- Use direct file system operations (writing to
/etc/timezone and updating /etc/localtime)
- Use the
timedatectl command-line tool with appropriate sudo permissions
- Implement a privileged service that handles timezone changes on behalf of your application
Option 3: Application Architecture Changes
Since your application works with sudo, you could:
- Run the timezone-setting portion of your application with elevated privileges
- Create a separate privileged service that handles system configuration changes
- Use capability-based permissions instead of full root access
Recommendation
Given that you’re on Torizon Minimal, the most straightforward approach would be to avoid the D-Bus interface for timezone setting and instead use direct system calls or the timedatectl command with appropriate privilege escalation. This avoids the complexity of rebuilding your image with Polkit enabled.
The documentation indicates that with Torizon Minimal, “application development is not detached from the base OS updates and dependencies”(1), so any system-level changes like enabling Polkit would require maintaining your own custom build.
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.