chiark / gitweb /
elogind.git
12 years agostrv: introduce strv_env_merge() to merge environment arrays
Lennart Poettering [Sun, 14 Feb 2010 21:38:30 +0000 (22:38 +0100)]
strv: introduce strv_env_merge() to merge environment arrays

12 years agostrv: make sure empty string lists result in a valid empty string in strv_join()
Lennart Poettering [Sun, 14 Feb 2010 21:38:07 +0000 (22:38 +0100)]
strv: make sure empty string lists result in a valid empty string in strv_join()

12 years agostrv: fix three minor OOM-triggered memory leaks
Lennart Poettering [Sun, 14 Feb 2010 21:37:30 +0000 (22:37 +0100)]
strv: fix three minor OOM-triggered memory leaks

12 years agomount: fix loop exit
Lennart Poettering [Sun, 14 Feb 2010 00:09:22 +0000 (01:09 +0100)]
mount: fix loop exit

12 years agoservice: add SysV init script parser
Lennart Poettering [Sun, 14 Feb 2010 00:09:01 +0000 (01:09 +0100)]
service: add SysV init script parser

12 years agoload-fragment: prefer unit id over alias names when looking for fragments
Lennart Poettering [Sun, 14 Feb 2010 00:08:20 +0000 (01:08 +0100)]
load-fragment: prefer unit id over alias names when looking for fragments

12 years agoutil: fix FOREACH_WORD macro definitions
Lennart Poettering [Sun, 14 Feb 2010 00:07:36 +0000 (01:07 +0100)]
util: fix FOREACH_WORD macro definitions

12 years agoutil: unify code to check whether certain file names should be ignored when listing...
Lennart Poettering [Sun, 14 Feb 2010 00:07:01 +0000 (01:07 +0100)]
util: unify code to check whether certain file names should be ignored when listing files

12 years agoexecute: simplify appending to execution list
Lennart Poettering [Sun, 14 Feb 2010 00:05:55 +0000 (01:05 +0100)]
execute: simplify appending to execution list

12 years agodevice: fall back to device node path as description instead of kernel name
Lennart Poettering [Sun, 14 Feb 2010 00:03:24 +0000 (01:03 +0100)]
device: fall back to device node path as description instead of kernel name

12 years agomount,device: drop prefix from unit names to make them easily decodable
Lennart Poettering [Sun, 14 Feb 2010 00:02:46 +0000 (01:02 +0100)]
mount,device: drop prefix from unit names to make them easily decodable

12 years agounit: rename load_path to fragment_path to make clear what kind of configuration...
Lennart Poettering [Sun, 14 Feb 2010 00:01:10 +0000 (01:01 +0100)]
unit: rename load_path to fragment_path to make clear what kind of configuration file this is

12 years agogit: ignore Makefile
Lennart Poettering [Sat, 13 Feb 2010 00:17:29 +0000 (01:17 +0100)]
git: ignore Makefile

12 years agomanager: run ctrl-alt-del/kbrequest targets on SIGINT/SIGWINCH when run in init mode
Lennart Poettering [Sat, 13 Feb 2010 00:17:08 +0000 (01:17 +0100)]
manager: run ctrl-alt-del/kbrequest targets on SIGINT/SIGWINCH when run in init mode

12 years agoconfig: implement search path logic
Lennart Poettering [Sat, 13 Feb 2010 00:07:02 +0000 (01:07 +0100)]
config: implement search path logic

12 years agoutil: add various utility calls
Lennart Poettering [Sat, 13 Feb 2010 00:05:12 +0000 (01:05 +0100)]
util: add various utility calls

12 years agostrv: add various strv calls
Lennart Poettering [Sat, 13 Feb 2010 00:04:44 +0000 (01:04 +0100)]
strv: add various strv calls

12 years agomanager: identify the init/system/user mode we are running it and pick D-Bus bus...
Lennart Poettering [Fri, 12 Feb 2010 20:57:39 +0000 (21:57 +0100)]
manager: identify the init/system/user mode we are running it and pick D-Bus bus accordingly

12 years agounit: if start is called for a non-startable service and it is around, return EALREAD...
Lennart Poettering [Fri, 12 Feb 2010 01:40:28 +0000 (02:40 +0100)]
unit: if start is called for a non-startable service and it is around, return EALREADY, don't refuse

12 years agomanager: properly return newly created job in transaction_add_job_and_dependencies()
Lennart Poettering [Fri, 12 Feb 2010 01:21:08 +0000 (02:21 +0100)]
manager: properly return newly created job in transaction_add_job_and_dependencies()

12 years agofixme: update fixme a little
Lennart Poettering [Fri, 12 Feb 2010 01:02:33 +0000 (02:02 +0100)]
fixme: update fixme a little

12 years agosocket: allow configuration of socket/directory mode
Lennart Poettering [Fri, 12 Feb 2010 01:02:14 +0000 (02:02 +0100)]
socket: allow configuration of socket/directory mode

12 years agoutil: introduce mkdir_parents() that creates parent paths of sockets and suchlike
Lennart Poettering [Fri, 12 Feb 2010 01:01:14 +0000 (02:01 +0100)]
util: introduce mkdir_parents() that creates parent paths of sockets and suchlike

12 years agoutil: add api for iterating through components of a path string
Lennart Poettering [Fri, 12 Feb 2010 01:00:49 +0000 (02:00 +0100)]
util: add api for iterating through components of a path string

12 years agoexecute: allow configuration of O_NONBLOCK flag from .service files
Lennart Poettering [Fri, 12 Feb 2010 01:00:18 +0000 (02:00 +0100)]
execute: allow configuration of O_NONBLOCK flag from .service files

12 years agoupdate fixme
Lennart Poettering [Fri, 5 Feb 2010 00:11:01 +0000 (01:11 +0100)]
update fixme

12 years agomanager: properly read timerfd elapse counter
Lennart Poettering [Thu, 4 Feb 2010 23:40:39 +0000 (00:40 +0100)]
manager: properly read timerfd elapse counter

12 years agodbus: send out signals when units/jobs come, go and change
Lennart Poettering [Thu, 4 Feb 2010 23:38:41 +0000 (00:38 +0100)]
dbus: send out signals when units/jobs come, go and change

12 years agosystemctl: suppress a gcc sign assignemnt warning
Lennart Poettering [Wed, 3 Feb 2010 16:24:30 +0000 (17:24 +0100)]
systemctl: suppress a gcc sign assignemnt warning

12 years agoexecute: drop now unnecessary GCC pragma again
Lennart Poettering [Wed, 3 Feb 2010 16:23:34 +0000 (17:23 +0100)]
execute: drop now unnecessary GCC pragma again

12 years agobuild: drop manual config.h inclusion, since we do this via gcc's -include switch...
Lennart Poettering [Wed, 3 Feb 2010 13:28:20 +0000 (14:28 +0100)]
build: drop manual config.h inclusion, since we do this via gcc's -include switch anyway

12 years agosystemadm: fix signed comparison issue
Lennart Poettering [Wed, 3 Feb 2010 13:26:55 +0000 (14:26 +0100)]
systemadm: fix signed comparison issue

12 years agosocket: fix const issue
Lennart Poettering [Wed, 3 Feb 2010 13:25:50 +0000 (14:25 +0100)]
socket: fix const issue

12 years agomacro: drop double __ prefix to make sure we don't collide with gcc/glibc definitions
Lennart Poettering [Wed, 3 Feb 2010 13:25:37 +0000 (14:25 +0100)]
macro: drop double __ prefix to make sure we don't collide with gcc/glibc definitions

12 years agobuild: basic autoconfization
Lennart Poettering [Wed, 3 Feb 2010 13:21:48 +0000 (14:21 +0100)]
build: basic autoconfization

12 years agolicense: add GPLv2+ license blurbs everwhere
Lennart Poettering [Wed, 3 Feb 2010 12:03:47 +0000 (13:03 +0100)]
license: add GPLv2+ license blurbs everwhere

12 years agoMerge remote branch 'kay/master'
Lennart Poettering [Wed, 3 Feb 2010 11:40:29 +0000 (12:40 +0100)]
Merge remote branch 'kay/master'

12 years agodbus: properly encode job type
Lennart Poettering [Wed, 3 Feb 2010 11:39:44 +0000 (12:39 +0100)]
dbus: properly encode job type

12 years agosystemadm: implement basic control UI systemadm
Lennart Poettering [Wed, 3 Feb 2010 11:39:12 +0000 (12:39 +0100)]
systemadm: implement basic control UI systemadm

12 years agodbus: implement start/stop/restart/reload/cancel D-Bus calls
Lennart Poettering [Wed, 3 Feb 2010 11:37:42 +0000 (12:37 +0100)]
dbus: implement start/stop/restart/reload/cancel D-Bus calls

12 years agosystemctl: minor additions
Lennart Poettering [Tue, 2 Feb 2010 22:32:03 +0000 (23:32 +0100)]
systemctl: minor additions

12 years agoclient: add a very basic Vala command line tool
Lennart Poettering [Tue, 2 Feb 2010 21:22:51 +0000 (22:22 +0100)]
client: add a very basic Vala command line tool

12 years agouse linux/sched.h instead of sched.h for older glibc
Kay Sievers [Tue, 2 Feb 2010 12:56:37 +0000 (13:56 +0100)]
use linux/sched.h instead of sched.h for older glibc

12 years agobuild: make gcc shut up
Lennart Poettering [Tue, 2 Feb 2010 12:23:15 +0000 (13:23 +0100)]
build: make gcc shut up

12 years agoMerge remote branch 'kay/master'
Lennart Poettering [Tue, 2 Feb 2010 11:51:04 +0000 (12:51 +0100)]
Merge remote branch 'kay/master'

12 years agoexecute: allow configuration of SCHED_RESET_ON_FORK
Lennart Poettering [Tue, 2 Feb 2010 11:50:04 +0000 (12:50 +0100)]
execute: allow configuration of SCHED_RESET_ON_FORK

12 years agodbus: hand out proper dbus object paths for jobs
Lennart Poettering [Tue, 2 Feb 2010 11:42:34 +0000 (12:42 +0100)]
dbus: hand out proper dbus object paths for jobs

12 years agodbus: install some properties on the job objects
Lennart Poettering [Tue, 2 Feb 2010 11:42:08 +0000 (12:42 +0100)]
dbus: install some properties on the job objects

12 years agoexpose more properties
Lennart Poettering [Tue, 2 Feb 2010 11:22:59 +0000 (12:22 +0100)]
expose more properties

12 years agoinclude linux/sched.h
Kay Sievers [Tue, 2 Feb 2010 09:30:04 +0000 (10:30 +0100)]
include linux/sched.h

12 years agosynchronize logger socket with what we use in the code
Lennart Poettering [Mon, 1 Feb 2010 11:45:03 +0000 (12:45 +0100)]
synchronize logger socket with what we use in the code

12 years agofixes to the dbus code to make GetAll() in the properties iface work
Lennart Poettering [Mon, 1 Feb 2010 11:44:35 +0000 (12:44 +0100)]
fixes to the dbus code to make GetAll() in the properties iface work

12 years agoadd basic (and not very useful) D-Bus support
Lennart Poettering [Mon, 1 Feb 2010 02:33:24 +0000 (03:33 +0100)]
add basic (and not very useful) D-Bus support

12 years agoadd missing header files
Lennart Poettering [Sat, 30 Jan 2010 01:48:05 +0000 (02:48 +0100)]
add missing header files

12 years agoimplement service type 'finish'
Lennart Poettering [Sat, 30 Jan 2010 01:07:35 +0000 (02:07 +0100)]
implement service type 'finish'

12 years agogreatly extend what we enforce as process properties
Lennart Poettering [Sat, 30 Jan 2010 00:55:42 +0000 (01:55 +0100)]
greatly extend what we enforce as process properties

12 years agoadd first_word() call
Lennart Poettering [Sat, 30 Jan 2010 00:52:44 +0000 (01:52 +0100)]
add first_word() call

12 years agoadd generic string lookup macros
Lennart Poettering [Sat, 30 Jan 2010 00:52:32 +0000 (01:52 +0100)]
add generic string lookup macros

12 years agoimplement recursive_stop/stop_when_unneeded unit flags
Lennart Poettering [Fri, 29 Jan 2010 19:47:09 +0000 (20:47 +0100)]
implement recursive_stop/stop_when_unneeded unit flags

12 years agosupport chrooting/setting of ioprio when spawning
Lennart Poettering [Fri, 29 Jan 2010 19:46:22 +0000 (20:46 +0100)]
support chrooting/setting of ioprio when spawning

12 years agomonitor udev for device changes
Lennart Poettering [Fri, 29 Jan 2010 05:45:59 +0000 (06:45 +0100)]
monitor udev for device changes

12 years agowatch mount status file
Lennart Poettering [Fri, 29 Jan 2010 05:04:08 +0000 (06:04 +0100)]
watch mount status file

12 years agoupdate fixme
Lennart Poettering [Fri, 29 Jan 2010 03:45:23 +0000 (04:45 +0100)]
update fixme

12 years agoratelimit start requests
Lennart Poettering [Fri, 29 Jan 2010 03:42:57 +0000 (04:42 +0100)]
ratelimit start requests

12 years agofix impact minimizing code
Lennart Poettering [Fri, 29 Jan 2010 03:26:30 +0000 (04:26 +0100)]
fix impact minimizing code

12 years agofix ordering cycle detection
Lennart Poettering [Fri, 29 Jan 2010 03:11:36 +0000 (04:11 +0100)]
fix ordering cycle detection

12 years agodon't include non-existing header file
Lennart Poettering [Fri, 29 Jan 2010 03:10:55 +0000 (04:10 +0100)]
don't include non-existing header file

12 years agoimplement coldpluggin
Lennart Poettering [Fri, 29 Jan 2010 02:18:09 +0000 (03:18 +0100)]
implement coldpluggin

12 years agoadd mount enumerator
Lennart Poettering [Fri, 29 Jan 2010 01:07:41 +0000 (02:07 +0100)]
add mount enumerator

12 years agoadd api for choose the id name for a service
Lennart Poettering [Fri, 29 Jan 2010 00:49:34 +0000 (01:49 +0100)]
add api for choose the id name for a service

12 years agoadd various escaping/path handling utility functions
Lennart Poettering [Fri, 29 Jan 2010 00:48:57 +0000 (01:48 +0100)]
add various escaping/path handling utility functions

12 years agoadd basic udev device enumeration module
Lennart Poettering [Thu, 28 Jan 2010 05:46:33 +0000 (06:46 +0100)]
add basic udev device enumeration module

12 years agoadd new manager initializer callbacks to per-unit type vtable
Lennart Poettering [Thu, 28 Jan 2010 05:45:44 +0000 (06:45 +0100)]
add new manager initializer callbacks to per-unit type vtable

12 years agoadd new hexchar() call
Lennart Poettering [Thu, 28 Jan 2010 05:45:04 +0000 (06:45 +0100)]
add new hexchar() call

12 years agoadd unit_name_escape_path() call
Lennart Poettering [Thu, 28 Jan 2010 05:44:30 +0000 (06:44 +0100)]
add unit_name_escape_path() call

12 years agorelax unit name rules a bit
Lennart Poettering [Thu, 28 Jan 2010 05:44:13 +0000 (06:44 +0100)]
relax unit name rules a bit

12 years agomake use of unit_add_dependency_by_name() where applicable
Lennart Poettering [Thu, 28 Jan 2010 05:43:49 +0000 (06:43 +0100)]
make use of unit_add_dependency_by_name() where applicable

12 years agoadd new unit_add_dependency_by_name() call
Lennart Poettering [Thu, 28 Jan 2010 05:43:23 +0000 (06:43 +0100)]
add new unit_add_dependency_by_name() call

12 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.

12 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

12 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

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

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

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

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

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

12 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

12 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

12 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

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

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

12 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

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

12 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

12 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.

12 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

12 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

12 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

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

12 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()