Skip to content

Fix systemd monitor initialization#103

Closed
Vogtinator wants to merge 1 commit intoAetf:developfrom
Vogtinator:seatfix
Closed

Fix systemd monitor initialization#103
Vogtinator wants to merge 1 commit intoAetf:developfrom
Vogtinator:seatfix

Conversation

@Vogtinator
Copy link

monitor_sd_init needs to get a pointer to struct uterm_sd_mon to be able to initialize it. Previously its contents were never initialized.

monitor_sd_init needs to get a pointer to struct uterm_sd_mon to be able to
initialize it. Previously its contents were never initialized.
@Vogtinator
Copy link
Author

Before this fix, there was 100% CPU use after logout because handle_sd_event didn't read pending events.

@Vogtinator
Copy link
Author

This broke in 61236ed ("Clean up monitors")

CC @michael-oberpriller

@michael-oberpriller
Copy link

Thanks for fixing this, but I will be making a new PR that reverts the broken commits since they did not work as expected.

@Vogtinator
Copy link
Author

Ok! I'll leave this open until the other PR is merged.

@hustlerone
Copy link

Are both needed?

@Vogtinator
Copy link
Author

Are both needed?

No, either of them will fix that specific issue.

@Vogtinator
Copy link
Author

Superseded by #105

@Vogtinator Vogtinator closed this May 16, 2025
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