From bfdf82e770def64e204d1becf9640034bcdc19bb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 14 Sep 2010 19:22:05 +0200 Subject: This patch makes abrtd spawn a new process, abrt-server, for every socket client. This allows for simpler timeout handling using SIGALRM, and makes timers for tracking client timeouts unnecessary. This also allows for debugging and regression testing of abrt-server separately - it can be simply run from command-line and fed commands on stdin. Also it provides a better fault isolation - crash in abrt-server does not take down abrtd. The code is based on dumpsocket.{cpp,h}. Most of dumpsocket.cpp goes to abrt-server.c, a small part goes to Daemon.cpp (i.e. to abrtd). This change will not compile - it does not have dumpsocket.cpp renamed to abrt-server.c, which makes the change easier to read. The next change, which I'll commit after this one, contains only the renaming. Signed-off-by: Denys Vlasenko --- abrt.spec | 1 + 1 file changed, 1 insertion(+) (limited to 'abrt.spec') diff --git a/abrt.spec b/abrt.spec index 9482bfc1..c8b96f73 100644 --- a/abrt.spec +++ b/abrt.spec @@ -348,6 +348,7 @@ fi /lib/systemd/system/%{name}d.service %endif %{_sbindir}/abrtd +%{_sbindir}/abrt-server %{_bindir}/%{name}-debuginfo-install %{_bindir}/%{name}-handle-upload %{_bindir}/%{name}-backtrace -- cgit