1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00
Commit Graph

642 Commits

Author SHA1 Message Date
Lennart Poettering
cd6d0a456b utmp: enable systemd-update-utmp by default 2010-08-11 04:38:55 +02:00
Lennart Poettering
4927fcae48 audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary 2010-08-11 01:44:38 +02:00
Lennart Poettering
1310609b05 unit: hook plymouth into the boot
https://bugzilla.redhat.com/show_bug.cgi?id=619922
2010-08-10 03:44:05 +02:00
Lennart Poettering
3c661fadd5 cgroup: if the system bus cannot be found, send cgroup empty msg directly to init proces 2010-08-06 03:21:50 +02:00
Lennart Poettering
922cc00119 units: split fsck.target from sysinit.target for suse compat 2010-08-06 01:30:20 +02:00
Lennart Poettering
ee5762e378 systemctl: fold systemd-install into systemctl 2010-07-24 00:53:33 +02:00
Daniel J Walsh
7a58bfa4ae socket: SELinux support for socket creation.
It seems to work on my machine.

/proc/1/fd/20	system_u:system_r:system_dbusd_t:s0

/proc/1/fd/21	system_u:system_r:avahi_t:s0

And the AVC's seem to have dissapeared when a confined app trys to
connect to dbus or avahi.

If you run with this patch and selinux-policy-3.8.8-3.fc14.noarch
You should be able to boot in enforcing mode.
2010-07-23 05:12:13 +02:00
Lennart Poettering
c24eb49e6a exec: extend variable substitution to support splitting variable values into seperate arguments 2010-07-21 02:57:35 +02:00
Lennart Poettering
ceda54d93c units: wire smartcard.target into Makefile 2010-07-16 21:38:56 +02:00
Lennart Poettering
d04247cf25 cgls: rename source file to cgls.c, since we have no prefix for any of the other files either 2010-07-14 15:09:27 +02:00
Lennart Poettering
da78e1b444 units: introduce bluetooth.target/printer.target which are activated if the right hardware is plugged in 2010-07-13 02:16:44 +02:00
Lennart Poettering
f057408c9c units: introduce emergency.target 2010-07-12 23:49:20 +02:00
Lennart Poettering
35d2e7ec19 cgroup: reimplement the last bit of libcgroup functionality natively 2010-07-12 18:16:44 +02:00
Lennart Poettering
c6c18be35b cgroup: kill processes, not tasks and other cgroup changes 2010-07-11 00:50:49 +02:00
Lennart Poettering
4e67ddd6b3 units: introduce umount.target for unmounting all file systems 2010-07-10 02:41:06 +02:00
Lennart Poettering
83bda35801 build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus 2010-07-10 00:22:38 +02:00
Lennart Poettering
a45f61d76c build-sys: add make upload target 2010-07-09 05:06:11 +02:00
Lennart Poettering
4627d39661 build-sys: set SYSTEMD_SKIP_API_MOUNTS=1 when generating introspection files 2010-07-09 00:13:18 +02:00
Lennart Poettering
b4f10a5e89 install: various improvements
Rename --start to --realize, to make things less confusing when doing
"systemctl stop --realize foo.service".

Introduce --realize=reload.

Don't talk to systemd when run within a chroot, or when systemd isn't
running.
2010-07-08 21:39:01 +02:00
Lennart Poettering
fa776d8e96 cgls: beef up control group dumping and introduce cgls tool 2010-07-08 21:01:42 +02:00
Lennart Poettering
ab35fb1bc6 systemctl: filter and sort member pid of cgroup 2010-07-08 06:08:32 +02:00
Lennart Poettering
83698d60db units: properly create prefdm symlink 2010-07-08 05:29:09 +02:00
Lennart Poettering
398ef8ba02 dbus: make errors reported via D-Bus more useful 2010-07-08 02:43:18 +02:00
Lennart Poettering
a822056bca initctl: check peer credentials after connection 2010-07-07 04:13:19 +02:00
Lennart Poettering
f3e219a238 update man pages for recent changes 2010-07-07 01:38:56 +02:00
Lennart Poettering
487393e9f1 main: implement manager configuration file 2010-07-07 01:10:27 +02:00
Lennart Poettering
fa0f4d8a3a main: add a native implementation of the 'nomodules' kernel option understood by fedora init scripts 2010-07-06 20:34:28 +02:00
Kay Sievers
9335c44faa build-sys: fix EXTRA_DIST 2010-07-06 15:50:42 +02:00
Lennart Poettering
9a1ac7b9ae install: implement --start option 2010-07-06 05:06:40 +02:00
Lennart Poettering
af65a09126 units: update shipped unit files for DefaultDependencies= 2010-07-03 19:53:37 +02:00
Lennart Poettering
dd1eb43ba7 man: document execution context related settings 2010-07-02 23:24:38 +02:00
Lennart Poettering
b2c20dd958 man: document snapshot units 2010-07-02 03:51:29 +02:00
Lennart Poettering
eec575d8eb man: document device units 2010-07-02 03:28:33 +02:00
Lennart Poettering
da49e9ab4c man: document target units 2010-07-02 02:55:34 +02:00
Lennart Poettering
b36b082c8a man: document path units 2010-07-02 02:38:30 +02:00
Lennart Poettering
11fcc3ab1b man: document timer units 2010-07-02 02:14:13 +02:00
Lennart Poettering
e0cabd4bb5 man: document swap units 2010-07-02 01:33:54 +02:00
Lennart Poettering
65232ea79d man: document automount units 2010-07-02 01:17:55 +02:00
Lennart Poettering
cdb788e4cd man: document mount units 2010-07-02 00:29:15 +02:00
Lennart Poettering
1f812feafb man: document socket units 2010-07-01 23:49:50 +02:00
Lennart Poettering
c5abba0887 man: document systemd-notify 2010-06-24 05:17:02 +02:00
Lennart Poettering
6f6083dc73 man: rework man page generation in makefile 2010-06-24 04:22:22 +02:00
Lennart Poettering
7874bcd602 man: extend manual page documentation 2010-06-24 03:09:36 +02:00
Lennart Poettering
160cd5c9aa man: add more man pages 2010-06-24 00:11:04 +02:00
Lennart Poettering
c6365917c4 man: generate ANSI prototypes in HTML man pages 2010-06-23 02:26:15 +02:00
Lennart Poettering
359957ee23 man: document runlevel and systemd-install 2010-06-23 01:49:57 +02:00
Lennart Poettering
f9378423b9 man: document sd-daemon.[ch] 2010-06-23 00:31:54 +02:00
Lennart Poettering
a3723b97ef build-sys: fix directory creation of a few dirs 2010-06-22 05:43:07 +02:00
Lennart Poettering
795750caa1 build-sys: install more docs 2010-06-22 05:39:35 +02:00
Lennart Poettering
64aba792f7 man: add initial version of daemon(7) 2010-06-22 02:42:10 +02:00
Lennart Poettering
64ca679e69 build-sys: fix make distcheck 2010-06-22 00:05:37 +02:00
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
2cb1a60d14 init: call telinit in case we are run as init and not pid1 2010-06-18 20:01:01 +02:00
Lennart Poettering
514f4ef52f systemctl: add verbs for special units 2010-06-18 04:22:59 +02:00
Lennart Poettering
139be57d94 build-sys: speed up build via convenience library 2010-06-18 00:44:57 +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
240a3a85bd doc: install sd-daemon.[ch] as docs 2010-06-17 23:33:21 +02:00
Lennart Poettering
e4b613402d systemctl: provide compatibility implementations for various sysv utilities 2010-06-17 22:57:28 +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
5b6319dcee service: optionally call into PAM when dropping priviliges 2010-06-16 21:54:17 +02:00
Lennart Poettering
0213c3f810 socket: add optional libwrap support 2010-06-16 15:41:29 +02:00
Lennart Poettering
8c47c7325f notify: add minimal readiness/status protocol for spawned daemons 2010-06-16 05:10:31 +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
84e3543ef4 manager: split off path lookup logic into own .c file 2010-06-15 14:45:15 +02:00
Lennart Poettering
7e4249b94e systemctl: reimplement systemctl in pure C without Vala/GObject 2010-06-15 02:51:55 +02:00
Lennart Poettering
d2d12cd1bf build-sys: make make distcheck work again 2010-06-07 19:40:25 +02:00
Lennart Poettering
d122948d6f dbus: install bus activation file 2010-06-07 04:14:39 +02:00
Lennart Poettering
f92a18f527 units: introduce and explain sysinit.target 2010-06-04 18:43:40 +02:00
Lennart Poettering
e1d680ad55 tests: build the right tests 2010-06-03 03:01:12 +02:00
Lennart Poettering
1136a371e2 untis: fix path to helper services 2010-06-02 15:52:14 +02:00
Kay Sievers
65b0095b1c units: add SUSE service files 2010-06-02 00:53:39 +02:00
Lennart Poettering
134dc482d2 build-sys: add missing backslash 2010-06-02 00:42:36 +02:00
Lennart Poettering
f401faf540 build-sys: move systemd from /sbin to /bin since it should be used by normal users too, for session handling 2010-06-02 00:40:10 +02:00
Lennart Poettering
8c4a3079a7 build-sys: install stuff intended for / into ${rootdir} which is configurable with --with-rootdir= 2010-06-02 00:35:58 +02:00
Lennart Poettering
5c546cb75e units: drop fuse fs from automount, since this is now done by udev internally 2010-06-01 19:50:35 +02:00
Marc-Antoine Perennou
f306f4c40d units: fix Gentoo services 2010-05-24 23:18:37 +02:00
Lennart Poettering
a1b256b0b5 unit: introduce exit.service for exiting from session instances 2010-05-24 22:32:44 +02:00
Lennart Poettering
683f468c54 unit: ship a mail-transfer-agent.target unit by default 2010-05-24 22:30:54 +02:00
Lennart Poettering
1e287fe32f unit: turn display-manager.target into a service 2010-05-24 22:29:59 +02:00
Lennart Poettering
01f78473b1 path: add .path unit type for monitoring files 2010-05-24 05:25:33 +02:00
Lennart Poettering
871d7de47c timer: fully implement timer units 2010-05-24 01:45:54 +02:00
Lennart Poettering
4288f61921 dbus: automatically generate and install introspection files 2010-05-23 03:45:33 +02:00
Lennart Poettering
6d526de267 unit: add automount units for a number of API filesystems 2010-05-23 01:56:54 +02:00
Lennart Poettering
11c3a4eeb7 kmod: automatically load a few kernel modules we need for normal operation before udev is active 2010-05-22 00:29:53 +02:00
Marc-Antoine Perennou
ea2d9ed42d units: add services for Gentoo 2010-05-20 17:56:16 +02:00
Lennart Poettering
0d26c91071 unit: ship default.service for sessions by default 2010-05-20 02:30:49 +02:00
Lennart Poettering
1afaf57346 fedora: we must call the halt script with a symlink of reboot for rebooting 2010-05-20 02:05:28 +02:00
Lennart Poettering
8848109267 units: don't install var-run.mount anymore for the moment 2010-05-19 04:37:21 +02:00
Lennart Poettering
670802d4b1 units: replace a few non-essential API mounts with automount units 2010-05-18 03:10:17 +02:00
Lennart Poettering
42e39f0b32 build-sys: remove vala generated sources only when valac is around 2010-05-18 00:28:39 +02:00
Lennart Poettering
53f7d807bf cgroup: don't require debug cgroup controller anymore, use name hierarchy instead 2010-05-17 23:54:44 +02:00
Lennart Poettering
e82e442bfa build-sys: don't fail if we cannot create /cgroup/debug 2010-05-17 23:29:24 +02:00
Lennart Poettering
c3bd732210 build-sys: enable xsltproc rules only if we have xsltproc 2010-05-17 23:29:10 +02:00
Lennart Poettering
2a3d629467 build-sys: simplify sed rules 2010-05-17 23:28:54 +02:00
Lennart Poettering
a00e487927 build-sys: fix make distcheck 2010-05-17 23:02:28 +02:00
Lennart Poettering
9f2c5942e1 man: replace syslog name in man page by configured name 2010-05-17 22:45:52 +02:00
Lennart Poettering
bb009d81b0 build-sys: make xsltproc/sed invocations silent 2010-05-17 19:53:16 +02:00
Lennart Poettering
12e84679cc build-sys: set M4_DISTRO_FLAG from the configure script 2010-05-17 19:52:57 +02:00
Lennart Poettering
705dbf3aa3 units: make sure to ship units/remote-fs.target.m4 in tarball 2010-05-17 19:42:57 +02:00
Lennart Poettering
fb1bd35a5d unit: properly generate session units 2010-05-17 02:17:22 +02:00
Lennart Poettering
eb10a76494 docs: add terse distribution porting guide 2010-05-17 01:40:02 +02:00
Lennart Poettering
5e6afdd3d3 units: add distribution-specific units 2010-05-17 01:39:58 +02:00
Lennart Poettering
f0b02ca2af units: add rpcbind.target special 2010-05-16 22:50:02 +02:00
Lennart Poettering
9f23530860 man: document a few special units 2010-05-16 22:45:11 +02:00
Lennart Poettering
a7b6f8e578 units: automatically generated syslog.target 2010-05-16 21:15:46 +02:00
Lennart Poettering
70449379de units: move a number of units into the tarball 2010-05-16 20:49:41 +02:00
Lennart Poettering
dfac97b21e build-sys: generate intermediate files in subdirs 2010-05-16 19:09:22 +02:00
Lennart Poettering
e99e38bbdc build-sys: move source files to subdirectory 2010-05-16 18:45:24 +02:00
Lennart Poettering
e9da3678fc build-sys: use autoconf'igured mkdir/ln/sed programs 2010-05-16 18:34:31 +02:00
Lennart Poettering
05a602f468 build-sys: fix make distcheck 2010-05-16 18:23:09 +02:00
Lennart Poettering
8bfcc8ea65 logger,initctl: port to daemon reference implementation 2010-05-16 01:45:52 +02:00
Lennart Poettering
43aa226daf install: create both session/system unit dirs, even if empty 2010-05-15 23:15:10 +02:00
Lennart Poettering
d1ab0ca073 man: add some initial man page work 2010-05-15 23:06:41 +02:00
Lennart Poettering
64c1b5bf9c install: create /cgroup/debug mount point on install 2010-05-14 04:22:29 +02:00
Lennart Poettering
4697132b91 manager: merge /etc/xdg/systemd/session and /etc/systemd/session 2010-05-14 02:50:19 +02:00
Lennart Poettering
31cee6f634 build-sys: include README and LICENSE in tarball 2010-05-13 03:30:21 +02:00
Lennart Poettering
67ef7823c6 vala: hide a few vala warnings 2010-05-13 03:21:19 +02:00
Michael Tremer
a9b5b03212 configure: Allow to disable build of tools that require GTK. 2010-05-13 03:16:12 +02:00
Tollef Fog Heen
462b33e96a Distribute the necessary header files too
Add all header files that we need to EXTRA_DIST to ensure they are
actually in the tarball.
2010-05-10 01:17:49 +02:00
Tollef Fog Heen
75db651adb Remove .h files from _SOURCES
Automake is buggy when you mix C and Vala programs.  It tries to call
valac with the full contents of _SOURCES for the program, but valac
errors out when given .h files.  Until this is fixed, we can't list .h
files in _SOURCES or "make dist" breaks.
2010-05-10 01:01:06 +02:00
Maarten Lankhorst
07b0b134d3 swap: add .swap unit type 2010-05-09 18:46:10 +02:00
Lennart Poettering
af5bc85dc1 loopback: configure lo device on bootup 2010-05-09 18:02:38 +02:00
Lennart Poettering
ea6145dabe hostname: unify hostname configuration file parsers a little 2010-05-08 15:00:53 +02:00
Lennart Poettering
b9cd233f49 we don't actually need libgee anymore 2010-05-06 21:26:21 +02:00
Lennart Poettering
2d02719c2b units: fix logger/initctl paths 2010-04-23 22:18:55 +02:00
Lennart Poettering
15ae422b74 execute: support basic filesystem namespacing 2010-04-21 22:15:06 +02:00
Lennart Poettering
a16e112358 reload: implement reload/reexec logic 2010-04-21 03:27:44 +02:00
Lennart Poettering
4139c1b272 dbus: greatly extend dbus coverage 2010-04-18 03:08:16 +02:00
Lennart Poettering
9e2f7c11fb core: add minimal templating system 2010-04-15 03:11:15 +02:00
Lennart Poettering
70fcff314f units: install a few basic units by default 2010-04-13 05:18:12 +02:00
Lennart Poettering
5cc5d790f4 udev: install rules file that ignore those nasty useless tty devices by default 2010-04-10 19:18:21 +02:00
Lennart Poettering
e24067c3ec dbus: install D-Bus policy file by default 2010-04-10 18:51:07 +02:00
Lennart Poettering
e537352b9b mount: implement mounting properly
This also includes code that writes utmp/wtmp records when applicable,
making use the mount infrastructure to detct when those files are
accessible.

Finally, this also introduces a --dump-configuration-items switch.
2010-04-10 18:00:34 +02:00
Lennart Poettering
302e8c4c4c hostname: set hostname early during boottime 2010-04-10 18:00:21 +02:00
Lennart Poettering
061978fa4d build-sys: fix build regarding SYSTEM_SYSVRCND_PATH 2010-04-07 15:39:28 +02:00
Lennart Poettering
0571e0111d build-sys: automatically detect SysV init dirs 2010-04-07 15:35:01 +02:00
Lennart Poettering
0b7964b804 sysv: implement /dev/initctl compatibility 2010-04-04 22:53:42 +02:00
Lennart Poettering
8e27452380 cgroup: add cgroupsification 2010-03-31 16:29:55 +02:00
Lennart Poettering
036643a247 config: implement search path logic 2010-02-13 01:07:02 +01:00
Lennart Poettering
c1e1601e8c dbus: send out signals when units/jobs come, go and change 2010-02-05 00:38:41 +01:00
Lennart Poettering
47be870bd8 build: basic autoconfization 2010-02-03 14:21:48 +01:00