Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 819914] acpid does not stop during shutdown causing delay

https://bugzilla.novell.com/show_bug.cgi?id=819914

https://bugzilla.novell.com/show_bug.cgi?id=819914#c5


--- Comment #5 from Dr. Werner Fink <werner@xxxxxxxx> 2013-06-03 09:02:01 UTC
---
AFAICS from source both QUIT and TERM should work (acpid-2.0.17/acpid.c):

/* trap key signals */
signal(SIGHUP, reload_conf);
signal(SIGINT, clean_exit);
signal(SIGQUIT, clean_exit);
signal(SIGTERM, clean_exit);
signal(SIGPIPE, SIG_IGN);

only within acpid-2.0.17/event.c there exist a lot of lock/unlock pairs of
those signals. But I do not see how the already delivered signals will be
handled after the lock has been removed in acpid_handle_event()

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >