Commit Graph

719 Commits

Author SHA1 Message Date
Lennart Poettering
8c40acf7cb notify: properly NUL-terminate received messages 2010-06-18 23:13:40 +02:00
Lennart Poettering
d0b170c813 main: don't segfault when --log-color is passed without parameter 2010-06-18 23:13:15 +02:00
Lennart Poettering
c952c6ece2 service: add minimal access control logic for notifcation socket 2010-06-18 23:12:48 +02:00
Lennart Poettering
e55224ca65 service: when we supervise a process, ensure it is our child 2010-06-18 22:05:29 +02:00
Lennart Poettering
3d88bf660d unit: add [Install] section to various service files 2010-06-18 21:56:21 +02:00
Lennart Poettering
c32dd69b46 install: make systemd-install useful for installation of template instances 2010-06-18 21:33:15 +02:00
Lennart Poettering
4545812fbe systemctl: don't fail if first argument to shutdown isn't 'now' just warn loudly. 2010-06-18 20:26:05 +02:00
Lennart Poettering
442b90946a systemctl: when called as shutdown, fail if first argument isn't 'now' 2010-06-18 20:23:39 +02:00
Lennart Poettering
e4a9373fb3 systemctl: when called as shutdown, properly handle user specified wall message 2010-06-18 20:23:17 +02:00
Lennart Poettering
33be102a21 cgroup: make sure the user cannot accidentaly unmount our cgroup filesystem 2010-06-18 20:15:34 +02:00
Lennart Poettering
2cb1a60d14 init: call telinit in case we are run as init and not pid1 2010-06-18 20:01:01 +02:00
Lennart Poettering
629c210d3f utmp: properly initialize local variables 2010-06-18 19:18:03 +02:00
Lennart Poettering
d55ae9e6d7 systemctl: add compat support for shutting down the system via upstart 2010-06-18 19:16:14 +02:00
Lennart Poettering
ddb26e1818 execute: add EnvironmentFile= option 2010-06-18 06:06:24 +02:00
Lennart Poettering
eb22ac37f3 systemctl: add /dev/initctl fallback 2010-06-18 04:44:53 +02:00
Lennart Poettering
55293c152a git: ignore libtool m4 files 2010-06-18 04:23:33 +02:00
Lennart Poettering
514f4ef52f systemctl: add verbs for special units 2010-06-18 04:22:59 +02:00
Lennart Poettering
ef2f1067d0 systemctl: warn users via wall that the system goes down 2010-06-18 02:28:35 +02:00
Lennart Poettering
139be57d94 build-sys: speed up build via convenience library 2010-06-18 00:44:57 +02:00
Lennart Poettering
8745297f98 gcc: disable warn_unused_result attribute warnings 2010-06-17 23:47:59 +02:00
Pavol Rusnak
634826b51b fix --nonet calls to xsltproc
Also, fix spelling of openSUSE
2010-06-17 23:43:51 +02:00
Lennart Poettering
be1a67d9d6 build-sys: pass -fno-strict-aliasing by default 2010-06-17 23:41:21 +02:00
Lennart Poettering
240a3a85bd doc: install sd-daemon.[ch] as docs 2010-06-17 23:33:21 +02:00
Lennart Poettering
7cfdbb3cfe tcpwrap: add missing header files for suse 2010-06-17 23:31:36 +02:00
Lennart Poettering
706243a2d2 sd-daemon: add gcc format string attribute to sd_notifyf 2010-06-17 23:26:20 +02:00
Lennart Poettering
7d7936059f manager: expose a few special units via SIGRTMIN+x signals 2010-06-17 23:22:56 +02:00
Lennart Poettering
e4b613402d systemctl: provide compatibility implementations for various sysv utilities 2010-06-17 22:57:28 +02:00
Lennart Poettering
5925dd3c7a service: rework PID parsing logic everywhere 2010-06-17 22:55:53 +02:00
Lennart Poettering
08bfb8106b sd-daemon: extend return value logic of sd_notify() 2010-06-17 22:53:55 +02:00
Lennart Poettering
bbe63281ea log: make color/location logging optional 2010-06-17 22:52:55 +02:00
Lennart Poettering
3ba686c107 util: implement parse_pid() function 2010-06-17 22:50:35 +02:00
Lennart Poettering
4a2a8b5a82 notify: add systemd-notify command line tool 2010-06-17 22:50:06 +02:00
Tom Gundersen
1ebdf2d879 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.
2010-06-16 23:13:10 +02:00
Lennart Poettering
812cce323d build-sys: fix configure output without libwrap 2010-06-16 23:11:48 +02:00
Lennart Poettering
5b6319dcee service: optionally call into PAM when dropping priviliges 2010-06-16 21:54:17 +02:00
Lennart Poettering
04aa0cb9c4 execute: setup namespace after doing NSS calls 2010-06-16 16:39:28 +02:00
Lennart Poettering
df1f0afe0c tcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in main systemd process 2010-06-16 16:27:24 +02:00
Lennart Poettering
0213c3f810 socket: add optional libwrap support 2010-06-16 15:41:29 +02:00
Lennart Poettering
18c78fb1af typo: the correct spelling is maintenance not maintainance 2010-06-16 14:01:55 +02:00
Lennart Poettering
8c47c7325f notify: add minimal readiness/status protocol for spawned daemons 2010-06-16 05:10:31 +02:00
Lennart Poettering
17586c16ba kmod: autoload unix.ko if it isn't around 2010-06-16 05:07:57 +02:00
Lennart Poettering
5515116b61 cgroup: drop inherit flag, this mus be fixed in the kernel 2010-06-16 05:07:30 +02:00
Lennart Poettering
41192f6e8a main: fix help regarding --unit/systemd.unit= 2010-06-16 05:06:55 +02:00
Lennart Poettering
a4bfb3990b strv: introduce strv_find_prefix() 2010-06-16 05:06:02 +02:00
Lennart Poettering
d3782d60cd util: introduce random_ull() 2010-06-16 05:05:36 +02:00
Lennart Poettering
10e87ee7f6 install: add systemd-install tool for managing alias/wants symlinks 2010-06-16 01:58:50 +02:00
Lennart Poettering
2c7108c40a util: introduce readlink_and_make_absolute() 2010-06-16 01:56:00 +02:00
Lennart Poettering
b08a35509c systemctl: make sure getopt doesn't segfault 2010-06-15 19:47:38 +02:00
Lennart Poettering
406eaf930b service: never supervise ourselves 2010-06-15 19:47:13 +02:00
Lennart Poettering
84e3543ef4 manager: split off path lookup logic into own .c file 2010-06-15 14:45:15 +02:00