Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezone symlink fix #7

Merged
merged 3 commits into from
May 30, 2023
Merged

Timezone symlink fix #7

merged 3 commits into from
May 30, 2023

Conversation

pvuorela
Copy link
Contributor

@LaakkonenJussi noticed this earlier while working on connman regulatory domain adjustments.

While at it fixed one "no such signal" error on timed startup.

Tzdata was made to use hardlinks instead of symlinks on JB#52707
due to sandboxing. That broke timed link target check as the inodes
remains the same. So instead compare the link target.
Spotted on startup logs:
QObject::connect: No such signal dsme_mode_t::mode_reported(const string &)

The signatures are matched by strings and "using std" probably confused
this enough. Just use the method pointer to avoid any such mismatch.
Copy link
Member

@Tomin1 Tomin1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Took me a bit of time to understand what this actually changes, but yeah, now it compares paths because inodes can be the same if they are aliases of the same timezone. (Reading the bug description would have probably helped here. 😉)

@pvuorela pvuorela merged commit 4de3102 into master May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants