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
cee1
37f85e66e8
util: detect page size runtime.
...
Some architectures support multiple machine types with diffenent
page sizes, and some machine types even support multiple
page sizes themselves.
2011-03-28 21:42:31 +02:00
Lennart Poettering
f9276855a1
man: explain a couple of default dependencies
2011-03-28 21:36:13 +02:00
Kay Sievers
65c9e46752
tainted: don't check if /usr is a mount point, only if it's not already mounted at startup
2011-03-24 22:32:21 +01:00
Kay Sievers
7a03b1970c
update TODO
2011-03-23 01:33:07 +01:00
Andrey Borzenkov
2fccaefffe
man: no keep-root in pam_systemd anymore
2011-03-22 20:31:10 +03:00
Kay Sievers
4d99d2fd3c
update TODO
2011-03-21 15:09:12 +01: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
9700edb4e8
service: pull in sysv facility targets from the sysv units, not the other way round
...
For an explanation see:
http://lists.freedesktop.org/archives/systemd-devel/2011-March/001692.html
2011-03-18 05:26:25 +01:00
Lennart Poettering
a0e155d440
units: pull in syslog.target from syslog.socket
2011-03-18 05:17:02 +01:00
Lennart Poettering
d94ac66d32
units: don't ever pull in SysV targets from other SysV targets
2011-03-18 05:13:06 +01:00
Lennart Poettering
1c7c17ea61
units: document that some targets exists only for compat with SysV
2011-03-18 05:12:34 +01: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
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
b1c66c44ef
units: on mandriva/fedora create single.service alias via symlink, not Names=
2011-03-18 04:53:31 +01:00
Lennart Poettering
97df13c0ac
units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more useful
2011-03-18 04:53:31 +01:00
Lennart Poettering
997a624029
units: get rid of empty units/suse/ subdir
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
893844ed43
dbus: add service D-Bus property "Sockets"
2011-03-17 23:22:49 +03:00
Andrey Borzenkov
cb7f69965d
dbus: consolidate service SysV conditionals
...
No need to define the same set of properties twice. While on it,
add FsckPassNo to introspection.
2011-03-17 23:22:49 +03:00
Kay Sievers
a49408ec64
update TODO
2011-03-17 15:15:36 +01:00
Kay Sievers
7d9e57d2cf
update TODO
2011-03-17 14:03:17 +01:00
Lennart Poettering
2791a8f8dc
unit: serialize condition test results
2011-03-17 04:36:19 +01:00
cee1
d59d0a2b4b
read-ahead: Fix broken systemd-readahead-collect on mips.
...
This actually adjust the __NR_fanotify* system call numbers to proper
ones on mips(according userspace ABI).
2011-03-17 04:03:44 +01:00
Lennart Poettering
f6a6225e41
def: centralize definition of default timeout in one place
2011-03-17 04:02:35 +01:00
Lennart Poettering
b74949bcdc
chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter
2011-03-17 03:42:25 +01:00
Lennart Poettering
a76f7be2b0
systemctl: accept condstop as alias for stop
2011-03-17 03:41:51 +01:00
Lennart Poettering
e677657e8d
dbus: allow LoadUnit to unprivileged users
2011-03-17 03:41:29 +01:00
Lennart Poettering
d72238fcb3
umount: make sure skip_ro is always correctly initialized
2011-03-16 22:30:00 +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
Miklos Vajna
196e3fa74a
Add Frugalware display-manager service
2011-03-16 03:53:55 +01:00
Jan Engelhardt
bba6cb45a5
main: revert recognition of "b" argument
...
Commit 099663ff8c
added "b" as a
recognized argument, however, B is not a runlevel like S. (B appears
as a pseudo runlevel in openSUSE's init.d scripts only for the sake of
insserv being able to manage /etc/init.d/boot.d like the other dirs).
2011-03-16 03:53:13 +01:00
Lennart Poettering
d821e6d69a
main: interpret all argv[] arguments unconditionally when run in a container
2011-03-16 03:41:49 +01:00
Lennart Poettering
a2c422cbbe
loopback: downgrade an error to warning
2011-03-16 03:35:38 +01:00
Lennart Poettering
715ac17a84
nspawn: bind mount /etc/localtime
2011-03-16 03:27:02 +01:00
Lennart Poettering
fd14078a3a
nspawn: make tty code more robust against closed/reopened /dev/console
2011-03-16 03:18:23 +01:00
Lennart Poettering
14f3c8252b
util: make touched files non-writable by default
2011-03-16 02:58:05 +01:00
Lennart Poettering
a258bf2648
nspawn: allocate a new pty instead of passing ours through to avoid terminal settings chaos
2011-03-16 02:57:52 +01:00
Lennart Poettering
6ef1b05339
main: parse the whole arv[] as kernel command line
2011-03-16 02:56:30 +01:00
Lennart Poettering
dfa7f7e139
main: check if we have a valid PID before getting the name of it
2011-03-16 02:55:55 +01:00
Lennart Poettering
f9b72cd804
ask-password: reset signal mask after we are done
2011-03-16 02:55:27 +01:00
Lennart Poettering
0ac1082273
cgroup: don't recheck all the time whether the systemd hierarchy is mounted, to make strace outputs nicer and save a few stat()s
2011-03-15 21:21:38 +01:00
Lennart Poettering
8f7a3c1402
man: document systemd-nspawn
2011-03-15 20:51:59 +01:00
Lennart Poettering
b9a8e638ed
cgls: don't strip user processes and kernel threads from default output
2011-03-15 18:43:47 +01:00