abrt-server man page

abrt-server — Unix socket for ABRT.

Synopsis

abrt-server [-u UID] [-spv[v]...]

Description

abrt-server is executed by abrtd daemon to handle socket connections. Every application in system is able to invoke creation of a new problem directory by following the communication protocol (described below in section Protocol).

Options

-u UID
Use UID as client uid
-s
Log to system log.
-p
Add program names to log.
-v
Log more detailed debugging information.

Protocol

Initializing new dump: connect to UNIX domain socket /var/run/abrt.socket

Providing data (writting data to the socket):

-> "POST / HTTP/1.1\r\n"
-> "\r\n"
-> "type=string\0"
   string, maximum length 100 bytes
-> "reason=string\0"
   string, maximum length 512 bytes
-> "pid=number\0"
   number, 0 - PID_MAX (/proc/sys/kernel/pid_max)
-> "executable=string\0"
   string, maximum length ~MAX_PATH
-> "backtrace=string\0"
   string, maximum length 1 MB
-> (close writing half of the socket)
<- "HTTP/1.1 201 \r\n"
<- "\r\n"

Deleting problem directory:

-> "DELETE <directory_name> HTTP/1.1\r\n"
-> "\r\n"
-> (close writing half of the socket)
<- "HTTP/1.1 200 \r\n"
<- "\r\n"

Authors

· ABRT team

Info

09/10/2016 abrt 2.9.0 ABRT Manual