Commit graph

1245 commits

Author SHA1 Message Date
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
Lennart Poettering 8e417f59b6 update TODO 2013-01-15 20:50:33 +01:00
Lennart Poettering 728075eea8 update TODO 2013-01-15 18:14:13 +01:00
Zbigniew Jędrzejewski-Szmek f6b6728d1d man: generate xml not html for index
This way we also get a man page. The output is not as polished.
I hope that it doesn't matter too much.

index.html is not generated now, the page is called
systemd.index.html. If necessary, an install hook should be added.
2013-01-15 11:30:42 -05:00
Zbigniew Jędrzejewski-Szmek 9cc2c8b763 man: add links to directive index to see-alsos
systemd.directives(5) is renamed to systemd.directives(7).
Section 7 is "Miscellaneous".
2013-01-15 11:30:42 -05:00
Lennart Poettering c817bbb1cb Update TODO 2013-01-15 03:05:55 +01:00
Lennart Poettering ec6d2611e4 update TODO 2013-01-14 23:30:20 +01:00
Lennart Poettering 7b4da18c17 update TODO 2013-01-14 21:25:24 +01:00
Lennart Poettering 6eebcda6a2 update TODO 2013-01-14 20:34:56 +01:00
Lennart Poettering 946c11ed25 update TODO 2013-01-11 01:10:17 +01:00
Lennart Poettering 988d77ef2e update TODO 2013-01-10 03:10:47 +01:00
Kay Sievers d5a89d7dc1 udev: move string copy functions to shared/ 2013-01-09 19:06:46 +01:00
Lennart Poettering 9096ad367f update TODO 2013-01-08 21:39:44 +01:00
Lennart Poettering 788f75a0e7 update TODO 2013-01-08 19:44:04 +01:00
Kay Sievers d0100018c2 TODO: update 2013-01-07 23:48:43 +01:00
Lennart Poettering 205b7fa465 update TODO 2013-01-07 22:16:07 +01:00
Tom Gundersen 9c2c47b428 TODO 2013-01-07 15:17:12 +01:00
Zbigniew Jędrzejewski-Szmek d05c556b6b update TODO 2013-01-06 13:53:44 -05:00
Kay Sievers 772374a8c4 TODO: update 2013-01-06 19:14:56 +01:00
Kay Sievers 48a849ee17 udev: set device node permissions only at "add" events 2013-01-04 16:15:46 +01:00
Thomas Hindoe Paaboel Andersen 1a0fce458d systemctl: add is-failed
Adds is-failed to join is-active and is-enabled.

I grabbed this one from the todo list. Most of the functionality was
already there for is-active. I just needed to make check_one_unit take
the states to check for as an argument instead of the hardcoded
"active" and "reloading".

is-failed will return 1 if none of the units given are failed. This is
different from is-active which will return 3 if none of the units
given are active. It returns 3 with this comment:
/* According to LSB: "program is not running" */
As that does not make sense when looking for failed units I simply
chose 1 instead.
2013-01-04 00:33:25 +01:00
Lennart Poettering 9b41366bae TODO 2012-12-31 21:24:26 +01:00
Lennart Poettering 240dbaa44f unit: add ConditionACPower= 2012-12-31 21:24:26 +01:00
Lennart Poettering 2a2784badc TODO 2012-12-31 21:24:26 +01:00
Lennart Poettering 31c15e20ce TODO 2012-12-31 21:24:26 +01:00
Lennart Poettering a78a8c4337 update TODO 2012-12-24 19:12:22 +01:00
Lennart Poettering 95b4be1719 update TODO 2012-12-24 00:29:40 +01:00
Lennart Poettering 15abdb9a6f update TODO 2012-12-24 00:29:39 +01:00
Lennart Poettering 2d0b0528ac update TODO 2012-12-22 22:17:58 +01:00
Lennart Poettering 373d8fccc1 update TODO 2012-12-21 22:20:46 +01:00
Lennart Poettering 499519c649 update TODO 2012-12-19 20:50:42 +01:00
Lennart Poettering 490b7e4709 update TODO 2012-12-19 15:27:44 +01:00
Sami Kerola 23757887f7 licence: remove references to old FSF address
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206
2012-12-17 11:41:31 +01:00
Zbigniew Jędrzejewski-Szmek 20ad4cfd8e core: add catalog entry and MESSAGE_ID for overmounting 2012-12-05 12:25:50 +01:00
Lennart Poettering 8403cbbe7b update TODO 2012-11-25 00:34:43 +01:00
Lennart Poettering d85f4d4ebf update TODO 2012-11-24 00:24:46 +01:00
Lennart Poettering b8b3589f2e update TODO 2012-11-23 21:38:15 +01:00
Lennart Poettering 2eb8ca3b3e update TODO 2012-11-23 18:35:09 +01:00
David Strauss c649f72bae Update TODO to include splitting systemd-analyze.
The split should be into a lightweight collection tool that can run
with minimal dependencies and resources for server and embedded
systems. The analysis tool can pull in desktop-style dependencies
like Cairo and GTK.
2012-11-23 03:51:41 -06:00
Lennart Poettering 5965984d6b update TODO 2012-11-22 20:16:29 +01:00
Lennart Poettering a624aa9e3d update TODO 2012-11-22 20:16:29 +01:00
Lennart Poettering 98ef27df89 update TODO 2012-11-22 00:45:22 +01:00
Lennart Poettering 3c957acf86 nspawn: reset supplementary and main group id before entering nspawn 2012-11-22 00:45:22 +01:00
Lennart Poettering 9b4a547408 update TODO 2012-11-21 18:55:01 +01:00
Lennart Poettering 8b04b925e5 update TODO 2012-11-21 00:33:37 +01:00
Lennart Poettering e41814846c update TODO 2012-11-20 21:39:16 +01:00
Lennart Poettering 54728c372a update TODO 2012-11-20 21:39:16 +01:00
Lennart Poettering e9fd44b728 update TODO 2012-11-20 19:13:54 +01:00
Lennart Poettering 3040728b66 update TODO 2012-11-20 19:12:19 +01:00
Lennart Poettering 78db35f371 update TODO 2012-11-20 00:21:44 +01:00
Lennart Poettering 8ed206517c update TODO 2012-11-20 00:21:44 +01:00
Lennart Poettering 92b5814007 update TODO 2012-11-16 20:07:14 +01:00
Lennart Poettering 6f9e5c9619 update TODO 2012-11-16 03:03:30 +01:00
Lennart Poettering e6c6e7afff update TODO 2012-11-16 01:36:29 +01:00
Lennart Poettering 8e6054f732 Update TODO 2012-11-15 23:07:25 +01:00
Lennart Poettering e673ad0415 update TODO 2012-11-14 22:21:16 +01:00
Lennart Poettering 7361c3b4e1 TODO 2012-11-14 22:21:16 +01:00
Kay Sievers 35ec16ea8a TODO: update 2012-11-12 01:03:14 +01:00
Kay Sievers 40fe8b11be udev: use usec_t and now() 2012-11-12 01:03:14 +01:00
Kay Sievers f6113d42d0 TODO: update 2012-11-07 14:06:29 +01:00
Thomas Hindoe Paaboel Andersen edca2e2348 README,TODO: typo fixes 2012-11-05 21:13:28 +01:00
Kay Sievers 7a43e910ce TODO: fix typo 2012-11-05 02:17:23 +01:00
Kay Sievers 6aa220e019 mount-setup: try mounting 'efivarfs' only if the system bootet with EFI 2012-11-04 17:03:48 +01:00
Kay Sievers d2e83c23f5 TODO: update RTC, DST stuff 2012-11-04 15:47:08 +01:00
Kay Sievers 39cff5961a TODO: add efi check 2012-11-04 12:17:28 +01:00
Kay Sievers 62ffb3327a TODO: update 2012-11-02 15:18:29 +01:00
Kay Sievers 465b1686ec TODO: update 2012-11-02 00:34:07 +01:00
Lennart Poettering 173fa08331 update TODO 2012-10-31 02:57:26 +01:00
Lennart Poettering c55b1b59b8 update TODO 2012-10-31 00:13:55 +01:00
Lennart Poettering e65d8c3760 update TODO: insserv belongs on the chopping block 2012-10-30 23:58:10 +01:00
Lennart Poettering 822e5dd1d6 update TODO 2012-10-30 18:30:44 +01:00
Lennart Poettering faf22b6559 update TODO 2012-10-30 03:40:42 +01:00
Kay Sievers 6c1703cc35 update TODO 2012-10-29 20:56:02 +01:00
Zbigniew Jędrzejewski-Szmek f2d433e178 Tweak TODO 2012-10-28 02:14:41 +02:00
Lennart Poettering 9ec82de172 update TODO 2012-10-28 00:50:35 +02:00
Lennart Poettering e9f600f2fb journal: fix parsing of monotonic kernel timestamps 2012-10-26 14:56:41 +02:00
Lennart Poettering e707c49485 update TODO 2012-10-26 03:55:58 +02:00
Lennart Poettering 220369cc0c update TODO 2012-10-26 01:18:41 +02:00
Lennart Poettering a73d88fa02 update TODO 2012-10-25 01:24:44 +02:00
Lennart Poettering a19554ed92 update TODO 2012-10-24 01:06:30 +02:00
Lennart Poettering 1cb88f2c61 update TODO 2012-10-23 17:13:20 +02:00
Kay Sievers 796b06c21b udev: add hardware database support 2012-10-23 16:43:32 +02:00
Lennart Poettering 603cd8fe07 update TODO 2012-10-23 01:53:23 +02:00
Lennart Poettering 06bf461193 update TODO 2012-10-23 00:12:33 +02:00
Lennart Poettering 936d6fcb6c update TODO 2012-10-20 17:01:19 +02:00
Lennart Poettering 3ce51ebb3d Update TODO 2012-10-19 00:58:31 +02:00
Lennart Poettering 8481248b9f util: unify usage of on_tty() in util.c 2012-10-19 00:07:55 +02:00
Lennart Poettering ea117d4fde update TODO 2012-10-18 03:35:58 +02:00
Lennart Poettering 935fb723ba update TODO 2012-10-17 21:51:16 +02:00
Lennart Poettering 6d0274f115 timedatectl: introduce new command line client for timedated
Much like logind has a client in loginctl, and journald in journalctl
introduce timedatectl, to change the system time (incl. RTC), timezones
and related settings.
2012-10-17 21:25:42 +02:00
Lennart Poettering 4b69bfdb5b update TODO 2012-10-16 22:59:14 +02:00
Lennart Poettering f530371f1f update TODO 2012-10-16 01:04:32 +02:00
Lennart Poettering a7a3f28be4 update TODO 2012-10-15 16:28:39 +02:00
Lennart Poettering cfbc22abd0 journalctl: implement --since= and --until for filtering by time 2012-10-11 16:43:37 +02:00
Lennart Poettering 9a526a06bd update TODO 2012-10-10 22:41:02 +02:00
Lennart Poettering a8985ba3c2 update TODO 2012-10-08 20:07:50 +02:00
Zbigniew Jędrzejewski-Szmek 380d7cc5b7 Shrink TODO 2012-10-08 14:35:46 +02:00
Lennart Poettering 9b27910bb0 update TODO 2012-10-04 14:10:02 -04:00
Lennart Poettering b03bfa212d update TODO 2012-10-04 08:20:04 -04:00
Lennart Poettering 08f9588885 update TODO 2012-10-03 11:55:38 -04:00
Lennart Poettering 71ef24d095 TODO 2012-10-02 13:14:29 -04:00
Kay Sievers 7d8197d1f2 update TODO 2012-10-02 19:09:09 +02:00
Kay Sievers 9ee58bddeb update TODO 2012-10-02 18:18:41 +02:00
Kay Sievers f0ad654c68 update TODO 2012-10-02 18:07:57 +02:00
Lennart Poettering 1b89884ba3 update TODO 2012-09-27 17:18:38 +02:00
Lennart Poettering 1920e37ef9 update TODO 2012-09-24 23:26:46 +02:00
Lennart Poettering a07fdfa376 main: don't try to mout cpuset with cpu+cpuacct anymore
Turns out cpuset needs explicit initialization before we could make use
of it. Thus mounting cpuset with cpu/cpuacct would make it impossible to
just create a group in "cpu" and start it.
2012-09-24 11:35:51 +02:00
Lennart Poettering f801968466 journal: completely rework the mmap cache as I too dumb to actually understand it
Instead of doing hand optimized fd bisect arrays just use plain old
hashmaps. Now I can understand my own code again. Yay!

As a side effect this should fix some bad memory accesses caused by
accesses after mmap(), introduced in 189.
2012-09-21 20:52:23 +02:00
Lennart Poettering 409133be63 logind: allow users to override their own suspend/sleep inhibitors 2012-09-21 11:57:48 +02:00
Lennart Poettering 68e9f6e6be update TODO 2012-09-20 23:00:44 +02:00
Lennart Poettering 9e5f3dbb1c update TODO 2012-09-20 20:52:19 +02:00
Lennart Poettering 040f18ea8a util: overflow hardening 2012-09-20 11:08:27 +02:00
Lennart Poettering 06957305d7 update TODO 2012-09-19 15:46:43 +02:00
Zbigniew Jędrzejewski-Szmek 49111a708e systemctl: warn about triggering units only at the end
Instead of checking each unit separately, check once at the end. This
should avoid spurious warnings about a service being triggerable by
other stuff.
2012-09-19 08:27:34 +02:00
Zbigniew Jędrzejewski-Szmek 67445f4e22 core: move ManagerRunningAs to shared
Note: I did s/MANAGER/SYSTEMD/ everywhere, even though it makes the
patch quite verbose. Nevertheless, keeping MANAGER prefix in some
places, and SYSTEMD prefix in others would just lead to confusion down
the road. Better to rip off the band-aid now.
2012-09-18 19:53:34 +02:00
Lennart Poettering 2b4957a99e update TODO 2012-09-18 12:15:19 +02:00
Lennart Poettering c481f78be7 mount: don't mount securityfs in a container 2012-09-18 12:13:02 +02:00
Lennart Poettering 6569cae18e unit-printf: add specifiers for the host name, machine id, boot id 2012-09-18 11:53:47 +02:00
Lennart Poettering 41f9172f42 unit: split unit_printf() and friends into its own .c file 2012-09-18 11:27:56 +02:00
Lennart Poettering b7848021c3 execute: apply PAM logic only to main process if PermissionsStartOnly is set
https://bugs.freedesktop.org/show_bug.cgi?id=54176
2012-09-18 10:54:23 +02:00
Lennart Poettering c309067483 selinux: use existing library calls for audit data 2012-09-18 01:55:49 +02:00
Lennart Poettering e9ace802cf Update TODO 2012-09-18 01:17:03 +02:00
Lennart Poettering b14eda963c logind: split up inhibit acquire policy 2012-09-18 01:16:23 +02:00
Lennart Poettering 178cc7700c journald: log when we fail to forward messages to syslog
https://bugzilla.redhat.com/show_bug.cgi?id=847207
2012-09-17 23:59:26 +02:00
Lennart Poettering a866073d35 main: when transitioning from initrd to the main system log to kmsg
When the new PID is invoked the journal socket from the initrd might
still be around. Due to the default log target being journal we'd log to
that initially when the new main systemd initializes even if the kernel
command line included a directive to redirect systemd's logging
elsewhere.

With this fix we initially always log to kmsg now, if we are PID1, and
only after parsing the kernel cmdline try to open the journal if that's
desired.

(The effective benefit of this is that SELinux performance data is now
logged again to kmsg like it used to be.)
2012-09-17 17:47:47 +02:00
Lennart Poettering bfba3256a0 service: don't hit an assert if a service unit changes type and we get a spurious event from before 2012-09-17 14:56:44 +02:00
Lennart Poettering de34a42bca update TODO 2012-09-17 14:56:44 +02:00
Lennart Poettering 98a77df5fe logind: make sure there's always a getty available on TTY6
Previously, if X allocated all 6 TTYs (for multi-session for example) no
getty would be available anymore to guarantee console-based logins.

With the new ReserveVT= switch in logind.conf we can now choose one VT
(6 by default) that will always be subject to autovt-style activation,
i.e. we'll always have a getty on TTY6, and X will never take possession
of it.
2012-09-17 12:39:16 +02:00
Zbigniew Jędrzejewski-Szmek 4db17f291c build-sys: __secure_getenv lost dunder in libc 2.17 2012-09-17 00:21:25 +02:00
Lennart Poettering 49cb1ecf2d update TODO 2012-09-15 07:38:38 +02:00
Lennart Poettering 4ce849853c TODO: isolate items to fix before F18 2012-09-15 06:57:15 +02:00
Lennart Poettering dcf76484ec update TODO 2012-09-14 20:50:24 +02:00
Lennart Poettering 050a99bd7b man: update localtime(5) a bit 2012-09-14 20:45:37 +02:00
Lennart Poettering 424a19f8a2 timedate: assorted improvements
- Make writing/reading of /etc/timezone dependendent of HAVE_SYSV_COMPAT

- Introduce symlink_atomic() after all, and use it

- Use relative symlink for /etc/localtime
2012-09-14 20:02:52 +02:00
Lennart Poettering 67f3c40265 systemctl: show unit name when a job fails
https://bugzilla.redhat.com/show_bug.cgi?id=845028
https://bugzilla.redhat.com/show_bug.cgi?id=846483
2012-09-14 15:11:07 +02:00
Lennart Poettering a1cccad1fe update TODO 2012-09-13 17:11:10 +02:00
Lennart Poettering a8b10efaec readahead: use 20K instead of 16K as temporary request nr bump 2012-09-13 00:10:35 +02:00
Kay Sievers 9f26fa2217 update TODO 2012-09-12 21:28:52 +02:00
Kay Sievers 6db01ccb78 update TODO 2012-09-12 21:07:26 +02:00
Lennart Poettering 8556879e0d unit-name: rework unit_name_replace_instance function()
https://bugzilla.redhat.com/show_bug.cgi?id=855863
2012-09-12 04:46:38 +02:00
Lennart Poettering 4a30847b9d update TODO 2012-09-11 01:45:27 +02:00
Lennart Poettering b5b46d5995 when determining unit file list, include invalid unit names in an "invalid" state 2012-09-11 01:14:25 +02:00
Lennart Poettering 802840582c update TODO 2012-09-11 00:23:05 +02:00
Lennart Poettering 5e8b28838e update TODO 2012-09-10 22:45:20 +02:00
Lennart Poettering a1a03e3075 journal: add call to determine current journal file disk usage 2012-09-07 23:20:28 +02:00
Lennart Poettering 2b43f939a4 journald: avoid logging to kmsg in the normal paths 2012-09-06 00:32:51 -07:00
Lennart Poettering f687b27382 localed: system-setup-keyboard is no more on fedora 2012-09-05 23:54:09 -07:00
Lennart Poettering a29271926a man: document that ExecStart= doesn't understand shell command lines 2012-09-05 23:51:19 -07:00
Lennart Poettering cb7ed9dfca tmpfiles: don't attempt creation of device nodes when we run in a container 2012-09-05 23:42:05 -07:00
Lennart Poettering d87be9b0af nspawn: handle poweroff/reboot nicely in containers 2012-09-05 16:23:41 -07:00
Lennart Poettering a6e87e90ed journalctl: rework JSON output mode
This splits the JSON output mode into different modes: json and
json-pretty. The former printing one entry per line, the latter showing
JSON objects nicely indented and in multiple lines to make it easier to
read for humans.
2012-09-05 15:25:32 -07:00
Lennart Poettering 04bc4a3f47 nspawn: generate a new randomized boot ID for each container 2012-09-05 14:39:16 -07:00
Lennart Poettering 438bacd18e update TODO 2012-09-04 13:39:18 -07:00
Lennart Poettering 88f89a9b6d update TODO -- hackfest edition 2012-09-03 18:59:05 -07:00
Lennart Poettering 1946b0bd55 journalctl: include logs from PID 1 about services in systemctl status 2012-09-03 18:59:05 -07:00
Lennart Poettering cde9cb343a util: make path_is_mount_point() recognize bind mounts, too 2012-09-03 18:59:05 -07:00
Lennart Poettering 7e75c5ac2d unit: make sure structured logging is available before we enter the main boot phase 2012-09-03 18:59:05 -07:00
Lennart Poettering 877d54e9b0 journal: generate structured journal messages for a number of events 2012-09-03 18:59:04 -07:00
Lennart Poettering 88fae6e044 shared: in code that might get called from suid programs use __secure_getenv() rather than getenv()
It's better to be safe than sorry.
2012-09-03 18:59:04 -07:00
Lennart Poettering 38a60d7112 build-sys: prepare release 189 2012-08-23 02:46:22 +02:00
Lennart Poettering 8d1b002a2e service: introduce a proper service result if the start limit is hit 2012-08-22 05:02:33 +02:00
Lennart Poettering 99add6fd0b journalctl: complain if unprivileged users attempt to access the journal and persistant logging is off 2012-08-22 04:45:17 +02:00
Lennart Poettering c0d6e764d1 unit: add new ConditionHost= condition type 2012-08-22 01:51:53 +02:00
Lennart Poettering c0ca7aeec9 journalctl: be more friendly when informing about seal verification 2012-08-21 23:03:20 +02:00
Lennart Poettering d8b78264a5 update TODO 2012-08-21 17:38:29 +02:00
Lennart Poettering 50b3e64e27 update TODO 2012-08-21 17:19:32 +02:00
Lennart Poettering feb12d3ed2 journal: make libgcrypt dependency optional 2012-08-20 16:51:46 +02:00
Lennart Poettering f982e6f761 journal: set secure deletion flags for FSS file 2012-08-17 22:10:11 +02:00
Lennart Poettering abdf799316 man: extend documentation for RestartPreventExitStatus= and SuccessExitStatus= a bit 2012-08-14 18:37:45 +02:00
Lennart Poettering 7560fffcd2 journald: initial version of FSPRG hookup
This adds forward-secure authentication of journal files. This patch
includes key generation as well as tagging of journal files,
Verification of journal files will be added in a later patch.
2012-08-13 20:31:10 +02:00
Lennart Poettering 5a7e959984 update TODO 2012-08-13 16:27:17 +02:00
Lennart Poettering 68f160039e update TODO 2012-08-13 15:39:25 +02:00
Lennart Poettering f7357f59c3 update TODO 2012-08-09 17:25:22 +02:00
Lennart Poettering 0790b9fed4 update mailmap 2012-08-09 12:52:49 +02:00
Lennart Poettering df1c8f6ac8 update TODO 2012-08-09 02:10:44 +02:00
Lennart Poettering d7535514c3 update TODO 2012-08-08 21:44:40 +02:00
Lennart Poettering 5aea932fd5 update TODO 2012-08-08 19:19:45 +02:00
Lennart Poettering 918943c75f update TODO 2012-08-08 19:09:59 +02:00
Lennart Poettering fd4d89b2c0 update TODO 2012-08-08 18:43:56 +02:00
Kay Sievers d086fe4e08 TODO: misleading socket warning 2012-08-08 12:09:33 +02:00
Lennart Poettering 773ba90946 update TODO 2012-08-07 01:01:33 +02:00
Lennart Poettering de2c390731 journalctl: include corrupted files in output
If a journal file was rotated away because it was corrupted or dirty we
should still show its contents via "journalctl".
2012-08-07 00:51:17 +02:00
Lennart Poettering b3ac5f8cb9 mount-setup: change system mount propagation to shared by default
In order to make containers work nicely out of the box it is highly
desirable to have the mount propagation mode for the root fs is set as
"shared" by default so that containers receive system mounts by default.
(See mount --make-shared for more information).

As it is unlikely that the kernel will change the default to "shared"
for this, do this early at boot-up from PID 1. Setups which prefer the
default of "private" should undo this change via invoking "mount
--make-private /" or a similar command after boot.

In the long run /etc/fstab should take the propagation mode as a mount
option like any other, so that this may be used to change the default
mode. However, if fstab is not around or doesn't list / we still should
default to shared as propagation mode, hence this change now.
2012-08-06 18:35:01 +02:00
Shawn Landden 1421211924 continue work with error messages, log_oom()
Adds messages for formally silent errors: new "Failed on cmdline argument %s: %s".

Removes some specific error messages for -ENOMEM in mount-setup.c. A few specific
ones have been left in other binaries.
2012-08-06 16:37:01 +02:00
Lennart Poettering 8230e26dc9 update TODO 2012-08-06 16:36:13 +02:00
Kay Sievers 9cb48731b2 TODO: /etc/timezone 2012-08-06 15:09:46 +02:00
Lennart Poettering dcfc4b2e5c update TODO 2012-08-03 21:49:06 +02:00
Zbigniew Jędrzejewski-Szmek 871b876ecc man: document three new cgtop options 2012-08-03 18:12:07 +02:00
Lennart Poettering 3bea51c59d update TODO 2012-08-01 19:53:24 +02:00
Lennart Poettering 4d9909c93e update TODO 2012-08-01 19:53:23 +02:00
Kay Sievers 73fcda2737 update TODO 2012-07-30 20:03:00 +02:00
Lennart Poettering 7212a8a99e logind: add new loginctl lock-sessions command 2012-07-29 17:08:47 +02:00
Lennart Poettering 56d4fbf92e systemctl: append .service to unit names lacking suffix
https://bugs.freedesktop.org/show_bug.cgi?id=39386
2012-07-28 13:20:35 +02:00
Lennart Poettering 47ae7201b1 update TODO 2012-07-27 12:21:39 +02:00
Lennart Poettering 941e990db1 journalctl: add --priority= switch for filtering by priority 2012-07-27 10:32:37 +02:00
Lennart Poettering c51742d029 journald: log driver messages at LOG_INFO 2012-07-26 16:56:22 +02:00
Lennart Poettering decab96090 update README 2012-07-26 15:56:56 +02:00
Kay Sievers e146e4516b update TODO 2012-07-26 10:21:10 +02:00
Lennart Poettering 919a7f39e6 update TODO 2012-07-25 18:13:32 +02:00
Kay Sievers 88a6c5894c update TODO 2012-07-25 11:40:14 +02:00
Lennart Poettering 6a7353684b update TODO 2012-07-20 16:57:13 +02:00
Lennart Poettering c4f1b86299 build-sys: prepare 187 2012-07-20 00:38:02 +02:00
Lennart Poettering 9f8d29834b journald: don't choke on journal files with no cutoff date 2012-07-19 02:03:22 +02:00