Commit graph

309 commits

Author SHA1 Message Date
Lennart Poettering cca4aeeead tmpfiles: split off rules for legacy systems into legacy.conf 2011-04-02 01:08:31 +02:00
Lennart Poettering bb29785e0d general: replace a few uses of /var/run by /run 2011-04-01 15:25:46 +02:00
Lennart Poettering 7ebdfc936e build-sys: create a number of drop-in config dirs 2011-03-31 18:17:32 +02:00
Lennart Poettering f695b3b09b build-sys: install systemd-analyze by default 2011-03-31 03:25:30 +02:00
Andrey Borzenkov 8c944383c2 units: replace Names=dm.service with symlink for mandriva prefdm 2011-03-18 19:32:49 +03:00
Andrey Borzenkov 0c380104cf mount: pull in quota services from local mountpoints with usr/grpquota options 2011-03-18 19:12:58 +03:00
Lennart Poettering 6699c857a2 units: we don't need to generate syslog.target with sed anymore 2011-03-18 05:01:30 +01:00
Lennart Poettering db25d1d765 units: we no longer need m4 to build graphical.target or multi-user.taregt 2011-03-18 04:59:05 +01:00
Lennart Poettering b1c66c44ef units: on mandriva/fedora create single.service alias via symlink, not Names= 2011-03-18 04:53:31 +01:00
Lennart Poettering f1dd0c3f9b syslog: rework syslog detection so that we need no compile-time option what the name of the syslog implementation is 2011-03-18 04:53:31 +01:00
Lennart Poettering 177b3ffedb special: get rid of dbus.target 2011-03-18 04:53:12 +01:00
Lennart Poettering f6a6225e41 def: centralize definition of default timeout in one place 2011-03-17 04:02:35 +01:00
Miklos Vajna 196e3fa74a Add Frugalware display-manager service 2011-03-16 03:53:55 +01:00
Lennart Poettering 8f7a3c1402 man: document systemd-nspawn 2011-03-15 20:51:59 +01:00
Lennart Poettering 2a796654b9 getty: move automatic serial getty logic into generator 2011-03-15 00:45:46 +01:00
Lennart Poettering 04d391dabc nspawn: move container into its own name=systemd cgroup 2011-03-14 22:33:58 +01:00
Lennart Poettering 1063dc3a52 units: add console-shell.service which can be used insted of the gettys to get a shell on /dev/console 2011-03-14 21:00:53 +01:00
Lennart Poettering a5f9be4579 build-sys: move remaining tools from sbin/ to bin/ since they might eventually be useful for user execution 2011-03-14 18:17:28 +01:00
Lennart Poettering 8821347618 nspawn: add simple chroot(1) like tool to execute commands in a namespace container 2011-03-14 03:12:25 +01:00
Kay Sievers 3eb4d9a214 build-sys: add org.freedesktop.systemd1.policy to CLEANFILES
ERROR: files left in build directory after distclean:
./src/org.freedesktop.systemd1.policy
make[1]: *** [distcleancheck] Error 1
2011-03-12 14:31:44 +01:00
Lennart Poettering 25705583af polkit: autogenerate polkit policy with correct paths 2011-03-12 01:15:30 +01:00
Lennart Poettering a8f11321c2 systemctl: support remote and privileged systemctl access via SSH and pkexec
This adds support for executing systemctl operations remotely or as
privileged user while still running systemctl itself unprivileged and
locally.

This currently requires a D-Bus patch to work properly.

https://bugs.freedesktop.org/show_bug.cgi?id=35230
2011-03-12 01:07:17 +01:00
Lennart Poettering 29d958ce2b machine-id: move machine-id-setup to /sbin 2011-03-09 22:13:24 +01:00
Andrey Borzenkov 1de4d79bf5 build-sys: add Mandriva distribution support
This merges several separate patches that I carry as part of
Mandriva systemd RPM. They touch those parts that are very
unlikely to be changed in near future and do not impose any
functionality change for systemd core. I also think it is
useful for troubleshooting to have real distribution name in
system logs, espicially when someone reports problem upstream.

The patch looks bigger than sum of replaced patches because

- previous patches were applied on top of distro=fedora, now
I need to add all those bits for distro=mandriva as well

- part of patch was done as spec file magic, but it seems more
logical to ship all these bits together
2011-03-08 19:47:36 +01:00
Lennart Poettering b670e92b50 syslog: make sure the kmsg bridge is always pulled in and never terminated automatically
Since we want to replace the bridge dynamically by the real syslog
implementation such as rsyslog we need to make sure that the the bridge
stays running right to the moment rsyslog is up so that we process
messages enqueued by other processes started before rsyslog, so that
those clients don't stay stuck.
2011-03-07 21:56:13 +01:00
Lennart Poettering c4b5a3d66f mount: make /media a tmpfs 2011-03-07 17:38:15 +01:00
Lennart Poettering d7ccca2e3f main: introduce /etc/machine-id
This is supposed to play the same roles /var/lib/dbus/machine-id,
however fixes a couple of problems:

- It is available during early boot since it is stored in /etc

- Removes the ID from the D-Bus context and moves it into a system
  context, thus hopefully lowering hesitation by people to use it.

- It is generated at installation time. If the file is empty at boot
  time it will be mounted over with a randomly generated ID, which is
  not saved to disk. This is useful to support state-less machines with
  no transient or writable /etc configuration.
2011-03-04 21:53:19 +01:00
Lennart Poettering aa2e211587 units: synchronize gettys to plymouth even if plymouth is killed by gdm 2011-02-24 02:32:50 +01:00
Lennart Poettering 07faed4f99 virtualization: beef virtualization code 2011-02-21 21:48:59 +01:00
Lennart Poettering 83cc030fad shutdown: execute all binaries in /lib/systemd/system-shutdown as last step before invoking reboot() 2011-02-15 00:30:11 +01:00
Lennart Poettering 522d4a495a systemd: document systemd-tmpfiles 2011-02-13 15:08:15 +01:00
Lennart Poettering 74ce487daf tmpfiles: move binary to /bin to make it publicly available 2011-02-13 14:04:57 +01:00
Lennart Poettering 88dfa2938a units: introduce and hook up sound.target 2011-02-09 21:07:53 +01:00
Jeff Mahoney cd3f8b7ddb plymouth: move plymouth out of TARGET_FEDORA 2011-02-08 18:47:32 +01:00
Lennart Poettering 63c862b051 cryptsetup: fix ordering loop when dealing with encrypted swap devices
https://bugzilla.redhat.com/show_bug.cgi?id=657234
2011-01-21 03:30:18 +01:00
Lennart Poettering 26742b3fd8 vala: convert from dbus-glib to gdbus 2011-01-20 18:24:26 +01:00
Lennart Poettering 9a57c62944 systemctl: highlight failed processes in systemctl status 2011-01-20 18:22:03 +01:00
Tom Gundersen dda9be8a99 arch: remove rc-local.service
This is now shipped downstream.
2011-01-17 22:41:28 +01:00
Lennart Poettering c292c495fb build-sys: prepare v16 2011-01-08 02:34:55 +01:00
Lennart Poettering 2c4b304e64 specifier: at minimal test 2011-01-06 23:51:52 +01:00
Miklos Vajna f5c88ec133 build-sys: frugalware linux support 2010-11-29 17:07:41 +01:00
Michael Biebl 2f6a1ab18e Create convenience library libsystemd_daemon.la for sd-daemon.c
Instead of compiling sd-daemon.c 10 times, create a noinst convenience
library libsystemd_daemon.la.
2010-11-26 20:41:52 +01:00
Kay Sievers d0ef2204b4 gnome-ask-password-agent: also support libnotify < 0.7 for now 2010-11-26 17:59:53 +01:00
Gustavo Sverzut Barbieri d2ffe6deac units: Remove Gentoo specific xdm.service
That unity pulls in OpenRC which in turn pulls in most of legacy
system that causes lots of troubles as it is too smart, thus not
recommended.

Moreover, SystemD developers seems to agree that a service file per DM
is the best approach, so having gdm.service, kdm.service, slim.service
is better than a single wrapper for them.
2010-11-25 00:30:16 +01:00
Lennart Poettering 28cdc98ae8 build-sys: get rid of special fedor install target 2010-11-24 23:26:33 +01:00
Thierry Reding 46891d97b2 build-sys: distribute introspect.awk 2010-11-24 22:28:43 +01:00
Thierry Reding 382a0310f6 build-sys: fix out-of-tree build
The introspect AWK script is located in the source tree, which is not
necessarily the same as the build tree, so prepend $(srcdir).
2010-11-24 22:28:34 +01:00
Thierry Reding 9a60da2834 build-sys: allow cross-compilation
When cross-compiling systemd, the introspection XML files fail to be
generated because the systemd host binary is not executable. This patch
works around this by putting the introspection XML data into separate
ELF sections and extracting them from the binary when generating the XML
files.

The extracted XML data is passed through the strings utility in order to
strip the trailing NUL character. A small AWK script is used to prepend
the doctype and add the opening and closing node tags respectively.
Finally, the C preprocessor is used to substitute the correct doctype
information from the D-Bus header files.
2010-11-23 22:38:55 +01:00
Lennart Poettering a7c64469b6 man: document /etc/modules-load.d/ 2010-11-21 20:41:00 +01:00
Lennart Poettering e17fb72914 man: document /etc/os-release 2010-11-21 20:05:51 +01:00