Commit Graph

735 Commits

Author SHA1 Message Date
Lennart Poettering 8c6db83365 pam: implement systemd PAM module and generelize cgroup API for that a bit 2010-06-21 23:27:18 +02:00
Lennart Poettering 96551bae61 notify: add systemd-notify --booted 2010-06-21 19:20:21 +02:00
Lennart Poettering 40473a70cf sd-daemon: introduce sd_booted() and set ELF visibility to hidden for all symbols 2010-06-21 19:18:47 +02:00
Lennart Poettering f1c5860be7 systemctl: make upstart glue code talk to upstart via private abstarct bus and verify its UID owner 2010-06-19 16:58:59 +02:00
Lennart Poettering 4d0e5dbd52 service: require KillMode=control-group when PAM is enabled 2010-06-19 16:57:54 +02:00
Lennart Poettering 399ab2b1ac unit: make unit casts typesafe 2010-06-19 16:57:29 +02:00
Lennart Poettering 0ca3f374f9 initctl: add some checks before starting up 2010-06-19 16:56:57 +02:00
Lennart Poettering f5a3628cc7 initctl: talk to systemd via the abstract private bus 2010-06-19 16:56:26 +02:00
Lennart Poettering 4cd1fbcc06 unit: get rid of various unnecessary casts 2010-06-19 16:55:49 +02:00
Lennart Poettering bb00e60409 don't use 'long long' unless we have a really good reason to 2010-06-19 04:35:52 +02:00
Lennart Poettering 6cf6bbc268 socket: enforce limit on number of concurrent connections 2010-06-19 04:25:34 +02:00
Lennart Poettering a3d4e06dfa 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 2010-06-19 03:15:59 +02:00
Lennart Poettering 5e8d1c9a9f 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 2010-06-19 03:04:04 +02:00
Lennart Poettering f9704703f3 service: honour empty cgroup even in ValidNoProcess mode 2010-06-19 01:06:09 +02:00
Lennart Poettering f872ec3397 util: properly divide in 64bit in format_timestamp() 2010-06-19 00:14:12 +02:00
Lennart Poettering f2d3769a16 execute: handle format strings in User= and other directives 2010-06-18 23:25:19 +02:00
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