<feed xmlns='http://www.w3.org/2005/Atom'>
<title>abrt.git/src/Daemon/Daemon.cpp, branch 0.0.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/'/>
<entry>
<title>fix compile-time warnings.</title>
<updated>2009-08-09T10:11:03+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-08-09T10:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=3bab9d79a01ac70a78c012eaa82dccaaa5c59ee5'/>
<id>3bab9d79a01ac70a78c012eaa82dccaaa5c59ee5</id>
<content type='text'>
One fix (in CCrashWatcher::GetPluginsInfo) needs closer look,
others are "trivially correct"

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One fix (in CCrashWatcher::GetPluginsInfo) needs closer look,
others are "trivially correct"

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>style fixes, no code changes</title>
<updated>2009-08-09T10:09:09+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-08-09T10:09:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=5bfd6ac66529ed1976db7df0ab4853eec855e411'/>
<id>5bfd6ac66529ed1976db7df0ab4853eec855e411</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix bug 54: make abrt (without -d) report initialization errors</title>
<updated>2009-08-06T15:23:02+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-08-06T15:23:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=83a41775849cf6904bbd7f929d0bd1516759260f'/>
<id>83a41775849cf6904bbd7f929d0bd1516759260f</id>
<content type='text'>
Example (strace):

10053 17:18:58.384259 close(0)          = 0
10053 17:18:58.384293 open("/dev/null", O_RDWR) = 0
    child is created:
10053 17:18:58.384354 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f50eea1c880) = 10054
    parent sleeps, child initializes:
10053 17:18:58.384678 nanosleep({0, 100000000},  &lt;unfinished ...&gt;
10054 17:18:58.384751 setsid()          = 10054
10054 17:18:58.384794 close(1)          = 0
10054 17:18:58.384828 close(2)          = 0
10054 17:18:58.384870 dup(0)            = 1
10054 17:18:58.384901 dup(0)            = 2
10054 17:18:58.385099 open("/usr/app/abrt-TEST/var/etc/abrt/abrt.conf", O_RDONLY) = 3
...
10054 17:18:58.449108 inotify_init()    = 4
10054 17:18:58.449148 inotify_add_watch(4, "/usr/app/abrt-TEST/var/cache/abrt", IN_CREATE) = 1
10054 17:18:58.449228 fstat(4, {st_mode=S_IFDIR|0600, st_size=0, ...}) = 0
10054 17:18:58.449288 fcntl(4, F_GETFL) = 0 (flags O_RDONLY)
    child: initialization is done, it signals parent:
10054 17:18:58.449346 getppid()         = 10053
10054 17:18:58.449380 kill(10053, SIGTERM) = 0
10054 17:18:58.449427 write(1, "Debug: Running...\n"..., 18 &lt;unfinished ...&gt;
10053 17:18:58.449447 &lt;... nanosleep resumed&gt; 0) = ? ERESTART_RESTARTBLOCK (To be restarted)
10054 17:18:58.449470 &lt;... write resumed&gt; ) = 18
10054 17:18:58.449494 open("/usr/app/abrt-TEST/var/run/abrt.lock", O_RDWR|O_CREAT, 0640 &lt;unfinished ...&gt;
10053 17:18:58.449517 --- SIGTERM (Terminated) @ 0 (0) ---
10054 17:18:58.449565 &lt;... open resumed&gt; ) = 5
10053 17:18:58.449583 rt_sigreturn(0xf &lt;unfinished ...&gt;
10054 17:18:58.449607 fcntl(5, F_SETLK, {type=F_WRLCK, whence=SEEK_CUR, start=0, len=0} &lt;unfinished ...&gt;
    sleep(100ms) is interrupted:
10053 17:18:58.449629 &lt;... rt_sigreturn resumed&gt; ) = -1 EINTR (Interrupted system call)
10054 17:18:58.449664 &lt;... fcntl resumed&gt; ) = 0
10054 17:18:58.449688 unlink("/usr/app/abrt-TEST/var/run/abrt.pid" &lt;unfinished ...&gt;
    parent exits 0 because it got TERM which means child is ok:
10053 17:18:58.449713 exit_group(0)     = ?
...

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Example (strace):

10053 17:18:58.384259 close(0)          = 0
10053 17:18:58.384293 open("/dev/null", O_RDWR) = 0
    child is created:
10053 17:18:58.384354 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f50eea1c880) = 10054
    parent sleeps, child initializes:
10053 17:18:58.384678 nanosleep({0, 100000000},  &lt;unfinished ...&gt;
10054 17:18:58.384751 setsid()          = 10054
10054 17:18:58.384794 close(1)          = 0
10054 17:18:58.384828 close(2)          = 0
10054 17:18:58.384870 dup(0)            = 1
10054 17:18:58.384901 dup(0)            = 2
10054 17:18:58.385099 open("/usr/app/abrt-TEST/var/etc/abrt/abrt.conf", O_RDONLY) = 3
...
10054 17:18:58.449108 inotify_init()    = 4
10054 17:18:58.449148 inotify_add_watch(4, "/usr/app/abrt-TEST/var/cache/abrt", IN_CREATE) = 1
10054 17:18:58.449228 fstat(4, {st_mode=S_IFDIR|0600, st_size=0, ...}) = 0
10054 17:18:58.449288 fcntl(4, F_GETFL) = 0 (flags O_RDONLY)
    child: initialization is done, it signals parent:
10054 17:18:58.449346 getppid()         = 10053
10054 17:18:58.449380 kill(10053, SIGTERM) = 0
10054 17:18:58.449427 write(1, "Debug: Running...\n"..., 18 &lt;unfinished ...&gt;
10053 17:18:58.449447 &lt;... nanosleep resumed&gt; 0) = ? ERESTART_RESTARTBLOCK (To be restarted)
10054 17:18:58.449470 &lt;... write resumed&gt; ) = 18
10054 17:18:58.449494 open("/usr/app/abrt-TEST/var/run/abrt.lock", O_RDWR|O_CREAT, 0640 &lt;unfinished ...&gt;
10053 17:18:58.449517 --- SIGTERM (Terminated) @ 0 (0) ---
10054 17:18:58.449565 &lt;... open resumed&gt; ) = 5
10053 17:18:58.449583 rt_sigreturn(0xf &lt;unfinished ...&gt;
10054 17:18:58.449607 fcntl(5, F_SETLK, {type=F_WRLCK, whence=SEEK_CUR, start=0, len=0} &lt;unfinished ...&gt;
    sleep(100ms) is interrupted:
10053 17:18:58.449629 &lt;... rt_sigreturn resumed&gt; ) = -1 EINTR (Interrupted system call)
10054 17:18:58.449664 &lt;... fcntl resumed&gt; ) = 0
10054 17:18:58.449688 unlink("/usr/app/abrt-TEST/var/run/abrt.pid" &lt;unfinished ...&gt;
    parent exits 0 because it got TERM which means child is ok:
10053 17:18:58.449713 exit_group(0)     = ?
...

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>On exit, take care to emit consistent exit status.</title>
<updated>2009-07-17T13:58:51+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-07-17T13:58:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=db9ffc6dafce568e0b70d064411db81933d61eb4'/>
<id>db9ffc6dafce568e0b70d064411db81933d61eb4</id>
<content type='text'>
If we were Ctrl-C'ed, then we should exit by killing ourself, not exit(N).

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we were Ctrl-C'ed, then we should exit by killing ourself, not exit(N).

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rework unsafe handling of SIGINT/SIGTERM</title>
<updated>2009-07-17T13:52:27+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-07-17T13:52:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=37ab187408799ba3f3f9107bdc5a72fea0b4b608'/>
<id>37ab187408799ba3f3f9107bdc5a72fea0b4b608</id>
<content type='text'>
Signals are asynchronous. It is unsafe to perform such complex
operations in a signal handler. I changed signal handler
to just set a flag, and added an event source which returns an event
when this variable is set. The action is to stop event loop.
Execution then falls through to program exit.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signals are asynchronous. It is unsafe to perform such complex
operations in a signal handler. I changed signal handler
to just set a flag, and added an event source which returns an event
when this variable is set. The action is to stop event loop.
Execution then falls through to program exit.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore /proc/sys/kernel/core_pattern on error exit.</title>
<updated>2009-07-15T13:12:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-07-15T13:12:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=3431b2cee2ad71c0046bcef239ddd30539c202ae'/>
<id>3431b2cee2ad71c0046bcef239ddd30539c202ae</id>
<content type='text'>
The bug was observed when dbus-abrt.conf is missing.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bug was observed when dbus-abrt.conf is missing.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>proper way how to daemonize</title>
<updated>2009-06-24T08:27:09+00:00</updated>
<author>
<name>Zdenek Prikryl</name>
<email>zprikryl@redhat.com</email>
</author>
<published>2009-06-24T08:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=ce53f0f1f936ae0fad65aa5765cbbe021dfa9359'/>
<id>ce53f0f1f936ae0fad65aa5765cbbe021dfa9359</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt</title>
<updated>2009-05-20T09:18:34+00:00</updated>
<author>
<name>Jiri Moskovcak</name>
<email>jmoskovc@redhat.com</email>
</author>
<published>2009-05-20T09:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=40d3a846c8fb7dcbc03cf2dfcd911baf0b64987b'/>
<id>40d3a846c8fb7dcbc03cf2dfcd911baf0b64987b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>improved catching of exceptions</title>
<updated>2009-05-18T15:16:47+00:00</updated>
<author>
<name>Zdenek Prikryl</name>
<email>zprikryl@redhat.com</email>
</author>
<published>2009-05-18T15:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=8ec13b1c89bcbf9c2d2cff8f1f7d29941495c3d2'/>
<id>8ec13b1c89bcbf9c2d2cff8f1f7d29941495c3d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt</title>
<updated>2009-05-12T13:55:34+00:00</updated>
<author>
<name>Jiri Moskovcak</name>
<email>jmoskovc@redhat.com</email>
</author>
<published>2009-05-12T13:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mnowak/public_git/abrt.git/commit/?id=b6bc6d13eed2f346414d731ecb29579a719556f3'/>
<id>b6bc6d13eed2f346414d731ecb29579a719556f3</id>
<content type='text'>
Conflicts:
	src/Daemon/Daemon.cpp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	src/Daemon/Daemon.cpp
</pre>
</div>
</content>
</entry>
</feed>
