1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 01:55:32 +03:00
Commit Graph

944 Commits

Author SHA1 Message Date
Lennart Poettering
d6dd604b55 util: rework safe_atod() to be locale-independent
This adds some syntactic sugar with a macro RUN_WITH_LOCALE() that reset
the thread-specific locale temporarily.
2013-04-25 00:05:14 -03:00
Lennart Poettering
db5c012285 conf-parser: restrict .include usage
Disallow recursive .include, and make it unavailable in anything but
unit files.
2013-04-25 00:05:14 -03:00
Lennart Poettering
78edb35ab4 cgroup: always validate cgroup controller names
Let's better be safe than sorry.
2013-04-24 19:02:13 -03:00
Lennart Poettering
e8a7a31539 nss-myhostname: resolve 'localhost' so that /etc/hosts becomes optional
This makes sure nss-myhostname not only resolves the local host name to
127.0.0.2/::1 but also the host name 'localhost: to 127.0.0.1/::1. This
makes installation of /etc/passwd optional, as it usually only includes
a mapping for 'localhost'.

This change also resolves ::1 to the local hostname (as before), but
also lists 'localhost' as an alias. This means look-ups are now fully
reversible, even though they are 1:n mappings.

Finally, the module will no longer erroneously claim that local IP
addresses which aren't on the loopback device were.
2013-04-24 19:02:13 -03:00
Lennart Poettering
2b77f67e78 fileio: unify how we chop off whitespace from key and value in parse_env_file_internal() 2013-04-24 19:02:13 -03:00
Zbigniew Jędrzejewski-Szmek
fff87a35d9 test: make it easier to override kernel version 2013-04-24 00:25:04 -04:00
Lennart Poettering
e41e194340 timer: make sure we restart timers even if units are still running or if one of their conditions fails 2013-04-23 17:42:31 -03:00
Lennart Poettering
0e99f1d6f8 update TODO 2013-04-23 16:00:32 -03:00
Lennart Poettering
ae018d9bc9 cgroup: make sure all our cgroup objects have a suffix and are properly escaped
Session objects will now get the .session suffix, user objects the .user
suffix, nspawn containers the .nspawn suffix.

This also changes the user cgroups to be named after the numeric UID
rather than the username, since this allows us the parse these paths
standalone without requiring access to the cgroup file system.

This also changes the mapping of instanced units to cgroups. Instead of
mapping foo@bar.service to the cgroup path /user/foo@.service/bar we
will now map it to /user/foo@.service/foo@bar.service, in order to
ensure that all our objects are properly suffixed in the tree.
2013-04-22 23:14:12 -03:00
Lennart Poettering
8fc66914c0 update TODO 2013-04-22 23:14:11 -03:00
Zbigniew Jędrzejewski-Szmek
a383724e42 systemd,nspawn: use extended attributes to store metadata
All attributes are stored as text, since root_directory is already
text, and it seems easier to have all of them in text format.

Attributes are written in the trusted. namespace, because the kernel
currently does not allow user. attributes on cgroups. This is a PITA,
and CAP_SYS_ADMIN is required to *read* the attributes. Alas.

A second pipe is opened for the child to signal the parent that the
cgroup hierarchy has been set up.
2013-04-21 21:43:43 -04:00
Kay Sievers
fcdfc15924 TODO: remove dbus items which we will not touch anymore 2013-04-20 19:26:28 +02:00
Josh Triplett
601d9d6fb3 TODO: journal enhancements 2013-04-20 19:24:33 +02:00
Lennart Poettering
ef3b524687 build-sys: prepare release 202 2013-04-19 00:41:24 +02:00
Marius Vollmer
a3e6f050de journal: when iterating through a file we might lose messages when changing direction.
https://bugs.freedesktop.org/show_bug.cgi?id=63672
2013-04-18 22:34:36 +02:00
Lennart Poettering
461bd8e47c update TODO 2013-04-18 22:19:33 +02:00
Lennart Poettering
248f077586 update TODO 2013-04-18 02:54:58 +02:00
Lennart Poettering
ab8e074ce2 update TODO 2013-04-17 22:24:07 +02:00
Lennart Poettering
b454b11220 update TODO 2013-04-17 18:48:32 +02:00
Lennart Poettering
4a449ed73d update TODO 2013-04-17 16:19:05 +02:00
Harald Hoyer
755123030a TODO: add s.th. like "systemctl set-log-level debug" 2013-04-17 15:41:18 +02:00
Harald Hoyer
aa21e2bf21 TODO: remove fixed systemctl property bug 2013-04-17 08:48:07 +02:00
Harald Hoyer
7e7d4da229 timedated: fixed NTP enabled: n/a 2013-04-17 08:28:41 +02:00
Lennart Poettering
d8d3d8a781 bus: parse unit/user unit/session from cgroup path 2013-04-16 04:54:46 +02:00
Lennart Poettering
4ff49cb630 update TODO 2013-04-16 04:41:21 +02:00
Lennart Poettering
a53824ea74 update TODO 2013-04-15 21:59:04 +02:00
Auke Kok
a1d4ca9d8a TODO: bootchart items. 2013-04-14 14:11:47 -07:00
Lennart Poettering
4cda0f2116 update TODO 2013-04-11 23:10:41 +02:00
Kay Sievers
3fd0bd432d TODO: update 2013-04-11 19:56:34 +02:00
Zbigniew Jędrzejewski-Szmek
c2e09812e9 shell-completion: show failed units as candidates for start
Also show disabled units as candidates for reenable,
since it works and one may want to do enable-or-reenable
in one line.
2013-04-10 19:47:21 -04:00
Lennart Poettering
b8b4d3dddc update TODO 2013-04-09 22:20:05 +02:00
Lennart Poettering
3df82d5a8c update TODO 2013-04-08 20:35:25 +02:00
Kay Sievers
5666ea6fca TODO: update 2013-04-08 16:52:50 +02:00
Lennart Poettering
b6b7d43379 update TODO 2013-04-08 15:23:52 +02:00
Lennart Poettering
4b9c52209b update TODO 2013-04-05 00:24:00 +02:00
Lennart Poettering
60491a2869 update TODO 2013-04-04 17:50:13 +02:00
Lennart Poettering
911963f1a2 update TODO 2013-04-03 23:00:08 +02:00
Lennart Poettering
d1148ed10a update TODO 2013-04-02 17:47:59 +02:00
Lennart Poettering
e5ec62c569 update TODO 2013-04-02 01:28:01 +02:00
Thomas Weißschuh
9ece938a67 cryptsetup: RequiresMountsFor if source is a file
Fixes: https://bugzilla.novell.com/show_bug.cgi?id=730496
       https://bugs.freedesktop.org/show_bug.cgi?id=60821
2013-04-01 00:37:48 -04:00
Oleksii Shevchuk
aa7c3195f2 Add AllowIsolate=yes to snapshots 2013-04-01 00:37:48 -04:00
Zbigniew Jędrzejewski-Szmek
cc1f918dda units/user: default.target must be isolatable
...
Activating default unit: default.target
Default target could not be isolated, starting instead: Operation refused, unit may not be isolated.
2013-03-31 19:43:14 -04:00
Lennart Poettering
5a494eacbb TODO 2013-03-30 15:21:54 +01:00
Kay Sievers
7db293c4a0 TODO: update 2013-03-30 15:03:09 +01:00
Lennart Poettering
b5c03638d4 update TODO 2013-03-29 18:31:07 +01:00
Zbigniew Jędrzejewski-Szmek
13cbf3a5f0 journalctl: support --root for message catalogs 2013-03-28 23:45:59 -04:00
Lennart Poettering
03e1151676 build-sys: bump version and .so revisions 2013-03-26 15:43:43 +01:00
Lennart Poettering
54f874c56b man: rearrange systemd.special(7) to clarify which units are passive and which ones aren't
This also adds a short explanation paragraph for this.
2013-03-25 22:33:08 +01:00
Lennart Poettering
752beb0c85 update TODO 2013-03-25 22:09:53 +01:00
Lennart Poettering
ee64428ec2 update TODO 2013-03-25 21:29:09 +01:00