1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
Commit Graph

199 Commits

Author SHA1 Message Date
Kay Sievers
2b583ce657 use /run instead of /dev/.run
Instead of the /dev/.run trick we have currently implemented, we decided
to move the early-boot runtime dir to /run.

An existing /var/run directory is bind-mounted to /run. If /var/run is
already a symlink, no action is taken.

An existing /var/lock directory is bind-mounted to /run/lock.
If /var/lock is already a symlink, no action is taken.

To implement the directory vs. symlink logic, we have a:
  ConditionPathIsDirectory=
now, which is used in the mount units.

Skipped mount unit in case of symlink:
  $ systemctl status var-run.mount
  var-run.mount - Runtime Directory
    Loaded: loaded (/lib/systemd/system/var-run.mount)
    Active: inactive (dead)
            start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago
     Where: /var/run
      What: /run
    CGroup: name=systemd:/system/var-run.mount

The systemd rpm needs to make sure to add something like:
  %pre
  mkdir -p -m0755 /run >/dev/null 2>&1 || :
or it needs to be added to filesystem.rpm.

Udev -git already uses /run if that exists, and is writable at bootup.
Otherwise it falls back to the current /dev/.udev.

Dracut and plymouth need to be adopted to switch from /dev/.run to run
too.

Cheers,
Kay
2011-03-28 23:00:00 +02:00
Lennart Poettering
f9276855a1 man: explain a couple of default dependencies 2011-03-28 21:36:13 +02:00
Andrey Borzenkov
2fccaefffe man: no keep-root in pam_systemd anymore 2011-03-22 20:31:10 +03:00
Lennart Poettering
28cf382a0a man: document pidns containers 2011-03-18 04:53:31 +01:00
Lennart Poettering
e2130f189a units: deemphesize Names= settings, and explain why nobody whould use them 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
0732ec002e man: document .requires/ directories 2011-03-18 04:53:12 +01:00
Lennart Poettering
177b3ffedb special: get rid of dbus.target 2011-03-18 04:53:12 +01:00
Lennart Poettering
260abb780a exec: properly apply capability bounding set, add inverted bounding sets 2011-03-18 04:52:45 +01:00
Andrey Borzenkov
f1f8cfd0a2 man: fix systemctl try-restart description
It is no more error when service is not running.
2011-03-16 03:54:59 +01:00
Lennart Poettering
8f7a3c1402 man: document systemd-nspawn 2011-03-15 20:51:59 +01:00
Lennart Poettering
91b22f21f3 core: move abstract namespace sockets to /dev/.run
Now that we have /dev/.run there's no need to use abstract namespace
sockets. So, let's move things to /dev/.run, to make things more easily
discoverable and improve compat with chroot() and fs namespacing.
2011-03-14 03:12:25 +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
Andrey Borzenkov
756a8d17bb man: trivial typo in systemd(1) 2011-03-10 20:48:12 +01:00
Lennart Poettering
b925e72633 dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd 2011-03-09 22:45:47 +01:00
Lennart Poettering
267632f0ab unit: distuingish mandatory from triggering conditions 2011-03-08 03:04:47 +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
f1779fd27b man: document changed EnvironmentFile= behaviour 2011-03-04 14:13:47 +01:00
Lennart Poettering
6221fcdf2e man: fix chkconfig syntax to use --level 3 2011-03-01 22:18:49 +01:00
Lennart Poettering
039655a40c unit: introduce ConditionVirtualization= 2011-02-21 22:07:55 +01:00
Mike Kazantsev
48c4fad950 man: fixed typo in SyslogIdentifier= 2011-02-19 14:32:44 +01:00
Lennart Poettering
d12d0e647a man: don't do more reloads than necessary in spec files 2011-02-18 02:25:18 +01:00
Lennart Poettering
e67c3609b1 systemctl: introduce --ignore-dependencies 2011-02-16 21:59:31 +01:00
Lennart Poettering
30732560c4 systemctl: introduce --failed to show only failed services 2011-02-16 20:34:59 +01:00
Lennart Poettering
934da03599 service: change default std output to inherit 2011-02-15 12:28:01 +01:00
Lennart Poettering
0a494f1ff3 exec: introduce global defaults for the standard output of services 2011-02-15 11:52:29 +01:00
Lennart Poettering
28dbc1e80b execute: optionally forward program output to /dev/console in addition to syslog/kmsg 2011-02-15 01:27:53 +01:00
Lennart Poettering
3185a36b05 service: make main pid guessing optional, and reread pid file after reloads 2011-02-13 18:51:30 +01:00
Lennart Poettering
e9fbc77c8f pam: introduce whitelist and blacklist user list feature
This is useful to exclude root from the session logout killings or to
limit killing to the selinux guest users.
2011-02-13 18:21:18 +01:00
Lennart Poettering
522d4a495a systemd: document systemd-tmpfiles 2011-02-13 15:08:15 +01:00
Lennart Poettering
b8bb3e8f34 tmpfiles: support globs 2011-02-12 09:31:25 +01:00
Lennart Poettering
70e911eaeb man: document SYSTEMD_READY= 2011-02-09 15:02:03 +01:00
Lennart Poettering
0658666bac manager: if we receive SIGRTMIN+20/21 enable/disable showing of status on the console 2011-02-09 12:12:30 +01:00
Lennart Poettering
be0396695b man: clarify a few things 2011-02-09 11:00:17 +01:00
Lennart Poettering
b20c6be697 pam: optionally reset cgroup memberships for login sessions 2011-02-04 12:46:38 +01:00
Lennart Poettering
76e7bc8dfb man: give an example for vconsole.conf
https://bugs.freedesktop.org/show_bug.cgi?id=31955
2011-01-21 00:42:47 +01:00
Lennart Poettering
3add4d215b pam: optionally keep processes of root user around 2011-01-18 23:07:06 +01:00
Lennart Poettering
ba035df230 execute: make sending of SIGKILL on shutdown optional 2011-01-18 22:55:54 +01:00
Lennart Poettering
2292707df5 man: document missing KillSignal= and swap options 2011-01-18 00:40:10 +01:00
Lennart Poettering
afe4bfe2c1 fragment: allow prefixing of the EnvironmentFile= path with - to ignore errors 2011-01-06 01:39:08 +01:00
Miklos Vajna
0736af98c6 systemctl: implement auto-pager a la git 2011-01-02 18:17:19 +01:00
Miklos Vajna
5471472d44 man: remaining spelling fixes 2011-01-01 20:03:56 +01:00
Miklos Vajna
01c3a63e17 Fix misspellings in os-release manpage and hwclock-load.service 2010-12-20 16:30:59 +01:00
Miklos Vajna
2dddca4a8d man: daemon - fix misspellings 2010-12-16 09:49:03 +01:00
Miklos Vajna
ae92f4266a man: modules-load.d - fix misspellings 2010-12-07 10:16:15 +01:00
Ran Benita
9bee76ee44 man: systemctl - clarify condrestart, force-reload 2010-11-30 19:51:48 +01:00
Ran Benita
3d428115cf man: systemctl - spelling fixes 2010-11-28 14:00:49 +01:00
Lennart Poettering
6bd2127711 man: make clear that VERSION and VERSION_ID is not mandatory in os-release.5 2010-11-22 00:26:08 +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