chiark / gitweb /
elogind.git
10 years agoUse @ instead = as abstract namespace socket prefix
Lennart Poettering [Thu, 28 Jan 2010 03:50:28 +0000 (04:50 +0100)]
Use @ instead = as abstract namespace socket prefix

@ makes more sense since the NUL addr contained in the sockaddr's
sun_path field can also be written as ^@.

Also, in the .socket files writing "ListenStream==foo" is kinda ugly.

Finally, tools like strace decode it with an @ too.

10 years agothe systemd logger only matters in the abstract namespace
Lennart Poettering [Thu, 28 Jan 2010 01:54:35 +0000 (02:54 +0100)]
the systemd logger only matters in the abstract namespace

10 years agoset nice/oom_adjust only when asked for
Lennart Poettering [Thu, 28 Jan 2010 01:53:56 +0000 (02:53 +0100)]
set nice/oom_adjust only when asked for

10 years agorework config file load logic
Lennart Poettering [Thu, 28 Jan 2010 01:44:47 +0000 (02:44 +0100)]
rework config file load logic

10 years agoadd more special units
Lennart Poettering [Thu, 28 Jan 2010 01:43:52 +0000 (02:43 +0100)]
add more special units

10 years agoimplement proper logging for services
Lennart Poettering [Thu, 28 Jan 2010 01:06:20 +0000 (02:06 +0100)]
implement proper logging for services

10 years agoadd infrastructure for special units
Lennart Poettering [Thu, 28 Jan 2010 01:01:15 +0000 (02:01 +0100)]
add infrastructure for special units

10 years agominor cleanup
Lennart Poettering [Thu, 28 Jan 2010 01:00:33 +0000 (02:00 +0100)]
minor cleanup

10 years agounit_merge() needs a proper review
Lennart Poettering [Thu, 28 Jan 2010 01:00:07 +0000 (02:00 +0100)]
unit_merge() needs a proper review

10 years agowhen shortcutting states do not skip state transitions
Lennart Poettering [Thu, 28 Jan 2010 00:59:41 +0000 (01:59 +0100)]
when shortcutting states do not skip state transitions

10 years agowhen resetting signal handlers, set them to SA_RESTART
Lennart Poettering [Thu, 28 Jan 2010 00:53:39 +0000 (01:53 +0100)]
when resetting signal handlers, set them to SA_RESTART

10 years agoadd non-failing close() variant
Lennart Poettering [Thu, 28 Jan 2010 00:53:15 +0000 (01:53 +0100)]
add non-failing close() variant

10 years agoimplement /dev/kmsg loggin
Lennart Poettering [Wed, 27 Jan 2010 22:32:50 +0000 (23:32 +0100)]
implement /dev/kmsg loggin

10 years agoimplement trivial socket activated logger daemon
Lennart Poettering [Wed, 27 Jan 2010 21:43:50 +0000 (22:43 +0100)]
implement trivial socket activated logger daemon

10 years agodrop unused function pointer
Lennart Poettering [Wed, 27 Jan 2010 21:42:21 +0000 (22:42 +0100)]
drop unused function pointer

10 years agomake sure we don't ask the same socket unit for fds more than once
Lennart Poettering [Wed, 27 Jan 2010 21:41:57 +0000 (22:41 +0100)]
make sure we don't ask the same socket unit for fds more than once

10 years agoprocess only one epoll event at a time
Lennart Poettering [Wed, 27 Jan 2010 21:40:10 +0000 (22:40 +0100)]
process only one epoll event at a time

if we ask for more than one from the kernel we might need to check for
the validity of the ptr element since event might be processed after its
ptr was already destructed.

10 years agomake sure the log functions don't modify errno
Lennart Poettering [Wed, 27 Jan 2010 21:39:29 +0000 (22:39 +0100)]
make sure the log functions don't modify errno

10 years agoport fragment loader to new utility functions
Lennart Poettering [Wed, 27 Jan 2010 21:39:10 +0000 (22:39 +0100)]
port fragment loader to new utility functions

10 years agoport config parser to new utility functions
Lennart Poettering [Wed, 27 Jan 2010 21:38:48 +0000 (22:38 +0100)]
port config parser to new utility functions

10 years agointroduce strv_contains()
Lennart Poettering [Wed, 27 Jan 2010 21:38:21 +0000 (22:38 +0100)]
introduce strv_contains()

10 years agoimplement new utility functions strstrip() and file_in_same_dir()
Lennart Poettering [Wed, 27 Jan 2010 21:37:50 +0000 (22:37 +0100)]
implement new utility functions strstrip() and file_in_same_dir()

10 years agoproperly implement target unit
Lennart Poettering [Wed, 27 Jan 2010 05:33:27 +0000 (06:33 +0100)]
properly implement target unit

10 years agoextend examples a bit
Lennart Poettering [Wed, 27 Jan 2010 05:21:25 +0000 (06:21 +0100)]
extend examples a bit

10 years agonotify socket unit when service unit dies
Lennart Poettering [Wed, 27 Jan 2010 05:19:48 +0000 (06:19 +0100)]
notify socket unit when service unit dies

10 years agoreset signal handlers on startup
Lennart Poettering [Wed, 27 Jan 2010 05:19:28 +0000 (06:19 +0100)]
reset signal handlers on startup

10 years agodrop O_CLOEXEC/O_NONBLOCK from files intended for forked clients
Lennart Poettering [Wed, 27 Jan 2010 05:18:45 +0000 (06:18 +0100)]
drop O_CLOEXEC/O_NONBLOCK from files intended for forked clients

10 years agoreset signal mask when forking
Lennart Poettering [Wed, 27 Jan 2010 05:17:51 +0000 (06:17 +0100)]
reset signal mask when forking

10 years agofix socket state machine to listen properly on sockets
Lennart Poettering [Wed, 27 Jan 2010 04:33:11 +0000 (05:33 +0100)]
fix socket state machine to listen properly on sockets

10 years agoproperly recognize successfull scripts
Lennart Poettering [Wed, 27 Jan 2010 04:32:31 +0000 (05:32 +0100)]
properly recognize successfull scripts

10 years agotrap some signals
Lennart Poettering [Wed, 27 Jan 2010 04:31:53 +0000 (05:31 +0100)]
trap some signals

10 years agofix an assert when forking
Lennart Poettering [Wed, 27 Jan 2010 04:30:58 +0000 (05:30 +0100)]
fix an assert when forking

10 years agodon't allow comments at the end of lines
Lennart Poettering [Wed, 27 Jan 2010 04:30:38 +0000 (05:30 +0100)]
don't allow comments at the end of lines

10 years agodon't allow zero length unit names
Lennart Poettering [Wed, 27 Jan 2010 03:56:02 +0000 (04:56 +0100)]
don't allow zero length unit names

10 years agodon't choke if there are no sockets for a service
Lennart Poettering [Wed, 27 Jan 2010 03:55:42 +0000 (04:55 +0100)]
don't choke if there are no sockets for a service

10 years agodon't choke on invalid dropin file names
Lennart Poettering [Wed, 27 Jan 2010 03:55:19 +0000 (04:55 +0100)]
don't choke on invalid dropin file names

10 years agoexit cleanly on SIGINT
Lennart Poettering [Wed, 27 Jan 2010 03:36:30 +0000 (04:36 +0100)]
exit cleanly on SIGINT

10 years agoyay, we can start socket units
Lennart Poettering [Wed, 27 Jan 2010 03:31:52 +0000 (04:31 +0100)]
yay, we can start socket units

10 years agofix quoted parser
Lennart Poettering [Wed, 27 Jan 2010 01:16:51 +0000 (02:16 +0100)]
fix quoted parser

10 years agoadd some test script output
Lennart Poettering [Wed, 27 Jan 2010 01:16:41 +0000 (02:16 +0100)]
add some test script output

10 years agoimprove dump output for sockets
Lennart Poettering [Wed, 27 Jan 2010 01:16:27 +0000 (02:16 +0100)]
improve dump output for sockets

10 years agofill commands into right fields for sockets
Lennart Poettering [Wed, 27 Jan 2010 01:16:11 +0000 (02:16 +0100)]
fill commands into right fields for sockets

10 years agoproperly terminate strings with NUL byte
Lennart Poettering [Wed, 27 Jan 2010 01:15:54 +0000 (02:15 +0100)]
properly terminate strings with NUL byte

10 years agofully clean up job dependencies on abort, too
Lennart Poettering [Wed, 27 Jan 2010 00:43:18 +0000 (01:43 +0100)]
fully clean up job dependencies on abort, too

10 years agoafter installing the transaction make sure we kill all remains ob the transaction
Lennart Poettering [Wed, 27 Jan 2010 00:39:24 +0000 (01:39 +0100)]
after installing the transaction make sure we kill all remains ob the transaction

10 years agoenable startup job again
Lennart Poettering [Tue, 26 Jan 2010 23:20:21 +0000 (00:20 +0100)]
enable startup job again

10 years agoallow a simple upgrade path for service files by ignoring unknown config items instea...
Lennart Poettering [Tue, 26 Jan 2010 23:19:06 +0000 (00:19 +0100)]
allow a simple upgrade path for service files by ignoring unknown config items instead of failing on them

10 years agoimplement drop-in directories
Lennart Poettering [Tue, 26 Jan 2010 23:15:56 +0000 (00:15 +0100)]
implement drop-in directories

10 years agos/name/unit
Lennart Poettering [Tue, 26 Jan 2010 20:39:06 +0000 (21:39 +0100)]
s/name/unit

10 years agodrop useless newline
Lennart Poettering [Tue, 26 Jan 2010 18:30:51 +0000 (19:30 +0100)]
drop useless newline

10 years agodrop unused name_type_can_xxx() calls
Lennart Poettering [Tue, 26 Jan 2010 18:29:24 +0000 (19:29 +0100)]
drop unused name_type_can_xxx() calls

10 years agoget rid of 'linked' notion for objects
Lennart Poettering [Tue, 26 Jan 2010 18:25:02 +0000 (19:25 +0100)]
get rid of 'linked' notion for objects

10 years agodon't care about syslog when starting up
Lennart Poettering [Tue, 26 Jan 2010 18:08:02 +0000 (19:08 +0100)]
don't care about syslog when starting up

10 years agorename milestone to target
Lennart Poettering [Tue, 26 Jan 2010 18:06:50 +0000 (19:06 +0100)]
rename milestone to target

10 years agovarious cleanups
Lennart Poettering [Tue, 26 Jan 2010 06:02:51 +0000 (07:02 +0100)]
various cleanups

10 years agoadd fixme todo list
Lennart Poettering [Tue, 26 Jan 2010 03:19:18 +0000 (04:19 +0100)]
add fixme todo list

10 years agofirst attempt at proper service/socket logic
Lennart Poettering [Tue, 26 Jan 2010 03:18:44 +0000 (04:18 +0100)]
first attempt at proper service/socket logic

10 years agoadd simple event loop
Lennart Poettering [Sat, 23 Jan 2010 23:39:29 +0000 (00:39 +0100)]
add simple event loop

10 years agoadd simple memory zeroing macros
Lennart Poettering [Sat, 23 Jan 2010 23:38:51 +0000 (00:38 +0100)]
add simple memory zeroing macros

10 years agoimplement proper binding on ports
Lennart Poettering [Sat, 23 Jan 2010 21:56:47 +0000 (22:56 +0100)]
implement proper binding on ports

10 years agorework socket handling
Lennart Poettering [Sat, 23 Jan 2010 02:35:54 +0000 (03:35 +0100)]
rework socket handling

10 years agofirst attempt in implementinging execution logic
Lennart Poettering [Sat, 23 Jan 2010 00:52:57 +0000 (01:52 +0100)]
first attempt in implementinging execution logic

10 years agoonly accept valid job types for specific names
Lennart Poettering [Thu, 21 Jan 2010 02:26:34 +0000 (03:26 +0100)]
only accept valid job types for specific names

10 years agomake sure impact of transactions is minimized
Lennart Poettering [Thu, 21 Jan 2010 01:59:12 +0000 (02:59 +0100)]
make sure impact of transactions is minimized

10 years agofix job merging
Lennart Poettering [Wed, 20 Jan 2010 23:51:37 +0000 (00:51 +0100)]
fix job merging

10 years agoadd test for garbage collector
Lennart Poettering [Wed, 20 Jan 2010 19:51:58 +0000 (20:51 +0100)]
add test for garbage collector

10 years agofix memleak
Lennart Poettering [Wed, 20 Jan 2010 19:47:49 +0000 (20:47 +0100)]
fix memleak

10 years agorefuse to add jobs for names that are not loaded
Lennart Poettering [Wed, 20 Jan 2010 18:20:41 +0000 (19:20 +0100)]
refuse to add jobs for names that are not loaded

10 years agorecursively kill jobs from transaction list
Lennart Poettering [Wed, 20 Jan 2010 18:20:15 +0000 (19:20 +0100)]
recursively kill jobs from transaction list

10 years agomake use of logging API wherever appropriate
Lennart Poettering [Wed, 20 Jan 2010 18:19:53 +0000 (19:19 +0100)]
make use of logging API wherever appropriate

10 years agoadd minimal logging framework
Lennart Poettering [Wed, 20 Jan 2010 18:18:52 +0000 (19:18 +0100)]
add minimal logging framework

10 years agoupdate gitignore
Lennart Poettering [Wed, 20 Jan 2010 17:27:25 +0000 (18:27 +0100)]
update gitignore

10 years agoadd missing test code
Lennart Poettering [Wed, 20 Jan 2010 17:26:29 +0000 (18:26 +0100)]
add missing test code

10 years agostart implementing a test suite for the engine
Lennart Poettering [Wed, 20 Jan 2010 04:03:52 +0000 (05:03 +0100)]
start implementing a test suite for the engine

10 years agomove test files to test1/
Lennart Poettering [Wed, 20 Jan 2010 03:06:35 +0000 (04:06 +0100)]
move test files to test1/

10 years agoextend test a little
Lennart Poettering [Wed, 20 Jan 2010 03:02:39 +0000 (04:02 +0100)]
extend test a little

10 years agoimprove dump output
Lennart Poettering [Wed, 20 Jan 2010 01:35:46 +0000 (02:35 +0100)]
improve dump output

10 years agoimplement transaction engine
Lennart Poettering [Wed, 20 Jan 2010 01:12:51 +0000 (02:12 +0100)]
implement transaction engine

10 years agoadd set_replace()
Lennart Poettering [Wed, 20 Jan 2010 01:12:36 +0000 (02:12 +0100)]
add set_replace()

10 years agoimplement hashmap_replace() and hashmap_remove_value()
Lennart Poettering [Wed, 20 Jan 2010 01:12:12 +0000 (02:12 +0100)]
implement hashmap_replace() and hashmap_remove_value()

10 years agofirst try at implementing job creation
Lennart Poettering [Tue, 19 Jan 2010 03:15:20 +0000 (04:15 +0100)]
first try at implementing job creation

10 years agoparse socket files properly
Lennart Poettering [Tue, 19 Jan 2010 01:56:37 +0000 (02:56 +0100)]
parse socket files properly

10 years agoadd functions for dumping server state
Lennart Poettering [Mon, 18 Jan 2010 23:22:34 +0000 (00:22 +0100)]
add functions for dumping server state

10 years agoadd missing newlines
Lennart Poettering [Mon, 18 Jan 2010 23:22:09 +0000 (00:22 +0100)]
add missing newlines

10 years agofirst try at implementing dependency loader
Lennart Poettering [Mon, 18 Jan 2010 22:50:13 +0000 (23:50 +0100)]
first try at implementing dependency loader

10 years agoimplement hashmap_copy() and hashmap_merge()
Lennart Poettering [Mon, 18 Jan 2010 22:49:49 +0000 (23:49 +0100)]
implement hashmap_copy() and hashmap_merge()

10 years agoload-fragment: add missing .c/h files
Lennart Poettering [Thu, 19 Nov 2009 22:13:20 +0000 (23:13 +0100)]
load-fragment: add missing .c/h files

10 years agomanager: add basic support for loading name fragment files
Lennart Poettering [Thu, 19 Nov 2009 01:52:17 +0000 (02:52 +0100)]
manager: add basic support for loading name fragment files

10 years agoconf-parse: add generic parser for strv
Lennart Poettering [Thu, 19 Nov 2009 01:51:44 +0000 (02:51 +0100)]
conf-parse: add generic parser for strv

10 years agoname: add simple name string validator
Lennart Poettering [Thu, 19 Nov 2009 01:50:52 +0000 (02:50 +0100)]
name: add simple name string validator

10 years agoutil: add split_spaces() call
Lennart Poettering [Thu, 19 Nov 2009 01:50:21 +0000 (02:50 +0100)]
util: add split_spaces() call

10 years agoconf-parser: add ini/.desktop file parser
Lennart Poettering [Wed, 18 Nov 2009 23:48:48 +0000 (00:48 +0100)]
conf-parser: add ini/.desktop file parser

10 years agobuild-sys: add more compiler parameters
Lennart Poettering [Wed, 18 Nov 2009 23:48:23 +0000 (00:48 +0100)]
build-sys: add more compiler parameters

10 years agoutil: add strna() and is_path_absolute()
Lennart Poettering [Wed, 18 Nov 2009 23:47:41 +0000 (00:47 +0100)]
util: add strna() and is_path_absolute()

10 years agoutil: add parsers for boolean and integers
Lennart Poettering [Wed, 18 Nov 2009 23:46:47 +0000 (00:46 +0100)]
util: add parsers for boolean and integers

10 years agoCODING_STYLE: add missing -
Lennart Poettering [Wed, 18 Nov 2009 13:32:23 +0000 (14:32 +0100)]
CODING_STYLE: add missing -

10 years agoinitial commit
Lennart Poettering [Tue, 17 Nov 2009 23:42:52 +0000 (00:42 +0100)]
initial commit