openhpi2 / Open-HPI

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
Other
3 stars 1 forks source link

Kill SIGTERM does not terminate daemon in new GLIB #2597

Closed openhpi2 closed 8 years ago

openhpi2 commented 9 years ago

In the newer GLIB (>2.31), hpi_shell leaves behind a service/pool thread. So kill -15 does not terminate the daemon. Other service threads (created for hpitree, hpitop etc) die only 15 seconds after the client termination

Attachments: 1896.patch.txt

Reported by: dr_mohan

openhpi2 commented 9 years ago

Diff:


--- old
+++ new
@@ -0,0 +1 @@
+1896.patch (652 Bytes; application/octet-stream)

Original comment by: hemanthreddy

openhpi2 commented 9 years ago

Attached the Fix for the issue on the bug. File 1896.patch.

Original comment by: hemanthreddy

openhpi2 commented 9 years ago

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Fixed with checkin #7653

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Original comment by: dr_mohan