1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00
Commit Graph

1047 Commits

Author SHA1 Message Date
Lennart Poettering
8973790ee6 cryptsetup: warn if /etc/crypttab is world-readable 2013-04-30 08:36:01 -03:00
Lennart Poettering
5954c07433 cgroup: do not allow manipulating the cgroup path of units within the systemd:/system subtree 2013-04-30 08:36:01 -03:00
Lennart Poettering
aa96c6cb44 id128: when taking user input for a 128bit ID, validate syntax
Also, always accept both our simple hexdump syntax and UUID syntax.
2013-04-30 08:36:01 -03:00
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
Lennart Poettering
790838e4f1 fstab-generator: rename x-initrd-rootfs.mount to x-initrd.rootfs
This changes the fstab mount option x-initrd-rootfs.mount to
x-initrd.rootfs, in order to only use a single namespace "x-initrd." for
all mount options of the initrd.
2013-03-25 18:18:11 +01:00
Lennart Poettering
eece8c6fb5 update TODO 2013-03-25 18:17:15 +01:00
Lennart Poettering
a9602630c6 update TODO 2013-03-25 17:26:15 +01:00
Kay Sievers
7964dfca1b journald: remove unconditional log_*() use in the main loop
Setting MaxRetentionSec= caused the kernel log to overflow and the
journal daemon to enter an endless loop.

Logging from the journald main loop gets directed to /dev/kmsg,
which wakes up journald again. We skip the import of this message
by checking for our own PID, but this still causes the main loop
to never go to sleep again because we never stopped logging from
there.
2013-03-23 21:09:37 +01:00
Kay Sievers
7eb1dfcfc4 TODO: add journal MaxRetentionSec= bug 2013-03-23 20:36:05 +01:00
Kay Sievers
d325d9bcfa TODO: add "dead" device node ACL handling 2013-03-23 14:01:44 +01:00
Kay Sievers
b87b8b2b52 TODO: update 2013-03-23 13:34:13 +01:00
Lennart Poettering
67c67c8f19 update TODO 2013-03-23 04:03:32 +01:00
Lennart Poettering
64e30145fc update TODO 2013-03-23 03:19:55 +01:00
Lennart Poettering
356ce9915a update TODO 2013-03-22 23:28:44 +01:00
Lennart Poettering
bfa00bc6c0 update TODO 2013-03-22 21:18:10 +01:00
Zbigniew Jędrzejewski-Szmek
811de196b3 systemd-python: allow retrieval of single fields
This can give huge efficiency gains, e.g. if only MESSAGE
is required and all other fields can be ignored.
2013-03-21 23:05:09 -04:00
Zbigniew Jędrzejewski-Szmek
1cdcd71be0 systemd-python: implement _Reader.test_cursor
Getting the cursor is split out from .get_next() into
.get_cursor(). This mirrors the C API more closely, and
also makes things a bit faster if the cursor is not needed.
2013-03-21 22:39:24 -04:00
Zbigniew Jędrzejewski-Szmek
50a279f857 systemd-python: export sd_journal_get_usage 2013-03-21 22:39:24 -04:00
Lennart Poettering
09f727eebd update TODO 2013-03-20 23:00:29 +01:00
Zbigniew Jędrzejewski-Szmek
2b01924cda systemd-python: add journal.get_catalog()
This one wraps sd_journal_get_catalog_from_message_id.
Thanks to Python namespacing, we can stick to a shorter name.
2013-03-19 21:50:42 -04:00
Zbigniew Jędrzejewski-Szmek
6808412dad systemd-python: add _Reader.get_catalog()
This one wraps sd_journaal_get_catalog.
2013-03-19 21:50:42 -04:00
Zbigniew Jędrzejewski-Szmek
6531dac67c systemd-python: add _Reader.closed attribute
This should make the file interface of _Reader complete.
2013-03-19 21:50:42 -04:00
Tom Gundersen
0cf2d0d023 udev: net-name-slot - disable by kernel command line switch
The properties will still be set in the udev database, but they will not be used
for setting the interface names. As for the other kernel commandline switches,
we allow it to be prefixed by 'rd.' to only apply in the initrd.
2013-03-18 18:28:59 +01:00
Josh Triplett
3b953d68c6 TODO: uses for SO_REUSEPORT
The new socket option SO_REUSEPORT would enable some new functionality;
add it to TODO.
2013-03-15 22:56:40 -04:00
Zbigniew Jędrzejewski-Szmek
b04c8c83e8 systemd-python: add systemd.daemon wrapping sd-daemon
Please see the documentation (e.g. pydoc3 systemd.daemon) for full
description. As usual, systemd._daemon wraps the raw interface, while
systemd.daemon provides the more pythonic API. sd_listen_fds,
sd_booted, sd_is_fifo, sd_is_socket, sd_is_socket_unix,
sd_is_socket_inet, sd_is_mq, and SD_LISTEN_FDS_START are currently
wrapped.
2013-03-15 22:55:24 -04:00
Kay Sievers
7aaec603d9 TODO: update 2013-03-15 17:48:12 +01:00
Kay Sievers
99d680acf1 tmpfiles: --clean -- check for bind mounts of the same filesystem and skip them 2013-03-13 13:16:10 +01:00
Lennart Poettering
795607b223 update TODO 2013-03-11 17:49:49 +01:00
Kay Sievers
c33e2a7c46 TODO: update 2013-03-09 18:14:54 +01:00
Lennart Poettering
5b3968b793 update TODO 2013-03-08 14:05:01 +01:00
Lennart Poettering
cf4eeabb90 update TODO 2013-03-08 13:49:29 +01:00
Lennart Poettering
0be8342c04 update TODO 2013-03-08 00:45:04 +01:00
Lennart Poettering
2e4015f3e7 update TODO 2013-03-07 21:48:17 +01:00
Zbigniew Jędrzejewski-Szmek
db7f1dde30 systemd-python: fix segfault on double close 2013-03-07 15:35:50 -05:00
Lennart Poettering
247c873b42 update TODO 2013-03-07 20:53:47 +01:00
Zbigniew Jędrzejewski-Szmek
7ba9719595 TODO: python stuff and freeze and standby 2013-03-07 12:42:57 -05:00
Lennart Poettering
61a9648f02 update TODO 2013-03-06 15:39:37 +01:00
Lennart Poettering
f47ec8ebb3 update TODO 2013-03-05 18:59:14 +01:00
Lennart Poettering
6bc80e94b6 update TODO 2013-03-05 04:10:19 +01:00
Kay Sievers
3f60bcb5e6 udev: firmware - do not created /run/udev/firmware-missing/
The userspace firmware loader is deprecated now, and will be entirely
removed when we depend on a kernel version with the built-in firmware
loader available.
2013-03-03 18:31:52 +01:00
Michael Biebl
b8fe3faf9f Update TODO 2013-03-03 14:40:49 +01:00
Tom Gundersen
533740e161 fstab-generator: drop rootwait support
I originally added this to stay as compatible as possible with the kernel, but
as Lennart argued it is not really useful in the initramfs, so let's drop it (we
already don't support 'rootdealy').
2013-03-01 21:17:19 +01:00
Lennart Poettering
9058482225 update TODO 2013-03-01 19:22:30 +01:00
Lennart Poettering
487060c239 specifier: when resolving specifier strings when loading configuration, don't misunderstand parse failures as OOM
http://lists.freedesktop.org/archives/systemd-devel/2013-February/009179.html
2013-03-01 14:54:55 +01:00
Lennart Poettering
54c31a79f7 man: clarify systemctl --property= documentation a bit 2013-02-28 19:55:48 +01:00
Lennart Poettering
3cd170c33e update TODO 2013-02-28 13:48:53 +01:00
Zbigniew Jędrzejewski-Szmek
2ca0435be9 systemd-activate: add a socket-activation test tool 2013-02-27 22:10:14 -05:00
Lennart Poettering
f0c15f2885 update TODO 2013-02-27 18:56:25 +01:00
Lennart Poettering
826872b61e update TODO 2013-02-27 15:00:38 +01:00
Kay Sievers
c06bf41404 mount-setup: mount pstore filesystem 2013-02-27 13:08:20 +01:00
Lennart Poettering
3679d1126b update TODO, hackfest edition 2013-02-27 02:27:45 +01:00
Kay Sievers
1495115aa4 TODO: update 2013-02-26 16:17:54 +01:00
Zbigniew Jędrzejewski-Szmek
89f603f5d8 TODO: drop two items 2013-02-22 16:55:14 +01:00
Harald Hoyer
2792bd6fef TODO: removed ratelimit 2013-02-21 10:30:14 +01:00
Harald Hoyer
696164cb5b fstab-generator: change kernel command line mount path for root
Use /sysroot instead of /new_root to mount the real root in the
initramfs.
2013-02-21 10:27:38 +01:00
Zbigniew Jędrzejewski-Szmek
599391d88b man: document %% 2013-02-20 11:17:43 +01:00
Auke Kok
486bdbded8 TODO 2013-02-16 16:40:02 -08:00
Thomas Hindoe Paaboel Andersen
39ccc87c8a update TODO 2013-02-14 22:16:58 +01:00
Auke Kok
edc211f314 bootchart items 2013-02-13 20:22:12 -08:00
Simon Peeters
1700761b06 Move systemctl dot to systemd-analyze dot 2013-02-13 14:47:05 -08:00
Lennart Poettering
93eec5c774 update TODO 2013-02-13 23:08:52 +01:00
Lennart Poettering
3ac525bd75 update TODO 2013-02-13 21:20:42 +01:00
Lennart Poettering
cbb7712189 TODO 2013-02-13 19:36:09 +01:00
Lennart Poettering
dd359de89b update TODO 2013-02-13 04:57:30 +01:00
Auke Kok
b1ce67bf33 TODO: bootchart items 2013-02-12 16:58:00 -08:00
Lennart Poettering
d01a73b639 update TODO 2013-02-13 00:12:58 +01:00
Lennart Poettering
efd3cf4326 update TODO 2013-02-09 02:47:42 +01:00
Lennart Poettering
2d96536dd7 logind: rename "seat-master" tag to "master-of-seat"
We currently enforce that seats are to be named in the form of
"seatXXX", i.e. need to begin with the 4 characters "seat". Thus,
"seat-master" would qualify as a seat name. As seat names are frequently
used as tags on devices, the "seat-master" tag might hence confuse
logind if the user decides to name a seat "seat-master".

Hence, avoid any ambuigity: let's rename the "seat-master" tag to
"master-of-seat".
2013-02-09 01:25:55 +01:00
Lennart Poettering
eb124a97fb update TODO 2013-02-09 01:17:36 +01:00
Lennart Poettering
990ffbe5cf update TODO 2013-02-08 23:31:37 +01:00
Zbigniew Jędrzejewski-Szmek
0a4c519bd3 man: see also dracut(7) in bootup(7) 2013-02-06 23:15:31 -05:00
Lennart Poettering
398a745c73 update TODO 2013-02-04 22:27:32 +01:00
Lennart Poettering
f8aeee1f1f update TODO 2013-02-04 20:46:17 +01:00
Kay Sievers
2f8d077ece TODO: update 2013-02-04 18:54:58 +01:00
Zbigniew Jędrzejewski-Szmek
7bcd865d38 test: some trivial fixes to test scripts
- fix typo
- use compiled systemd-nspawn
- drop --capability=... from systemd-nspawn invocation, is is the default now
- simplify sudo make invocations
2013-01-29 19:01:41 -05:00
Lennart Poettering
390b5e558c TODO 2013-01-29 01:44:39 +01:00
Lennart Poettering
81d112a8f0 update TODO 2013-01-29 00:36:23 +01:00
Kay Sievers
c0fe5db522 TODO: update 2013-01-27 22:59:01 +01:00
Lennart Poettering
b44be3ecf6 reorganize TODO 2013-01-25 21:12:15 +01:00
Lennart Poettering
314b4b0a68 logind: rework delay inhibition logic
- Don't allow any locks to be taken while we are in the process of
  executing the specific operation, so that apps are not surprised if a
  suspend/shutdown happens while they rely on their inhibitor.

- Get rid of the Resumed signal, it was a bad idea, and redundant due to
  PrepareForSleep(false), see below.

- Always send out PrepareFor{Shutdown,Sleep} signals, instead of only if
  a delay lock is taken.

- Move PrepareForSleep(false) after we come back from the suspend, so
  that apps can use this as "Resumed" notification. This also has the
  benefit that apps know when to take a new lock.
2013-01-25 06:30:23 +01:00
Lennart Poettering
5486bcefe5 update TODO 2013-01-25 03:10:18 +01:00
Lennart Poettering
0028da22f1 update TODO 2013-01-25 03:07:24 +01:00
Zbigniew Jędrzejewski-Szmek
245d345f75 build-sys: link runlevel targets on install only if sysv compat is enabled 2013-01-24 16:25:36 -05:00
Lennart Poettering
bfb7ec0eba update TODO 2013-01-24 05:33:33 +01:00
Lennart Poettering
a4cc3e5ccc update TODO 2013-01-24 02:59:46 +01:00
Lennart Poettering
46d785ca84 update TODO 2013-01-21 03:19:36 +01:00
Lennart Poettering
50326b1353 update TODO 2013-01-21 01:28:13 +01:00
Kay Sievers
746c8397a0 TODO: update loader variables 2013-01-20 04:12:29 +01:00
Lennart Poettering
ba70211e0f update TODO 2013-01-19 02:11:41 +01:00
Lennart Poettering
80d22739a7 update TODO 2013-01-19 01:13:52 +01:00
Lennart Poettering
59704f3e93 update TODO 2013-01-19 01:07:28 +01:00
Lennart Poettering
adf36dd0ae update TODO 2013-01-19 01:02:30 +01:00
Lennart Poettering
7e2c2bcf12 update TODO 2013-01-18 01:48:46 +01:00
Kay Sievers
2fd9b50ce2 TODO: remove vconsole items
We should not pimp up the kernel's VC stuff, it's too linited and
fragile.

At the moment not even the font uploaded early during bootup does
survive the KMS driver taking over the framebuffer driver. We
surely don't want to make promises about colors or resolution.

The future is fullscreen KMS/kmscon/wayland/... based terminals using
X fonts, keymaps, input methods, and not the old school too limited
kernel VC stuff. So leave the kernel VCs as they are, and don't expect
wonders.
2013-01-17 17:00:50 +01:00
Kay Sievers
abd55b1654 TODO: update udev 2013-01-17 03:30:55 +01:00
Lennart Poettering
7f87328352 update TODO 2013-01-17 02:50:05 +01:00
Lennart Poettering
a74a8793b0 update TODO 2013-01-17 00:11:53 +01:00
Kay Sievers
2d19f95cae TODO: Fedora 19 - /var/log/journal/ 2013-01-16 05:02:53 +01:00
Kay Sievers
d3a3f22267 TODO: add autofs expire details 2013-01-16 05:01:04 +01:00
Kay Sievers
3a7b06c8a8 TODO: update 2013-01-16 04:26:49 +01:00
Kay Sievers
9795da43c4 doc: disable "make check" for gtk-doc 2013-01-16 04:26:49 +01:00