summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Łukasz Stelmach [Tue, 9 May 2017 10:57:04 +0000 (12:57 +0200)]
Use bson as the event serialisation format
As of this commit faultd depends on ejdb package.
Krzysztof Opasiak [Tue, 9 May 2017 11:55:38 +0000 (13:55 +0200)]
Add dummy serialization function for events
Łukasz Stelmach [Mon, 8 May 2017 13:22:55 +0000 (15:22 +0200)]
Record boot_id in events
Krzysztof Opasiak [Tue, 9 May 2017 11:17:47 +0000 (13:17 +0200)]
Change naming convention of internal event function
Change the naming convention by adding "_internal" suffix to functions
called by subclasses.
Łukasz Stelmach [Tue, 9 May 2017 09:50:15 +0000 (11:50 +0200)]
Add program to compare ejdb and sqlite performance
Łukasz Stelmach [Tue, 9 May 2017 09:49:46 +0000 (11:49 +0200)]
Add listener to collect events propagated by systemd via dbus
This listener subscribes to DBUS signals generated by systemd
to catch services which entered a failed state.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 9 May 2017 09:44:02 +0000 (11:44 +0200)]
Add entity to represent service failure
This type of event should be generated by a listener
when it detects that some service entered a failed state.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 9 May 2017 09:42:17 +0000 (11:42 +0200)]
Add a decision maker to restart a service when it leaks resources
This is a very simple decision maker which always restarts
a service if it's leaking resources.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 9 May 2017 11:33:48 +0000 (13:33 +0200)]
Add decision made event
This event is generated when some decision maker
made a decision that some action should be executed.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Paweł Szewczyk [Tue, 9 May 2017 09:41:09 +0000 (11:41 +0200)]
Add a simple program to test audit listener
This is just a process which leaks file descriptors.
To test audit listener just run faultd and then this
program.
Krzysztof Opasiak [Tue, 9 May 2017 11:32:52 +0000 (13:32 +0200)]
Add audit listener to catch resource violation events
Krzysztof Opasiak [Tue, 9 May 2017 11:54:55 +0000 (13:54 +0200)]
Add entity to represent resource violation event
Resource violation means that some process is using
more resources than it should.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 9 May 2017 11:31:47 +0000 (13:31 +0200)]
Add entity to represent resource violation event
Resource violation means that some process is using
more resources than it should.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 9 May 2017 09:25:25 +0000 (11:25 +0200)]
Add IDs of predefined faultd actions
Action which can be executed when event arrived is identified
by a string in reverse domain name convention.
faultd will provide implementation of 4 predefined actions.
All other actions can be provided by a plugin mechanism
(to be implemented later)
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 9 May 2017 11:29:39 +0000 (13:29 +0200)]
Add system service abstraction
Internally this entity talks with systemd via DBUS to
translate PID to systemd service name.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 9 May 2017 11:28:34 +0000 (13:28 +0200)]
Add framework for processing faultd events
For now it's just a simple framework which has a list of
available event handlers each time when event arrives it
iterates through the list to find a volunteer to handle
this event.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Tue, 9 May 2017 11:24:13 +0000 (13:24 +0200)]
Add faultd event entity
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Łukasz Stelmach [Mon, 8 May 2017 21:04:28 +0000 (23:04 +0200)]
Add tizen packaging
Łukasz Stelmach [Mon, 8 May 2017 21:02:59 +0000 (23:02 +0200)]
Make faultd build
Łukasz Stelmach [Mon, 8 May 2017 21:00:53 +0000 (23:00 +0200)]
Add main faultd file
Krzysztof Opasiak [Mon, 8 May 2017 20:58:22 +0000 (22:58 +0200)]
Add modules infrastructure
Add some infrastructure to make faultd a modular daemon.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Mon, 8 May 2017 20:54:07 +0000 (22:54 +0200)]
Add queue with fd notification
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Mon, 8 May 2017 20:51:24 +0000 (22:51 +0200)]
Add simple queue implementation
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Mon, 8 May 2017 20:50:25 +0000 (22:50 +0200)]
Add simple list implementation based on linux kernel
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Mon, 8 May 2017 20:39:28 +0000 (22:39 +0200)]
Add reference counting helper
Add a helper structure based on kref to simplify memory management.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Łukasz Stelmach [Mon, 8 May 2017 20:56:21 +0000 (22:56 +0200)]
Add logging infrastructure
Krzysztof Opasiak [Mon, 8 May 2017 20:46:32 +0000 (22:46 +0200)]
Add common macros which can be useful in faultd
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Łukasz Stelmach [Mon, 8 May 2017 20:48:18 +0000 (22:48 +0200)]
Add codding-style configuration for emacs
Łukasz Stelmach [Mon, 8 May 2017 20:49:16 +0000 (22:49 +0200)]
Add .gitignore
[Add also .orig files as ignored]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Łukasz Stelmach [Mon, 8 May 2017 20:37:02 +0000 (22:37 +0200)]
Add license file
Tizen Infrastructure [Mon, 3 Apr 2017 06:23:29 +0000 (23:23 -0700)]
Initial empty repository