mbox series

[0/2] restorecond: GLib IO channel fixes

Message ID 20241024084816.40872-1-fvogt@suse.de (mailing list archive)
Headers show
Series restorecond: GLib IO channel fixes | expand

Message

Fabian Vogt Oct. 24, 2024, 8:48 a.m. UTC
Downstream we hit a bug that "restorecond -u" kept running even after the user
logged out (https://bugzilla.opensuse.org/show_bug.cgi?id=1231512). The cause
for that was that SIGTERM was handled, but had no effect. While testing the fix
(PATCH 2), I found that the inotify events weren't actually read properly.
That's addressed by PATCH 1.

Fabian Vogt (2):
  restorecond: Set GLib IO channels to binary mode
  restorecond: Set GLib IO channels to nonblocking

 restorecond/user.c | 4 ++++
 1 file changed, 4 insertions(+)