chiark / gitweb /
elogind.git
13 years agoman: document sd-daemon.[ch]
Lennart Poettering [Tue, 22 Jun 2010 22:31:54 +0000 (00:31 +0200)]
man: document sd-daemon.[ch]

13 years agobuild-sys: fix directory creation of a few dirs
Lennart Poettering [Tue, 22 Jun 2010 03:43:07 +0000 (05:43 +0200)]
build-sys: fix directory creation of a few dirs

13 years agobuild-sys: install more docs
Lennart Poettering [Tue, 22 Jun 2010 03:39:35 +0000 (05:39 +0200)]
build-sys: install more docs

13 years agosystemctl: fix systemctl help text
Lennart Poettering [Tue, 22 Jun 2010 02:10:06 +0000 (04:10 +0200)]
systemctl: fix systemctl help text

13 years agoservice: rework logic when we consider a service running
Lennart Poettering [Tue, 22 Jun 2010 02:09:50 +0000 (04:09 +0200)]
service: rework logic when we consider a service running

13 years agoconf-parser: check all parse callbacks
Lennart Poettering [Tue, 22 Jun 2010 02:09:26 +0000 (04:09 +0200)]
conf-parser: check all parse callbacks

13 years agoman: add initial version of daemon(7)
Lennart Poettering [Tue, 22 Jun 2010 00:42:10 +0000 (02:42 +0200)]
man: add initial version of daemon(7)

13 years agobuild-sys: fix make distcheck
Lennart Poettering [Mon, 21 Jun 2010 22:05:37 +0000 (00:05 +0200)]
build-sys: fix make distcheck

13 years agopam: implement systemd PAM module and generelize cgroup API for that a bit
Lennart Poettering [Mon, 21 Jun 2010 21:27:18 +0000 (23:27 +0200)]
pam: implement systemd PAM module and generelize cgroup API for that a bit

13 years agonotify: add systemd-notify --booted
Lennart Poettering [Mon, 21 Jun 2010 17:20:21 +0000 (19:20 +0200)]
notify: add systemd-notify --booted

13 years agosd-daemon: introduce sd_booted() and set ELF visibility to hidden for all symbols
Lennart Poettering [Mon, 21 Jun 2010 17:17:47 +0000 (19:17 +0200)]
sd-daemon: introduce sd_booted() and set ELF visibility to hidden for all symbols

13 years agosystemctl: make upstart glue code talk to upstart via private abstarct bus and verify...
Lennart Poettering [Sat, 19 Jun 2010 14:58:59 +0000 (16:58 +0200)]
systemctl: make upstart glue code talk to upstart via private abstarct bus and verify its UID owner

13 years agoservice: require KillMode=control-group when PAM is enabled
Lennart Poettering [Sat, 19 Jun 2010 14:57:54 +0000 (16:57 +0200)]
service: require KillMode=control-group when PAM is enabled

13 years agounit: make unit casts typesafe
Lennart Poettering [Sat, 19 Jun 2010 14:57:29 +0000 (16:57 +0200)]
unit: make unit casts typesafe

13 years agoinitctl: add some checks before starting up
Lennart Poettering [Sat, 19 Jun 2010 14:56:57 +0000 (16:56 +0200)]
initctl: add some checks before starting up

13 years agoinitctl: talk to systemd via the abstract private bus
Lennart Poettering [Sat, 19 Jun 2010 14:56:26 +0000 (16:56 +0200)]
initctl: talk to systemd via the abstract private bus

13 years agounit: get rid of various unnecessary casts
Lennart Poettering [Sat, 19 Jun 2010 14:55:49 +0000 (16:55 +0200)]
unit: get rid of various unnecessary casts

13 years agodon't use 'long long' unless we have a really good reason to
Lennart Poettering [Sat, 19 Jun 2010 02:35:52 +0000 (04:35 +0200)]
don't use 'long long' unless we have a really good reason to

13 years agosocket: enforce limit on number of concurrent connections
Lennart Poettering [Sat, 19 Jun 2010 02:25:28 +0000 (04:25 +0200)]
socket: enforce limit on number of concurrent connections

13 years agomanager: get rid of destinction between running_as=system and running_as=init, as...
Lennart Poettering [Sat, 19 Jun 2010 01:15:59 +0000 (03:15 +0200)]
manager: get rid of destinction between running_as=system and running_as=init, as there is little value in it and we cannot really test this

13 years agodbus: to make sure that systemd stays controllable during early bootup, register...
Lennart Poettering [Sat, 19 Jun 2010 01:04:04 +0000 (03:04 +0200)]
dbus: to make sure that systemd stays controllable during early bootup, register our services on our own micro usb server in addition to the bus

13 years agoservice: honour empty cgroup even in ValidNoProcess mode
Lennart Poettering [Fri, 18 Jun 2010 23:06:09 +0000 (01:06 +0200)]
service: honour empty cgroup even in ValidNoProcess mode

13 years agoutil: properly divide in 64bit in format_timestamp()
Lennart Poettering [Fri, 18 Jun 2010 22:14:12 +0000 (00:14 +0200)]
util: properly divide in 64bit in format_timestamp()

13 years agoexecute: handle format strings in User= and other directives
Lennart Poettering [Fri, 18 Jun 2010 21:25:19 +0000 (23:25 +0200)]
execute: handle format strings in User= and other directives

13 years agonotify: properly NUL-terminate received messages
Lennart Poettering [Fri, 18 Jun 2010 21:13:40 +0000 (23:13 +0200)]
notify: properly NUL-terminate received messages

13 years agomain: don't segfault when --log-color is passed without parameter
Lennart Poettering [Fri, 18 Jun 2010 21:13:15 +0000 (23:13 +0200)]
main: don't segfault when --log-color is passed without parameter

13 years agoservice: add minimal access control logic for notifcation socket
Lennart Poettering [Fri, 18 Jun 2010 21:12:48 +0000 (23:12 +0200)]
service: add minimal access control logic for notifcation socket

13 years agoservice: when we supervise a process, ensure it is our child
Lennart Poettering [Fri, 18 Jun 2010 20:05:29 +0000 (22:05 +0200)]
service: when we supervise a process, ensure it is our child

13 years agounit: add [Install] section to various service files
Lennart Poettering [Fri, 18 Jun 2010 19:56:21 +0000 (21:56 +0200)]
unit: add [Install] section to various service files

13 years agoinstall: make systemd-install useful for installation of template instances
Lennart Poettering [Fri, 18 Jun 2010 19:33:15 +0000 (21:33 +0200)]
install: make systemd-install useful for installation of template instances

13 years agosystemctl: don't fail if first argument to shutdown isn't 'now' just warn loudly.
Lennart Poettering [Fri, 18 Jun 2010 18:26:05 +0000 (20:26 +0200)]
systemctl: don't fail if first argument to shutdown isn't 'now' just warn loudly.

13 years agosystemctl: when called as shutdown, fail if first argument isn't 'now'
Lennart Poettering [Fri, 18 Jun 2010 18:23:39 +0000 (20:23 +0200)]
systemctl: when called as shutdown, fail if first argument isn't 'now'

13 years agosystemctl: when called as shutdown, properly handle user specified wall message
Lennart Poettering [Fri, 18 Jun 2010 18:23:17 +0000 (20:23 +0200)]
systemctl: when called as shutdown, properly handle user specified wall message

13 years agocgroup: make sure the user cannot accidentaly unmount our cgroup filesystem
Lennart Poettering [Fri, 18 Jun 2010 18:15:34 +0000 (20:15 +0200)]
cgroup: make sure the user cannot accidentaly unmount our cgroup filesystem

13 years agoinit: call telinit in case we are run as init and not pid1
Lennart Poettering [Fri, 18 Jun 2010 18:01:01 +0000 (20:01 +0200)]
init: call telinit in case we are run as init and not pid1

13 years agoutmp: properly initialize local variables
Lennart Poettering [Fri, 18 Jun 2010 17:18:03 +0000 (19:18 +0200)]
utmp: properly initialize local variables

13 years agosystemctl: add compat support for shutting down the system via upstart
Lennart Poettering [Fri, 18 Jun 2010 17:16:14 +0000 (19:16 +0200)]
systemctl: add compat support for shutting down the system via upstart

13 years agoexecute: add EnvironmentFile= option
Lennart Poettering [Fri, 18 Jun 2010 04:06:24 +0000 (06:06 +0200)]
execute: add EnvironmentFile= option

13 years agosystemctl: add /dev/initctl fallback
Lennart Poettering [Fri, 18 Jun 2010 02:44:53 +0000 (04:44 +0200)]
systemctl: add /dev/initctl fallback

13 years agogit: ignore libtool m4 files
Lennart Poettering [Fri, 18 Jun 2010 02:23:33 +0000 (04:23 +0200)]
git: ignore libtool m4 files

13 years agosystemctl: add verbs for special units
Lennart Poettering [Fri, 18 Jun 2010 02:22:59 +0000 (04:22 +0200)]
systemctl: add verbs for special units

13 years agosystemctl: warn users via wall that the system goes down
Lennart Poettering [Fri, 18 Jun 2010 00:28:35 +0000 (02:28 +0200)]
systemctl: warn users via wall that the system goes down

13 years agobuild-sys: speed up build via convenience library
Lennart Poettering [Thu, 17 Jun 2010 22:44:57 +0000 (00:44 +0200)]
build-sys: speed up build via convenience library

13 years agogcc: disable warn_unused_result attribute warnings
Lennart Poettering [Thu, 17 Jun 2010 21:47:59 +0000 (23:47 +0200)]
gcc: disable warn_unused_result attribute warnings

13 years agofix --nonet calls to xsltproc
Pavol Rusnak [Mon, 14 Jun 2010 07:41:59 +0000 (09:41 +0200)]
fix --nonet calls to xsltproc

Also, fix spelling of openSUSE

13 years agobuild-sys: pass -fno-strict-aliasing by default
Lennart Poettering [Thu, 17 Jun 2010 21:41:21 +0000 (23:41 +0200)]
build-sys: pass -fno-strict-aliasing by default

13 years agodoc: install sd-daemon.[ch] as docs
Lennart Poettering [Thu, 17 Jun 2010 21:33:21 +0000 (23:33 +0200)]
doc: install sd-daemon.[ch] as docs

13 years agotcpwrap: add missing header files for suse
Lennart Poettering [Thu, 17 Jun 2010 21:31:36 +0000 (23:31 +0200)]
tcpwrap: add missing header files for suse

13 years agosd-daemon: add gcc format string attribute to sd_notifyf
Lennart Poettering [Thu, 17 Jun 2010 21:26:20 +0000 (23:26 +0200)]
sd-daemon: add gcc format string attribute to sd_notifyf

13 years agomanager: expose a few special units via SIGRTMIN+x signals
Lennart Poettering [Thu, 17 Jun 2010 21:22:56 +0000 (23:22 +0200)]
manager: expose a few special units via SIGRTMIN+x signals

13 years agosystemctl: provide compatibility implementations for various sysv utilities
Lennart Poettering [Thu, 17 Jun 2010 20:57:28 +0000 (22:57 +0200)]
systemctl: provide compatibility implementations for various sysv utilities

13 years agoservice: rework PID parsing logic everywhere
Lennart Poettering [Thu, 17 Jun 2010 20:55:53 +0000 (22:55 +0200)]
service: rework PID parsing logic everywhere

13 years agosd-daemon: extend return value logic of sd_notify()
Lennart Poettering [Thu, 17 Jun 2010 20:53:55 +0000 (22:53 +0200)]
sd-daemon: extend return value logic of sd_notify()

13 years agolog: make color/location logging optional
Lennart Poettering [Thu, 17 Jun 2010 20:52:55 +0000 (22:52 +0200)]
log: make color/location logging optional

13 years agoutil: implement parse_pid() function
Lennart Poettering [Thu, 17 Jun 2010 20:50:35 +0000 (22:50 +0200)]
util: implement parse_pid() function

13 years agonotify: add systemd-notify command line tool
Lennart Poettering [Thu, 17 Jun 2010 20:50:06 +0000 (22:50 +0200)]
notify: add systemd-notify command line tool

13 years agounits: make Arch boot
Tom Gundersen [Wed, 16 Jun 2010 11:50:55 +0000 (13:50 +0200)]
units: make Arch boot

This patch gives minimal Arch support (enough to boot).

We still need to parse the services to start from /etc/rc.conf before systemd can be a drop-in replacement on Arch.

13 years agobuild-sys: fix configure output without libwrap
Lennart Poettering [Wed, 16 Jun 2010 21:11:48 +0000 (23:11 +0200)]
build-sys: fix configure output without libwrap

13 years agoservice: optionally call into PAM when dropping priviliges
Lennart Poettering [Wed, 16 Jun 2010 19:54:17 +0000 (21:54 +0200)]
service: optionally call into PAM when dropping priviliges

13 years agoexecute: setup namespace after doing NSS calls
Lennart Poettering [Wed, 16 Jun 2010 14:39:28 +0000 (16:39 +0200)]
execute: setup namespace after doing NSS calls

13 years agotcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in...
Lennart Poettering [Wed, 16 Jun 2010 14:25:42 +0000 (16:25 +0200)]
tcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in main systemd process

13 years agosocket: add optional libwrap support
Lennart Poettering [Wed, 16 Jun 2010 13:41:29 +0000 (15:41 +0200)]
socket: add optional libwrap support

13 years agotypo: the correct spelling is maintenance not maintainance
Lennart Poettering [Wed, 16 Jun 2010 12:01:55 +0000 (14:01 +0200)]
typo: the correct spelling is maintenance not maintainance

13 years agonotify: add minimal readiness/status protocol for spawned daemons
Lennart Poettering [Wed, 16 Jun 2010 03:10:31 +0000 (05:10 +0200)]
notify: add minimal readiness/status protocol for spawned daemons

13 years agokmod: autoload unix.ko if it isn't around
Lennart Poettering [Wed, 16 Jun 2010 03:07:57 +0000 (05:07 +0200)]
kmod: autoload unix.ko if it isn't around

13 years agocgroup: drop inherit flag, this mus be fixed in the kernel
Lennart Poettering [Wed, 16 Jun 2010 03:07:30 +0000 (05:07 +0200)]
cgroup: drop inherit flag, this mus be fixed in the kernel

13 years agomain: fix help regarding --unit/systemd.unit=
Lennart Poettering [Wed, 16 Jun 2010 03:06:55 +0000 (05:06 +0200)]
main: fix help regarding --unit/systemd.unit=

13 years agostrv: introduce strv_find_prefix()
Lennart Poettering [Wed, 16 Jun 2010 03:06:02 +0000 (05:06 +0200)]
strv: introduce strv_find_prefix()

13 years agoutil: introduce random_ull()
Lennart Poettering [Wed, 16 Jun 2010 03:05:36 +0000 (05:05 +0200)]
util: introduce random_ull()

13 years agoinstall: add systemd-install tool for managing alias/wants symlinks
Lennart Poettering [Tue, 15 Jun 2010 23:58:50 +0000 (01:58 +0200)]
install: add systemd-install tool for managing alias/wants symlinks

13 years agoutil: introduce readlink_and_make_absolute()
Lennart Poettering [Tue, 15 Jun 2010 23:56:00 +0000 (01:56 +0200)]
util: introduce readlink_and_make_absolute()

13 years agosystemctl: make sure getopt doesn't segfault
Lennart Poettering [Tue, 15 Jun 2010 17:47:38 +0000 (19:47 +0200)]
systemctl: make sure getopt doesn't segfault

13 years agoservice: never supervise ourselves
Lennart Poettering [Tue, 15 Jun 2010 17:47:13 +0000 (19:47 +0200)]
service: never supervise ourselves

13 years agomanager: split off path lookup logic into own .c file
Lennart Poettering [Tue, 15 Jun 2010 12:45:15 +0000 (14:45 +0200)]
manager: split off path lookup logic into own .c file

13 years agomanager: recheck unit paths on daemon reload
Lennart Poettering [Tue, 15 Jun 2010 12:32:26 +0000 (14:32 +0200)]
manager: recheck unit paths on daemon reload

13 years agosystemctl: fix race in --block
Lennart Poettering [Tue, 15 Jun 2010 02:24:30 +0000 (04:24 +0200)]
systemctl: fix race in --block

13 years agodbus: fix match
Lennart Poettering [Tue, 15 Jun 2010 02:24:16 +0000 (04:24 +0200)]
dbus: fix match

13 years agosystemctl: reimplement systemctl in pure C without Vala/GObject
Lennart Poettering [Tue, 15 Jun 2010 00:51:55 +0000 (02:51 +0200)]
systemctl: reimplement systemctl in pure C without Vala/GObject

13 years agoinitctl: make sure we don't exit due to dbus disconnect
Lennart Poettering [Tue, 15 Jun 2010 00:46:26 +0000 (02:46 +0200)]
initctl: make sure we don't exit due to dbus disconnect

13 years agodbus: tighten match rules a bit
Lennart Poettering [Tue, 15 Jun 2010 00:46:07 +0000 (02:46 +0200)]
dbus: tighten match rules a bit

13 years agoset: introduce set_free_free()
Lennart Poettering [Tue, 15 Jun 2010 00:45:26 +0000 (02:45 +0200)]
set: introduce set_free_free()

13 years agolog: don't open log targets too early
Lennart Poettering [Fri, 11 Jun 2010 10:31:50 +0000 (12:31 +0200)]
log: don't open log targets too early

13 years agoreword a few log messages
Lennart Poettering [Fri, 11 Jun 2010 09:39:59 +0000 (11:39 +0200)]
reword a few log messages

13 years agomain: rename systemd.default= to systemd.unit=
Lennart Poettering [Wed, 9 Jun 2010 13:38:46 +0000 (15:38 +0200)]
main: rename systemd.default= to systemd.unit=

13 years agolog: add null log target
Lennart Poettering [Wed, 9 Jun 2010 13:37:37 +0000 (15:37 +0200)]
log: add null log target

13 years agobuild-sys: enable bz2 tarballs
Lennart Poettering [Wed, 9 Jun 2010 13:37:05 +0000 (15:37 +0200)]
build-sys: enable bz2 tarballs

13 years agobuild-sys: make make distcheck work again
Lennart Poettering [Mon, 7 Jun 2010 17:40:25 +0000 (19:40 +0200)]
build-sys: make make distcheck work again

13 years agodbus: add missing bus activation file
Lennart Poettering [Mon, 7 Jun 2010 02:20:50 +0000 (04:20 +0200)]
dbus: add missing bus activation file

13 years agodbus: allow systemd to receive activation requests
Lennart Poettering [Mon, 7 Jun 2010 02:15:37 +0000 (04:15 +0200)]
dbus: allow systemd to receive activation requests

13 years agodbus: install bus activation file
Lennart Poettering [Mon, 7 Jun 2010 02:14:39 +0000 (04:14 +0200)]
dbus: install bus activation file

13 years agounits: shut down sysinit service on shutdown
Lennart Poettering [Mon, 7 Jun 2010 00:42:58 +0000 (02:42 +0200)]
units: shut down sysinit service on shutdown

13 years agoservice: honour suse style Kxx links in boot.d/ directory
Lennart Poettering [Mon, 7 Jun 2010 00:42:01 +0000 (02:42 +0200)]
service: honour suse style Kxx links in boot.d/ directory

13 years agounit: bump up default timeout to 60s
Lennart Poettering [Sat, 5 Jun 2010 00:16:42 +0000 (02:16 +0200)]
unit: bump up default timeout to 60s

13 years agounit: when destructing units make sure we don't readd the unit to the gc queue after...
Lennart Poettering [Sat, 5 Jun 2010 00:16:20 +0000 (02:16 +0200)]
unit: when destructing units make sure we don't readd the unit to the gc queue after we already removed it there

13 years agosocket: verify socket type properly when desrializing
Lennart Poettering [Fri, 4 Jun 2010 22:52:30 +0000 (00:52 +0200)]
socket: verify socket type properly when desrializing

13 years agodbus: be a bit more verbose for bus activation
Lennart Poettering [Fri, 4 Jun 2010 20:35:31 +0000 (22:35 +0200)]
dbus: be a bit more verbose for bus activation

13 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/systemd
Lennart Poettering [Fri, 4 Jun 2010 20:34:07 +0000 (22:34 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/systemd

13 years agounit: avoid assert on daemon reload
Lennart Poettering [Fri, 4 Jun 2010 20:31:33 +0000 (22:31 +0200)]
unit: avoid assert on daemon reload

13 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/systemd
Lennart Poettering [Fri, 4 Jun 2010 20:05:59 +0000 (22:05 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/systemd

13 years agodbus: there might be names already registered before we can connect, make sure to...
Lennart Poettering [Fri, 4 Jun 2010 20:03:22 +0000 (22:03 +0200)]
dbus: there might be names already registered before we can connect, make sure to enumerate them when checking whether a service is already started