Commit Graph

2277 Commits

Author SHA1 Message Date
Lennart Poettering 1d050f9f73 update TODO 2014-12-23 03:26:24 +01:00
Lennart Poettering 91f4347ef7 import: rename 'poll-dck' to 'pull-dkr'
I figure "pull-dck" is not a good name, given that one could certainly
read the verb in a way that might be funny for 16year-olds. ;-)

Also, don't hardcode the index URL to use, make it runtime and configure
time configurable instead.
2014-12-23 03:25:36 +01:00
Lennart Poettering 2cd3aa2482 update TODO 2014-12-19 20:44:49 +01:00
Lennart Poettering 358ba19e5e update TODO 2014-12-19 19:19:29 +01:00
Lennart Poettering c3a0d00d6d update TODO 2014-12-19 02:08:14 +01:00
Lennart Poettering 82e6c50c47 update TODO 2014-12-18 01:36:28 +01:00
Zbigniew Jędrzejewski-Szmek b42de08aa4 Update TODO 2014-12-16 00:30:34 -05:00
Lennart Poettering d2f81fb00c update TODO 2014-12-15 19:02:17 +01:00
Lennart Poettering 308b571076 update TODO 2014-12-12 20:24:35 +01:00
Lennart Poettering 98cd265198 update TODO 2014-12-12 17:30:25 +01:00
Lennart Poettering 494bf20a2f update TODO 2014-12-11 14:56:49 +01:00
David Herrmann 1f140dd8b0 TODO: update
Drop resolved kdbus issues.
2014-12-11 09:01:34 +01:00
Lennart Poettering fbcedaaea4 update TODO 2014-12-10 22:08:49 +01:00
Lennart Poettering d092879149 update TODO 2014-12-10 19:58:50 +01:00
Lennart Poettering fe666c198e update TODO 2014-12-10 19:07:48 +01:00
Lennart Poettering d6d8f25599 TODO 2014-12-10 15:46:28 +01:00
Lennart Poettering 45823da23c update TODO 2014-12-10 02:36:42 +01:00
Lennart Poettering b730764239 mount: clarify that we really need to replace the utab inotify code with the native API for this in libmount, as soon as that's stable 2014-12-10 01:48:39 +01:00
Ronny Chevalier 409886c424 shell-completion: systemctl edit 2014-12-10 01:10:01 +01:00
Lennart Poettering f9e00a9f58 NEWS: prepare NEWS for new release 2014-12-10 00:27:26 +01:00
Lennart Poettering e82959c0e3 update TODO 2014-12-09 18:17:35 +01:00
Lennart Poettering bf27dcb613 update TODO 2014-12-09 03:58:10 +01:00
Lennart Poettering 088c357d13 update TODO 2014-12-09 02:05:19 +01:00
Lennart Poettering 4a02e68602 update TODO 2014-12-09 00:08:31 +01:00
Lennart Poettering e7100587da update TODO 2014-12-08 23:52:27 +01:00
Lennart Poettering 90b3dc4dd9 update TODO 2014-12-08 14:55:22 +01:00
Lennart Poettering 2a441c8afe update TODO 2014-12-05 14:09:39 +01:00
Lennart Poettering 40ff4a4abd update TODO 2014-12-04 16:17:34 +01:00
Lennart Poettering 0a86c1a9d8 update TODO 2014-12-04 04:17:09 +01:00
Lennart Poettering 41114e81b5 update TODO 2014-12-03 03:13:14 +01:00
Lennart Poettering e3286870fd update TODO 2014-12-02 13:23:04 +01:00
Lennart Poettering a195cbad37 update TODO 2014-12-02 13:23:03 +01:00
Lennart Poettering 75e52a16f9 update TODO 2014-12-01 03:06:50 +01:00
Lennart Poettering f3589f7bc6 update TODO 2014-12-01 00:21:04 +01:00
Ronny Chevalier 7d4fb3b1c5 systemctl: add edit verb
It helps editing units by either creating a drop-in file, like
/etc/systemd/system/my.service.d/override.conf, or by copying the
original unit from /usr/lib/systemd/ to /etc/systemd/ if the --full
option is specified.

It invokes an editor on temporary files related to the unit files and
if the editor exited successfully, then it renames the temporary files
to their original names (e.g. my.service or override.conf) and
daemon-reload is invoked.

If the temporary file is empty the modification is canceled.

See https://bugzilla.redhat.com/show_bug.cgi?id=906824
2014-11-29 19:28:14 +01:00
Lennart Poettering cb2264aa0d update TODO 2014-11-28 20:29:44 +01:00
Lennart Poettering a6a6ac1603 update TODO 2014-11-28 20:29:44 +01:00
Lennart Poettering 818eae495e update TODO 2014-11-28 16:18:17 +01:00
Lennart Poettering e8bbb7c7e9 update TODO 2014-11-28 03:29:52 +01:00
Lennart Poettering bca3e263cf update TODO 2014-11-28 02:18:46 +01:00
David Herrmann 622ac87c12 Update TODO
kdbus eavesdropping was fixed!
2014-11-28 01:03:54 +01:00
Lennart Poettering 9398f65093 update TODO 2014-11-27 21:58:19 +01:00
Lennart Poettering 6dae84cbdd update TODO 2014-11-26 17:27:59 +01:00
Lennart Poettering 0ad68f8743 update TODO 2014-11-26 15:42:54 +01:00
Lennart Poettering 7212c6083a update TODO 2014-11-26 15:01:50 +01:00
Lennart Poettering 8514b67754 update TODO 2014-11-26 14:14:17 +01:00
Lennart Poettering b568ef14a7 update TODO 2014-11-26 12:11:39 +01:00
Lennart Poettering 279f036675 reorder TODO a bit 2014-11-26 03:23:48 +01:00
Lennart Poettering 6c78f43c7b update TODO 2014-11-26 03:06:50 +01:00
Lennart Poettering 1dfac061ce update TODO 2014-11-26 02:21:15 +01:00
Lennart Poettering 6363357378 update TODO 2014-11-25 20:55:28 +01:00
Lennart Poettering 54e2e63dd2 update TODO 2014-11-25 19:25:03 +01:00
Lennart Poettering 3c575b6417 update TODO 2014-11-25 14:28:34 +01:00
Lennart Poettering bdb074a562 update TODO 2014-11-25 14:28:33 +01:00
Iago López Galeiras 58f10d401f test: support empty environment variables in unit files
Also update TODO, empty environment variables in Environment= and
EnvironmentFile= options work.
2014-11-23 16:29:11 -05:00
Lennart Poettering 7b0fce617c update TODO 2014-11-19 00:19:40 +01:00
Lennart Poettering 264b807071 update TODO 2014-11-14 17:55:19 +01:00
Kay Sievers 25e773eeb4 udev: switch to systemd logging functions 2014-11-13 13:12:57 +01:00
Lennart Poettering c2d5b3c94d Update TODO 2014-11-12 23:46:47 +01:00
Lennart Poettering 4ecd221425 update TODO 2014-11-11 18:12:48 +01:00
Lennart Poettering 7e27f3121e update TODO 2014-11-10 23:45:31 +01:00
Lennart Poettering f81e67f79f update TODO 2014-11-10 19:25:29 +01:00
Lennart Poettering d48b7bd271 update TODO 2014-11-07 16:36:14 +01:00
Lennart Poettering 4e143738bf update TODO 2014-11-07 02:01:47 +01:00
Lennart Poettering 25e14499c4 update TODO 2014-11-07 01:19:56 +01:00
Lennart Poettering a0132af247 update TODO 2014-11-06 20:09:27 +01:00
Harald Hoyer 3f85ef0f05 s/commandline/command line/g 2014-11-06 15:34:18 +01:00
Lennart Poettering 7fd682bbeb update TODO 2014-11-06 14:31:04 +01:00
Kay Sievers a0617aa5d7 TODO: update 2014-11-04 19:07:30 +01:00
Lennart Poettering 936c200f6c update TODO 2014-11-04 18:51:37 +01:00
Lennart Poettering 57f2a94727 update TODO 2014-11-04 18:09:19 +01:00
Lennart Poettering 29a6c2d020 update TODO 2014-11-03 23:10:47 +01:00
Zbigniew Jędrzejewski-Szmek b43434e94e TODO 2014-11-01 15:37:16 -04:00
Zbigniew Jędrzejewski-Szmek f47ad59316 Use log "level" instead of "priority"
The term "priority" is misleading because higher levels have lower
priority. "Level" is clearer and shorter.

This commit touches only the textual descriptions, not function and variable
names themselves. "Priority" is used in various command-line switches and
protocol constants, so completly getting rid of "priority" is hard.

I also left "priority" in various places where the clarity suffered
when it was removed.
2014-11-01 14:39:47 -04:00
Ronny Chevalier cb607ecb84 remove references of readahead 2014-10-31 10:57:21 +01:00
Lennart Poettering f672117628 update TODO 2014-10-30 17:39:29 +01:00
Lennart Poettering f85857df75 update TODO 2014-10-29 17:08:00 +01:00
Umut Tezduyar Lindskog db2cb23b5b core: send sigabrt on watchdog timeout to get the stacktrace
if sigabrt doesn't do the job, follow regular shutdown
routine, sigterm > sigkill.
2014-10-28 17:37:39 +01:00
Lennart Poettering 665ea24caf update TODO 2014-10-28 15:06:30 +01:00
Lennart Poettering fccabcb48d update TODO 2014-10-28 14:47:35 +01:00
Lennart Poettering 07788ab9d8 update TODO 2014-10-28 14:31:25 +01:00
Lennart Poettering 2f952a2577 update TODO 2014-10-28 12:33:25 +01:00
Zbigniew Jędrzejewski-Szmek 1cf3c30c07 shell-completion: systemctl set-default,get-default,is-system-running 2014-10-27 22:34:28 -04:00
Timofey Titovets 3769415e65 login: remove multi-seat-x 2014-10-28 02:24:46 +01:00
Lennart Poettering ca4a7a9a36 update TODO 2014-10-28 02:19:55 +01:00
Lennart Poettering cea358fe1b update TODO 2014-10-28 00:52:48 +01:00
Lennart Poettering 2d1239ea20 update TODO 2014-10-27 13:32:04 +01:00
Lennart Poettering afe3ab588a update TODO 2014-10-24 19:07:01 +02:00
Lennart Poettering 06cbf7f24e update TODO 2014-10-24 16:53:08 +02:00
Tom Gundersen 157a180e4f TODO 2014-10-23 20:22:06 +02:00
Lennart Poettering 758c4d7a39 update TODO 2014-10-23 01:09:38 +02:00
Lennart Poettering 821cc13dda update TODO 2014-10-23 00:52:21 +02:00
Lennart Poettering 8483d73ff1 update TODO 2014-10-22 20:30:06 +02:00
Lennart Poettering f62531c572 update TODO 2014-10-22 16:54:06 +02:00
Lennart Poettering b857e042d6 update TODO 2014-10-22 12:40:49 +02:00
Lennart Poettering 39bb33c192 Update TODO 2014-10-22 11:45:12 +02:00
Lennart Poettering 6dab5bb181 update TODO 2014-10-20 22:03:36 +02:00
Lennart Poettering 78366f6ee0 update TODO 2014-10-20 19:23:13 +02:00
Lennart Poettering 8a25e11e6c update TODO 2014-10-17 13:49:08 +02:00
Lennart Poettering 0f0cf2f00f update TODO 2014-10-13 17:19:31 +02:00
Brandon L Black a158dbf156 Set $NOTIFY_SOCKET for control procs if NotifyAccess=all 2014-10-12 11:21:12 -04:00
Zbigniew Jędrzejewski-Szmek afea8d3853 Update TODO 2014-10-09 23:32:34 -04:00
Lennart Poettering 384a4be2b0 update TODO 2014-10-09 16:51:39 +02:00
Lennart Poettering 706d97503d update TODO 2014-10-09 01:47:07 +02:00
Lennart Poettering 402696d787 Update TODO 2014-10-08 21:35:38 +02:00
Lukas Nykryn e94937df95 systemctl: add add-wants and add-requires verbs 2014-10-08 12:44:00 +02:00
Zbigniew Jędrzejewski-Szmek d19e85f0d4 Update TODO 2014-10-07 09:19:49 -04:00
Zbigniew Jędrzejewski-Szmek 0536ce5d0c Update TODO 2014-10-05 15:29:41 -04:00
Lennart Poettering c7eff5ec06 update TODO 2014-10-02 20:38:00 +02:00
Patrik Flykt e9385929c8 TODO: Remove Elapsed Time DHCPv6 option as it is done 2014-09-10 12:56:46 +03:00
Tom Gundersen b70c73fcf1 TODO 2014-09-08 15:09:07 +02:00
Lennart Poettering 3bcde97e85 update TODO 2014-09-05 21:49:44 +02:00
Tom Gundersen bd2efe9219 networkd: link - do not manage loopback links
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=83134.
2014-09-04 14:16:25 +02:00
Zbigniew Jędrzejewski-Szmek 83a1ff25e5 Update TODO 2014-09-03 22:56:13 -04:00
Lennart Poettering 533bb267f1 update TODO 2014-09-03 19:02:18 +02:00
Lukas Nykryn 64e84dbb14 update TODO
Yum was creating <container>/var/run/yum.pid and hence this directory
was created before filesystem package could create the symlink
/var/run -> /run.
This should be now fixed in yum.
2014-09-03 14:03:14 +02:00
Kay Sievers be2ea723b1 udev: remove userspace firmware loading support 2014-08-30 11:34:20 +02:00
Lennart Poettering 202aea456d update TODO 2014-08-28 20:26:14 +02:00
Tom Gundersen 3125b3ef5d nspawn: fix --network-interface
Use SETLINK when modifying an existing link.
2014-08-28 12:16:07 +02:00
Lennart Poettering eff3f4f9e9 update TODO 2014-08-27 21:43:46 +02:00
Tom Gundersen 285e8c126b TODO 2014-08-27 18:17:16 +02:00
Tom Gundersen aeb50ff0bd tmpfiles: make resolv.conf entry conditional on resolved support 2014-08-27 18:17:16 +02:00
Lennart Poettering 8dac15b6e9 update TODO 2014-08-26 20:24:04 +02:00
Lennart Poettering 42aeb14a4a update TODO 2014-08-26 04:09:22 +02:00
Lennart Poettering d74f9e8e8a update TODO 2014-08-22 18:10:31 +02:00
Lennart Poettering 337ce7442a update TODO 2014-08-21 19:12:53 +02:00
Lennart Poettering 1954ea346d update TODO 2014-08-21 18:01:47 +02:00
Lennart Poettering 55cdcbacf7 update TODO 2014-08-21 17:24:21 +02:00
Lennart Poettering 8a0dec98a3 update TODO 2014-08-19 19:22:40 +02:00
Lennart Poettering 14a32924c9 update TODO 2014-08-19 16:47:52 +02:00
Lennart Poettering 93aef81600 update TODO 2014-08-19 02:19:10 +02:00
Lennart Poettering d61bb44a89 update TODO 2014-08-19 02:09:14 +02:00
Lennart Poettering 9da465df2a Update TODO 2014-08-18 23:16:44 +02:00
Lennart Poettering 4311fa08fe update TODO 2014-08-15 18:29:21 +02:00
Lennart Poettering 563b1bdc09 update TODO 2014-08-15 18:01:30 +02:00
Lennart Poettering 1dbe0a6efd update TODO 2014-08-15 01:35:28 +02:00
Lennart Poettering ca70bec926 update TODO 2014-08-14 19:02:48 +02:00
Lennart Poettering e830abd5ff update TODO 2014-08-14 17:16:37 +02:00
Lennart Poettering 5dcf983854 update TODO 2014-08-14 16:36:32 +02:00
Lennart Poettering 41488fe902 update TODO 2014-08-14 04:13:31 +02:00
Lennart Poettering dbabc89b9f update TODO 2014-08-14 03:30:40 +02:00
Tobias Geerinckx-Rice 19f8d03783 timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no
Avoids triggering timers prematurely on systems with significantly inaccurate
clocks, or some embedded platforms that lack one entirely.
2014-08-14 01:49:40 +02:00
Lennart Poettering f6e81de494 update TODO 2014-08-13 20:01:00 +02:00
Tom Gundersen dae1e55b54 TODO 2014-08-13 15:43:57 +02:00
Tom Gundersen 4acf8f151f TODO 2014-08-13 15:40:59 +02:00
Lennart Poettering ed220efd66 update TODO 2014-08-12 19:50:36 +02:00
Lennart Poettering 18af33753a update TODO 2014-08-12 16:12:53 +02:00
Lennart Poettering b873d33ec9 update TODO 2014-08-12 15:41:13 +02:00
Lennart Poettering c02091d23b update TODO 2014-08-11 15:06:22 +02:00
Lennart Poettering 08b6604c05 update TODO 2014-08-05 17:02:46 +02:00
Lennart Poettering 23c4091dc2 update TODO 2014-08-04 23:08:13 +02:00
Lennart Poettering 72d314c8d8 update TODO 2014-08-04 20:01:00 +02:00
Zbigniew Jędrzejewski-Szmek 151226ab4b resolved: RRSIG records 2014-08-03 22:02:32 -04:00
Zbigniew Jędrzejewski-Szmek ff3d6560be resolved: add identifiers for dnssec algorithms 2014-08-03 22:02:32 -04:00
Lennart Poettering 035d56dc32 update TODO 2014-08-01 18:10:01 +02:00
Tom Gundersen c18126e8da TODO 2014-08-01 16:34:50 +02:00
Lennart Poettering 7cfb38b596 update TODO 2014-08-01 01:57:33 +02:00
Lennart Poettering 7be6885326 update TODO 2014-08-01 00:58:13 +02:00
Lennart Poettering 0f47ed0a05 update TODO 2014-07-31 17:47:19 +02:00
Lennart Poettering 699bd879ef update TODO 2014-07-30 19:34:55 +02:00
Kay Sievers 3f77a1b19f TODO: update resolved 2014-07-30 17:28:04 +02:00
Tom Gundersen ab0cf8f8ff TODO 2014-07-30 16:03:50 +02:00
Lennart Poettering 6bf02ccb14 update TODO 2014-07-30 14:05:48 +02:00
Lennart Poettering bc07548926 update TODO 2014-07-30 02:08:11 +02:00
Lennart Poettering 6992efee44 update TODO 2014-07-30 01:48:34 +02:00
Lennart Poettering 49ee032fc3 Update TODO 2014-07-29 20:57:58 +02:00
Lennart Poettering 82eb1e7efb update TODO 2014-07-23 02:00:40 +02:00
Zbigniew Jędrzejewski-Szmek 2c12a402cb shell-completion: systemd-analyze verify, systemctl link
Some zsh completion helpers were not installed, so completion
was broken.

Add systemd-analyze verify. Make systemctl link complete only
unit names.
2014-07-21 22:33:51 -04:00
Tom Gundersen 653912918f sd-network: drop get_ifindices
People should use rtnl for this, and then only query sd-network by the ifindices it finds.
2014-07-21 13:32:27 +02:00
Lennart Poettering 7f035ea56b update TODO 2014-07-18 14:01:01 +02:00
Lennart Poettering b6b63571ae update TODO 2014-07-17 19:39:50 +02:00
Lennart Poettering 02bc213d04 update TODO 2014-07-16 22:51:50 +02:00
Lennart Poettering a9d65ac908 update TODO 2014-07-16 20:16:30 +02:00
Lennart Poettering acbc501602 update TODO 2014-07-16 17:24:51 +02:00
Lennart Poettering f1f520e8df update TODO 2014-07-16 03:32:29 +02:00
Lennart Poettering 9d6db739ce update TODO 2014-07-16 00:31:39 +02:00
Tom Gundersen 99f9dd8d3f TODO 2014-07-14 22:08:10 +02:00
Susant Sahani 5d8e593dce networkd: make metric of routes configurable
Now route metric can be configuted via conf file:

example conf:

[Match]
Name=em1

[Route]
Gateway=192.168.1.12
Metric=10

Test:
ip route output
default via 192.168.1.12 dev em1 metric 10

[tomegun: squash TODO update and reword man page a bit]
2014-07-14 11:39:20 +02:00
Tom Gundersen c9467d65f0 TODO: update networkd 2014-07-14 10:50:37 +02:00
Lennart Poettering 27f1e9ebf6 update TODO 2014-07-10 20:12:34 +02:00
Lennart Poettering e2a6929881 update TODO 2014-07-09 19:22:13 +02:00
Lennart Poettering 58f55364fa update TODO 2014-07-07 22:23:42 +02:00
Susant Sahani c9fa3670bf networkd TODO: add more bonding options
Add more bonding option in TODO section
2014-07-07 21:52:01 +02:00
Susant Sahani 467aa4a258 networkd todo : remove tun/tap
Remove tun/tap from todo
2014-07-07 21:52:01 +02:00
Lennart Poettering de7a2c8f39 update TODO 2014-07-07 21:07:23 +02:00
Lennart Poettering a940778fb1 update TODO 2014-07-07 15:25:55 +02:00
Lennart Poettering 8225488bec update TODO 2014-07-03 19:55:18 +02:00
Lennart Poettering aaf86f95a0 update TODO 2014-07-03 17:54:24 +02:00
Lennart Poettering ce4a52a500 update TODO 2014-07-03 15:49:54 +02:00
Tom Gundersen 9e358851b4 networkd: netdev - add dummy support 2014-07-01 22:10:07 +02:00
Lennart Poettering 793c098f0a update TODO 2014-07-01 16:37:47 +02:00
Lennart Poettering 2834ffe78d update TODO 2014-07-01 13:51:36 +02:00
Tom Gundersen 1a941ac4b6 networkd: link - ignore missing MAC address
Currently DHCP/IPv4LL only works on ethernet devices, but no reason not to otherwise
manage them.
2014-07-01 12:55:05 +02:00
Lennart Poettering 3a53fdaa34 update TODO 2014-07-01 02:39:08 +02:00
Lennart Poettering 48fda3987f update TODO 2014-07-01 00:16:48 +02:00
Lennart Poettering 0b30586904 update TODO 2014-06-30 22:49:10 +02:00
Tom Gundersen 3e53303ea6 networkd: dhcp - use same metric for all DHCP-related routes 2014-06-30 13:06:33 +02:00
Lennart Poettering fed515f0a8 update TODO 2014-06-27 20:42:31 +02:00
Lennart Poettering dc6d4ea9a6 update TODO 2014-06-27 19:56:11 +02:00
Lennart Poettering 06b08e6597 update TODO 2014-06-27 19:38:21 +02:00
Lennart Poettering 2298116285 update TODO 2014-06-27 19:35:57 +02:00
Patrik Flykt 37d8b536d0 TODO: Add items for the DHCPv6 implementation 2014-06-26 16:10:58 +03:00
Lennart Poettering e8a152c62d update TODO 2014-06-25 10:07:20 +02:00
Lennart Poettering fbe1a1a94f update TODO 2014-06-25 10:04:36 +02:00
Zbigniew Jędrzejewski-Szmek 57f45c37e9 Trim TODO 2014-06-25 01:46:37 -04:00
Zbigniew Jędrzejewski-Szmek 6f8bd5c94e core/snapshot: log info when snapshots are created and removed
Snapshot mechanism is not used very much, but snapshot creation/destruction
should be at least as verbose as normal unit starting/stopping.
2014-06-22 15:30:28 -04:00
Zbigniew Jędrzejewski-Szmek 04ef5b03f6 core/transaction: avoid misleading error message when unit not found
There's no point in telling the user to look at the logs when
an attempt to load the unit file failed with ENOENT.

https://bugzilla.redhat.com/show_bug.cgi?id=996133
2014-06-22 15:30:24 -04:00
Lennart Poettering d2f42e3a9b update TODO 2014-06-19 16:33:01 +02:00
Lennart Poettering 92788e46d6 update TODO 2014-06-19 12:38:45 +02:00
Lennart Poettering 9eecdbc354 update TODO 2014-06-19 12:38:45 +02:00
Thomas Hindoe Paaboel Andersen df9db010de TODO: update 2014-06-18 23:21:00 +02:00
Kay Sievers 8142913690 TODO: update 2014-06-18 03:46:44 +02:00
Lennart Poettering 3c779fa59d update TODO 2014-06-18 00:09:46 +02:00
Lennart Poettering 75183a9be0 update TODO 2014-06-17 03:30:11 +02:00
Lennart Poettering e7b4d43ec3 update TODO 2014-06-17 01:24:03 +02:00
Lennart Poettering a01647e537 update TODO 2014-06-16 12:33:23 +02:00
Lennart Poettering 4997cb9e16 update TODO 2014-06-16 01:03:38 +02:00
Lennart Poettering dd25523073 update TODO 2014-06-13 13:26:32 +02:00
Lennart Poettering e90738c9bb update TODO 2014-06-11 10:15:51 +02:00
Lennart Poettering 61147436a3 update TODO 2014-06-11 00:07:07 +02:00
Lennart Poettering 827bf3c5dd update TODO 2014-06-06 18:38:43 +02:00
Lennart Poettering dc17bcef19 update TODO 2014-06-06 14:59:41 +02:00
Lennart Poettering 2d2ebaf515 update TODO 2014-06-05 17:31:03 +02:00
Lennart Poettering 03da8f9459 update TODO 2014-06-05 16:13:22 +02:00
Lennart Poettering 9b476fabd2 update TODO 2014-06-05 13:53:44 +02:00
Lennart Poettering 945933e331 update TODO 2014-06-05 13:09:46 +02:00
Lennart Poettering f598ac3e28 update TODO 2014-06-04 18:58:05 +02:00
Lennart Poettering c221efb2de update TODO 2014-06-04 17:31:31 +02:00
Kay Sievers c343be283b fsck: disable "-l" option for now
https://bugs.freedesktop.org/show_bug.cgi?id=79576#c5
2014-06-04 11:16:30 +02:00
Lennart Poettering 3de03738fc update TODO 2014-05-22 16:14:50 +09:00
Lennart Poettering 97c52b838b update TODO 2014-05-22 12:16:25 +09:00
Lennart Poettering eaa3b74dfd update TODO 2014-05-22 10:36:16 +09:00
Tom Gundersen 424a873214 sd-dhcp-client: factor out dhcp packet allocation 2014-05-21 16:55:47 +02:00
Susant Sahani 8477107dec TODO
IFLA_IPTUN_PMTUDISC
IFLA_IPTUN_FLAGS (ISA_TAP)

FLA_IPTUN_6RD_PREFIX
FLA_IPTUN_6RD_RELAY_PREFIX
IFLA_IPTUN_6RD_PREFIXLEN
IFLA_IPTUN_6RD_RELAY_PREFIXLEN
2014-05-19 22:58:15 +02:00
Tom Gundersen 473dfd7bd5 networkd-wait-online: wait for addresses to be configured 2014-05-19 22:00:35 +02:00
Tom Gundersen e56f363803 timesyncd: only attempt to connect when an address is configured
For now, we accept both link-local and routable addresses, maybe we want to
restrict ourselves to routable addresses only.
2014-05-19 20:54:42 +02:00
Lennart Poettering 5c868fe2e9 update TODO 2014-05-19 01:54:31 +09:00
Lennart Poettering 8891f695c7 update TODO 2014-05-18 20:52:49 +09:00
Lennart Poettering a46fe318fc update TODO 2014-05-18 20:52:49 +09:00
Tom Gundersen ac97653206 TODO 2014-05-17 20:46:11 +02:00
Tom Gundersen 8f5675cc75 TODO 2014-05-16 14:52:02 +02:00
Lennart Poettering 2b1c376751 Update TODO 2014-05-16 00:23:54 +02:00
Lennart Poettering f27e2d8c0c update TODO 2014-05-15 17:25:46 +02:00
Zbigniew Jędrzejewski-Szmek 12ed81d9c8 Make systemctl --root look for files in the proper places
Running systemctl enable/disable/set-default/... with the --root
option under strace reveals that it accessed various files and
directories in the main fs, and not underneath the specified root.
This can lead to correct results only when the layout and
configuration in the container are identical, which often is not the
case. Fix this by adding the specified root to all file access
operations.

This patch does not handle some corner cases: symlinks which point
outside of the specified root might be interpreted differently than
they would be by the kernel if the specified root was the real root.
But systemctl does not create such symlinks by itself, and I think
this is enough of a corner case not to be worth the additional
complexity of reimplementing link chasing in systemd.

Also, simplify the code in a few places and remove an hypothetical
memory leak on error.
2014-05-15 15:29:58 +02:00
Tom Gundersen 0404c609f3 core: sysvcompat - $network should be equivalent to network-online, rather than network target
Most likely the  facility needed is actual connectivity, rather than whether or not the
network managment daemon is running.

We also need to explicitly pull in the network-online.target, as it is not active by
default.

This means {systemd-networkd,NetworkManager}-wait-online.service, can be enabled by default
as part of network-online.target, and only delay boot when some service actively pulls it in.

See: <https://bugzilla.gnome.org/show_bug.cgi?id=728965>

Cc: Pavel Šimerda <psimerda@redhat.com>
Cc: Michal Sekletar <msekleta@redhat.com>
2014-05-14 12:45:12 +02:00
Susant Sahani 3eb94c9e9e networkd: Add todo patch kernel for tunnel module alias
Add to todo :

1. Patch kernel to support module alias for tunnel device
2. Remove libkmod dependency from networkd
2014-05-12 17:53:18 +02:00
Jan Engelhardt 70a44afee3 doc: typographical fine tuning 2014-05-06 23:05:39 +02:00
Jan Engelhardt d28315e4af doc: use non-contracted forms in written documents 2014-05-06 23:05:09 +02:00
Lennart Poettering 8dfb5bced2 update TODO 2014-05-06 17:02:54 +02:00
Lennart Poettering 2db3e2023d update TODO 2014-05-06 13:04:29 +02:00
Lennart Poettering 1df52dd282 update TODO 2014-05-06 12:34:37 +02:00
Lennart Poettering 37efac5ddb update TODO 2014-05-05 21:19:06 +02:00
Tom Gundersen 8faf88e5eb TODO 2014-05-03 18:14:42 +02:00
Lennart Poettering 7348b3adb3 update TODO 2014-05-02 17:57:37 +02:00
Michal Sekletar d20850cbf4 update TODO 2014-04-29 22:18:14 +02:00
Tom Gundersen 1f0e048474 TODO: network 2014-04-28 00:06:06 +02:00
Umut Tezduyar Lindskog 798e174ab2 networkd: update TODO 2014-04-27 23:50:57 +02:00
Lennart Poettering 6cdf527c6a update TODO 2014-04-25 13:28:02 +02:00
Lennart Poettering f55b9bdfae update TODO 2014-04-25 07:16:08 +02:00
Lennart Poettering e107ed185e update TODO 2014-04-23 23:44:39 +02:00
Lennart Poettering e30fa16e27 update TODO 2014-04-23 19:06:38 +02:00
Thomas Hindoe Paaboel Andersen 806a37e743 systemctl: add --recursive for list-timers 2014-04-16 23:51:27 +02:00
Lennart Poettering 11fb37f16e update TODO 2014-04-13 17:41:51 -07:00
Lennart Poettering 01083ad094 update TODO 2014-04-13 17:41:01 -07:00
Zbigniew Jędrzejewski-Szmek baf167ee0a journal: properly detect language specified in line
... it turns out that the duplicates in our own catalog were not real
duplicates, but translations.
2014-04-12 10:20:55 -04:00
Zbigniew Jędrzejewski-Szmek b3ae710c25 systemctl: update NAME to PATTERN in help()
Previously the man page was modified, but not help().
2014-04-05 00:42:10 -04:00
Umut Tezduyar Lindskog aba496a58a networkd: smooth transition from ipv4ll to dhcp address
Currently when both ipv4ll and dhcp are enabled, ipv4ll
address (if one has been claimed) is removed when dhcp
address is aquired. This is not the best thing to do
since there might be clients unaware of the removal
trying to communicate.

This patch provides a smooth transition between ipv4ll
and dhcp. If ipv4ll address was claimed [1] before dhcp,
address is marked as deprecated. Deprecated address is still
a valid address and packets can be received on it but address
cannot be selected as a source address. If dhcp lease cannot
be extended, then ipv4ll address is marked as valid again.

[1] If there is no collision, claiming IPv4LL takes between 4 to
7 seconds.
2014-04-03 16:00:25 +02:00
Tom Gundersen c589a0e628 TODO 2014-03-31 11:30:59 +02:00
Daniel Mack 4433c995c7 completions: fix/augment zsh completions for systemd-nspawn, busctl, loginctl, hostnamectl, localectl, machinectl 2014-03-25 23:05:03 +01:00
Lennart Poettering a2b135e3d8 update TODO 2014-03-25 02:11:52 +01:00
Lennart Poettering b107b705cc update TODO 2014-03-25 00:03:23 +01:00
Lennart Poettering 7f8aa67131 core: remove tcpwrap support
tcpwrap is legacy code, that is barely maintained upstream. It's APIs
are awful, and the feature set it exposes (such as DNS and IDENT
access control) questionnable. We should not support this natively in
systemd.

Hence, let's remove the code. If people want to continue making use of
this, they can do so by plugging in "tcpd" for the processes they start.
With that scheme things are as well or badly supported as they were from
traditional inetd, hence no functionality is really lost.
2014-03-24 20:07:42 +01:00
Lennart Poettering 777920bc03 update TODO 2014-03-24 16:24:07 +01:00
David Herrmann 374c356979 sd-bus: mark sd_bus_unref() as broken regarding self-refs
If you allocate a message with bus==NULL and then unref the main bus,
it will free your message underneath and your program will go boom!

To fix that, we really need to figure out what the semantics for
self-references (m->bus) should be and when/where/what accesses are
actually allowed.

Same is true for the pseudo-thread-safety we employ..
2014-03-22 19:35:25 +01:00
Umut Tezduyar Lindskog b5db00e52e sd-ipv4ll/networkd: generate predictable addresses
Increase the chance of using the same link local address between reboots. The
pseudo random sequence of addresses we attempt is now seeded with data that is
very likely to stay the same between reboots, but at the same time be unique
to the specific machine/nic.

First we try to use the ID_NET_NAME_* data from the udev db combined with the
machin-id, which is guaranteed to be unique and persistent, if available. If
that is not possible (e.g., in containers where we don't have access to the
udev db) we fallback to using the MAC address of the interface, which is
guaranteed to be unique, and likely to be persistent.

[tomegun: three minor changes:

 - don't expose HASH_KEY in the siphash24 header
 - get rid of some compile-warnings (and some casts at the same time),
   by using uint8_t[8] rather than uint64_t in the api
 - added commit message]
2014-03-21 20:24:10 +01:00
Lennart Poettering c144692179 update TODO 2014-03-21 03:43:46 +01:00
Tom Gundersen 155e8b9adc TODO 2014-03-20 20:19:59 +01:00
Lennart Poettering f1b2c3eccb update TODO 2014-03-20 04:19:23 +01:00
Lennart Poettering b5640d8245 update TODO 2014-03-19 23:25:41 +01:00
Lennart Poettering 5a2e420c1f update TODO 2014-03-19 19:09:00 +01:00
Lennart Poettering 7973ca1927 update TODO 2014-03-19 16:25:11 +01:00
Lennart Poettering 4658568002 update TODO 2014-03-19 04:17:37 +01:00
Lennart Poettering 622efd8775 update TODO 2014-03-19 02:28:03 +01:00
Lennart Poettering ec8408740a update TODO 2014-03-19 01:48:23 +01:00
Lennart Poettering cb9da7f24f update TODO 2014-03-18 21:06:08 +01:00
Lennart Poettering 9459781ee6 udate TODO 2014-03-18 17:59:11 +01:00
Lennart Poettering df23374071 update TODO 2014-03-18 04:48:26 +01:00
Lennart Poettering 4c63a53ac5 update TODO 2014-03-17 18:15:57 +01:00
Lennart Poettering 7366b080b3 update TODO 2014-03-17 15:18:11 +01:00
Tom Gundersen e09826dcf1 networkd: netdev - support joining already existing netdevs 2014-03-15 20:10:36 +01:00
Lennart Poettering edb2935c5c update TODO 2014-03-14 21:17:14 +01:00
Lennart Poettering b64c7b3d5b update TODO 2014-03-14 01:49:44 +01:00
Lennart Poettering bddabb5770 update TODO 2014-03-13 01:39:09 +01:00
Lennart Poettering 769918ecd3 update TODO 2014-03-12 16:39:31 +01:00
Lennart Poettering f8791e820b update TODO 2014-03-11 19:10:53 +01:00
Lennart Poettering 2be56ff1e4 update TODO 2014-03-11 18:02:27 +01:00
Lennart Poettering 756461fd56 update TODO 2014-03-11 04:20:11 +01:00
Lennart Poettering 7ced1d8f87 update TODO 2014-03-11 03:09:00 +01:00
Lennart Poettering 2cb46a2b0c update TODO 2014-03-11 02:48:59 +01:00
Lennart Poettering 2ecfc64e59 update TODO 2014-03-10 23:17:42 +01:00
Lennart Poettering 2a781fc9bd update TODO 2014-03-08 04:06:04 +01:00
Lennart Poettering a0e5b17733 update TODO 2014-03-07 04:38:39 +01:00
Lennart Poettering 0939968c77 update TODO 2014-03-06 05:04:51 +01:00
Lennart Poettering 6a3f892a23 update TODO 2014-03-06 04:00:42 +01:00
Umut Tezduyar Lindskog 848e3e24b0 man: ipv4 link-local 2014-03-05 21:46:31 +01:00
Lennart Poettering 32f2443099 update TODO 2014-03-05 04:41:40 +01:00
Lennart Poettering efc141b8ff update TODO 2014-03-05 02:31:10 +01:00
Lennart Poettering 726a6e9630 update TODO 2014-03-04 20:02:50 +01:00
Umut Tezduyar Lindskog 5c1d3fc93d sd-network: IPv4 link-local support [v2]
Implements IPv4LL with respect to RFC 3927
(http://tools.ietf.org/rfc/rfc3927.txt) and integrates it
with networkd. Majority of the IPv4LL state machine is
taken from avahi (http://avahi.org/) project's autoip.

IPv4LL can be enabled by IPv4LL=yes under [Network]
section of .network file.

IPv4LL works independent of DHCP but if DHCP lease is
aquired, then LL address will be dropped.

[tomegun: removed a trailing newline and a compiler warning]
2014-03-03 23:24:34 +01:00
Lennart Poettering 7ba4fedb80 update TODO 2014-03-03 23:18:25 +01:00
Lennart Poettering 18633feaae update TODO 2014-03-03 21:55:41 +01:00
Lennart Poettering e361df9e75 update TODO 2014-03-03 21:08:49 +01:00
Tom Gundersen 474cba1c7d TODO 2014-03-01 14:13:18 +01:00
Thomas Hindoe Paaboel Andersen 9319e46051 update TODO 2014-03-01 04:03:52 +01:00
Lennart Poettering 9c423fbf2a update TODO 2014-02-26 02:19:28 +01:00
Lennart Poettering 23fae27185 update TODO 2014-02-25 02:37:59 +01:00
Lennart Poettering 4e72e29a39 update TODO 2014-02-24 21:23:19 +01:00
Lennart Poettering 650264033f update TODO 2014-02-24 17:36:06 +01:00
Lennart Poettering 539237644e update TODO 2014-02-24 15:35:20 +01:00
Lennart Poettering f8901862b2 update TODO 2014-02-24 13:21:55 +01:00
Lennart Poettering 46a96f4323 update TODO 2014-02-24 04:04:23 +01:00
Lennart Poettering 9e281251e9 update TODO 2014-02-24 03:38:58 +01:00
Lennart Poettering 872c2ab3e2 update TODO 2014-02-24 02:31:15 +01:00
Lennart Poettering eda8f06755 update TODO 2014-02-23 03:19:04 +01:00
Tom Gundersen e8d842a0d0 update TODO 2014-02-21 21:41:48 +01:00
Lennart Poettering 96197df081 update TODO 2014-02-21 19:22:24 +01:00
Lennart Poettering 0183b74fa4 update TODO 2014-02-21 19:22:24 +01:00
Zbigniew Jędrzejewski-Szmek ef417cfd22 manager: be more precise in message about restart 2014-02-20 22:38:23 -05:00
Lennart Poettering 0ef61cec61 update TODO 2014-02-21 04:04:47 +01:00
Lennart Poettering beb999379c update TODO 2014-02-20 18:07:01 +01:00
Lennart Poettering 27f7454c38 update TODO 2014-02-20 00:03:10 +01:00
Lennart Poettering d4fdc205a4 update TODO 2014-02-19 18:20:12 +01:00
Lennart Poettering 7bb2954901 update TODO 2014-02-19 16:23:43 +01:00
Lennart Poettering 270b085101 update TODO 2014-02-19 03:27:03 +01:00
Tom Gundersen 9b1c2626ce net-match: fix Driver= match
It should match on the driver of the parent device.
2014-02-18 22:34:26 +01:00
Lennart Poettering 0f3e07b7cc update TODO 2014-02-18 21:07:20 +01:00
Lennart Poettering 3d0ce78b25 Update TODO 2014-02-17 15:52:32 +01:00
Thomas Hindoe Paaboel Andersen 6cd6fdb228 TODO: remove done item
strv_append was removed in e3e45d4f82
2014-02-16 22:58:24 +01:00
Tom Gundersen ab046dde6f nspawn: add new --network-bridge= switch
This adds the host side of the veth link to the given bridge.

Also refactor the creation of the veth interfaces a bit to set it up
from the host rather than the container. This simplifies the addition
to the bridge, but otherwise the behavior is unchanged.
2014-02-16 21:40:28 +01:00
Tom Gundersen ee3a6a51e5 sd-rtnl: message_open_container - don't take a 'size' argument
We can always know the size based on the type, so let's do this inside the library.
2014-02-15 12:14:45 +01:00
Lennart Poettering af1082b04a update TODO 2014-02-14 16:40:52 +01:00
Lennart Poettering 513a78c1aa update TODO 2014-02-13 02:13:50 +01:00
Lennart Poettering bcd02123e1 update TODO 2014-02-13 01:41:24 +01:00
Ronny Chevalier c0467cf387 syscallfilter: port to libseccomp 2014-02-12 18:30:36 +01:00
Lennart Poettering 86d0d51942 update TODO (add section for things to fix before 209) 2014-02-12 12:59:56 +01:00
Lennart Poettering 2fcb3af6a2 update TODO 2014-02-11 20:31:37 +01:00
Lennart Poettering deb678f15a update TODO 2014-02-10 13:18:16 +01:00
Zbigniew Jędrzejewski-Szmek 550a40eceb core: do not print invalid utf-8 in error messages 2014-02-08 13:07:39 -05:00
Lennart Poettering ba978d7b32 nspawn: rename --file-label to --apifs-label since it's really just about the API file systems, nothing else 2014-02-07 19:29:28 +01:00
Lennart Poettering 4e2f8d2778 core: when an already abandoned unit gets abandoned again generate a clean error 2014-02-07 19:26:49 +01:00
Tom Gundersen 32216660c7 TODO: update sd-rtnl section 2014-01-30 17:19:10 +01:00
Lennart Poettering 084f83586e update TODO 2014-01-29 21:26:57 +01:00
Lennart Poettering 69727e6dc6 bus: reorder a few things 2014-01-28 12:33:40 +01:00
Lennart Poettering 968d3d242c resolve: update sd-resolve to match the other APIs in style and functionality 2014-01-27 20:12:59 +01:00
Lennart Poettering ff975efb2e bus: when we cannot bus activate a service because we go down, drop one
message from the queue
2014-01-27 20:12:59 +01:00
Michal Sekletar 040975bd3e TODO: update
ps can display slice unit for a process.

93e7872995
2014-01-24 17:53:53 +01:00
Lennart Poettering eee9ec0e28 bus: change API to expose "inverted" no_reply and no_auto_start message flags non-inverted 2014-01-22 20:45:05 +01:00
Lennart Poettering ab9716c248 update TODO 2014-01-22 20:29:57 +01:00
Lennart Poettering aa575ef8de bus: temporarily disable faking of seclabels, as this is broken in kdbus right now 2014-01-22 19:39:10 +01:00
Kay Sievers 5274f05381 TODO: update 2014-01-20 23:55:02 +01:00
Lennart Poettering 3540c7f88f update TODO 2014-01-20 17:57:42 +01:00
Lennart Poettering 488ad3b32a update TODO 2014-01-20 13:43:57 +01:00
Daniel Buch 127b55d5a4 sd-resolve: rename get_next() and get_n_queries() + cleanup 2014-01-18 17:52:10 +01:00
Daniel Buch 65883c9108 sd-resolve: get rid of sd_resolve_freeanswer() 2014-01-18 17:52:10 +01:00
Lennart Poettering 6a8b5fa463 Update TODO 2014-01-17 19:59:50 +01:00
Lennart Poettering 47c94a96df update TODO 2014-01-17 18:34:40 +01:00
Tom Gundersen 6bb648a16a libsystemd-bus: rename to libsystemd
Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place
of libsystemd-bus.
2014-01-13 18:54:19 +01:00
Kay Sievers 883b369087 TODO: update 2014-01-13 10:51:26 +08:00
Tom Gundersen c74ecd7182 TODO: update rtnl/network sections 2014-01-12 15:37:21 +01:00
Lennart Poettering 09ecd746c9 update TODO 2014-01-12 20:10:33 +08:00
Zbigniew Jędrzejewski-Szmek 708c143c7c man: add busctl(1) 2014-01-11 23:45:17 -05:00
Zbigniew Jędrzejewski-Szmek 3333d748fa networkd: use structured logging for links and bridges 2014-01-08 22:15:27 -05:00
Zbigniew Jędrzejewski-Szmek d8160f21fd Improve messages about user mode a bit 2014-01-08 22:15:27 -05:00
Lennart Poettering e79e8afd62 update TODO 2014-01-08 18:11:10 +08:00
Lennart Poettering e62b3b353a update TODO 2014-01-07 06:34:56 +08:00
David Herrmann e10e429f2d TODO: extend login capability note
We cannot remove CAP_SYS_ADMIN, which basically makes removing all other
capabilities useless. Anyhow, still wouldn't hurt checking whether stuff
like CAP_KILL can be dropped from logind.
2014-01-05 13:59:12 +01:00
Lennart Poettering 0058679911 bus: add some preliminary docs for porting existing dbus1 client libraries to kdbus 2013-12-27 00:28:22 +01:00
Zbigniew Jędrzejewski-Szmek 72ebbf3450 man: document fail/nofail, auto/noauto
Also s/filesystem/file system/ in a few places.
2013-12-25 23:22:05 -05:00
Zbigniew Jędrzejewski-Szmek 8b8f259170 Trim TODO 2013-12-25 22:53:46 -05:00
Lennart Poettering 452de75e5b update TODO 2013-12-26 03:08:35 +01:00
Lennart Poettering eab07b4b23 update TODO 2013-12-24 02:57:17 +01:00
Lennart Poettering 508c6f95cb update TODO 2013-12-23 04:20:55 +01:00
Lennart Poettering bee7e92899 update TODO 2013-12-22 03:50:52 +01:00
Lennart Poettering df98a87ba3 bus: introduce concept of "const" properties
This way we have four kinds of properties:

a) those which are constant as long as an object exists
b) those which can change and PropertiesChange messages with contents are generated
c) those which can change and where the PropertesChange merely includes invalidation
d) those which can change but for which no events are generated

Clients (through code generators run on the introspection XML) can thus
aggressively cache a, b, c, with only d excluded.
2013-12-22 03:50:52 +01:00
Florian Weimer 4ff4ebb1fb util: remove union dirent_storage 2013-12-21 18:35:55 -05:00
Lennart Poettering dad5f697dd update TODO 2013-12-21 23:32:45 +01:00
Lennart Poettering 2aa40788f7 update TODO 2013-12-21 18:13:01 +01:00
Lennart Poettering daee56067f update TODO 2013-12-21 00:19:30 +01:00
Lennart Poettering 53461b74df driverd: implement AddMatch/RemoveMatch logic 2013-12-19 04:40:56 +01:00
Kay Sievers df32a1caaf libudev: disable monitor inside a container
Uevents are events of the host, which should not leak into a container.
Containers do not support hotplug at the moment, and devices and uevents
are not namespace aware.
2013-12-18 22:01:31 +01:00
Kay Sievers f6613dd959 libudev: devices received from udev are always initialized 2013-12-18 17:34:22 +01:00
Kay Sievers 48b9cfcb7c comment out udev's is_initialized call until the problem is sorted out 2013-12-18 05:07:16 +01:00
Lennart Poettering 06db8540cd update TODO 2013-12-17 21:45:43 +01:00
Lennart Poettering 10e4e52be8 update TODO 2013-12-16 17:05:42 +01:00
Lennart Poettering 58f299eef6 update TODO 2013-12-13 17:16:06 +01:00
Lennart Poettering a56b63f41d man: document more error codes for sd_bus_request_name() 2013-12-13 16:01:54 +01:00
Lennart Poettering 9f97c93671 update TODO 2013-12-13 15:30:12 +01:00
Lennart Poettering 12179984a3 event: when unreffing an event source from its own handler, detach fd from epoll
The pattern of unreffing an IO event source and then closing its fd is
frequently seen in even source callbacks. Previously this likely
resultet in us removing the fd from the epoll after it was closed which
is problematic, since while we were dispatching we always kept an extra
reference to event source objects because we might still need it later.
2013-12-13 04:06:43 +01:00
Lennart Poettering 6203e07a83 event: rework sd-event exit logic
With this change a failing event source handler will not cause the
entire event loop to fail. Instead, we just disable the specific event
source, log a message at debug level and go on.

This also introduces a new concept of "exit code" which can be stored in
the event loop and is returned by sd_event_loop(). We also rename "quit"
to "exit" everywhere else.

Altogether this should make things more robus and keep errors local
while still providing a way to return event loop errors in a clear way.
2013-12-13 04:06:43 +01:00
Lennart Poettering 01390ca8a2 update TODO 2013-12-12 15:59:13 +01:00
Lennart Poettering d78bf250b0 bus: properly generate NameOwnerChanged messages when we take from/give back to queue/starter 2013-12-12 01:51:51 +01:00
Lennart Poettering 0a825b5cd4 update TODO 2013-12-12 01:39:21 +01:00
Lennart Poettering b6741478e7 journal: add ability to browse journals of running OS containers
This adds the new library call sd_journal_open_container() and a new
"-M" switch to journalctl. Particular care is taken that journalctl's
"-b" switch resolves to the current boot ID of the container, not the
host.
2013-12-11 22:04:03 +01:00
Lennart Poettering f9a810beda journald: port to sd-event and enable watchdog support 2013-12-11 20:55:09 +01:00
Lennart Poettering cde93897cd event: hook up sd-event with the service watchdog logic
Adds a new call sd_event_set_watchdog() that can be used to hook up the
event loop with the watchdog supervision logic of systemd. If enabled
and $WATCHDOG_USEC is set the event loop will ping the invoking systemd
daemon right after coming back from epoll_wait() but not more often than
$WATCHDOG_USEC/4. The epoll_wait() will sleep no longer than
$WATCHDOG_USEC/4*3, to make sure the service manager is called in time.

This means that setting WatchdogSec= in a .service file and calling
sd_event_set_watchdog() in your daemon is enough to hook it up with the
watchdog logic.
2013-12-11 18:20:09 +01:00
Lennart Poettering 08cd155254 event: when handling SIGCHLD of a child process only reap after dispatching event source
That way the even source callback is run with the zombie process still
around so that it can access /proc/$PID/ and similar, and so that it can
be sure that the PID has not been reused yet.
2013-12-11 18:20:09 +01:00
Lennart Poettering 80caea6cc7 update TODO 2013-12-10 22:50:29 +00:00
Lennart Poettering adacb9575a bus: introduce "trusted" bus concept and encode access control in object vtables
Introduces a new concept of "trusted" vs. "untrusted" busses. For the
latter libsystemd-bus will automatically do per-method access control,
for the former all access is automatically granted. Per-method access
control is encoded in the vtables: by default all methods are only
accessible to privileged clients. If the SD_BUS_VTABLE_UNPRIVILEGED flag
is set for a method it is accessible to unprivileged clients too. By
default whether a client is privileged is determined via checking for
its CAP_SYS_ADMIN capability, but this can be altered via the
SD_BUS_VTABLE_CAPABILITY() macro that can be ORed into the flags field
of the method.

Writable properties are also subject to SD_BUS_VTABLE_UNPRIVILEGED and
SD_BUS_VTABLE_CAPABILITY() for controlling write access to them. Note
however that read access is unrestricted, as PropertiesChanged messages
might send out the values anyway as an unrestricted broadcast.

By default the system bus is set to "untrusted" and the user bus is
"trusted" since per-method access control on the latter is unnecessary.

On dbus1 busses we check the UID of the caller rather than the
configured capability since the capability cannot be determined without
race. On kdbus the capability is checked if possible from the attached
meta-data of a message and otherwise queried from the sending peer.

This also decorates the vtables of the various daemons we ship with
these flags.
2013-12-10 16:52:49 +00:00
Ronny Chevalier c6a77179a4 test: rework run_qemu
It tries to find a suitable QEMU binary and will use KVM if present.
We can now configure QEMU from outside with 4 variables :
  - $QEMU_BIN : path to QEMU's binary
  - $KERNEL_APPEND : arguments appended to kernel cmdline
  - $KERNEL_BIN : path to a kernel
    Default /boot/vmlinuz-$KERNEL_VER
  - $INITRD : path to an initramfs
    Default /boot/initramfs-${KERNEL_VER}.img
  - $QEMU_SMP : number of CPU simulated by QEMU.
    Default 1

(from Alexander Graf's script: http://www.spinics.net/lists/kvm/msg72389.html)
2013-12-10 07:46:21 -05:00
Lennart Poettering a99b3a4a9f update TODO 2013-12-10 01:11:43 +01:00
Zbigniew Jędrzejewski-Szmek 014e7ea7f2 Trim TODO 2013-12-08 19:26:51 -05:00
Tom Gundersen 0a4b9a0787 TODO: add networkd entries 2013-12-04 14:15:13 +01:00
Lennart Poettering 0e7be1293f core: use normal library call to query list of current names 2013-12-03 18:58:18 +01:00
Lennart Poettering e7176abbe8 bus: make sd_bus_request_name() and sd_bus_release_name() behave more like other calls
Instead of returning an enum of return codes, make them return error
codes like kdbus does internally.

Also, document this behaviour so that clients can stick to it.

(Also rework bus-control.c to always have to functions for dbus1 vs.
kernel implementation of the various calls.)
2013-12-03 18:02:46 +01:00
Zbigniew Jędrzejewski-Szmek c7332b0844 catalog: determine language from the filename 2013-12-02 22:12:02 -05:00
Lennart Poettering e821075a23 bus: add .busname unit type to implement kdbus-style bus activation 2013-12-02 23:32:34 +01:00
Lennart Poettering fd5b0b9141 nspawn: make sure /dev/kdbus in the container is world accessible 2013-12-02 19:59:15 +01:00
Lennart Poettering 6717d47350 bus: when replying to an incoming message and the vtable contains the expected return signature generate an error if the response message doesn't match it 2013-12-02 15:29:40 +01:00
Shawn Landden e93c33d4aa systemctl: add "systemctl cat" 2013-11-30 22:20:20 -05:00
Lennart Poettering 626851be97 bus: do kdbus only if this is enabled on the configure switch
Since we want to retain the ability to break kernel ←→ userspace ABI
after the next release, let's not make use by default of kdbus, so that
people with future kernels will not suddenly break with current systemd
versions.

kdbus support is left in all builds but must now be explicitly requested
at runtime (for example via setting $DBUS_SESSION_BUS). Via a configure
switch the old behaviour can be restored. In fact, we change autogen.sh
to do this, so that git builds (which run autogen.sh) get kdbus by
default, but tarball builds (which ue the configure defaults) do not get
it, and hence this stays out of the distros by default.
2013-11-30 20:18:48 +01:00
Lennart Poettering 4734b89564 update TODO 2013-11-30 19:55:23 +01:00
Lennart Poettering 49b832c5b8 bus: include unique and well known names in credentials object 2013-11-30 14:46:14 +01:00
Lennart Poettering f38afcd0c7 clean up TODO 2013-11-28 18:44:50 +01:00
Lennart Poettering 34c7dc47d3 man: get rid of shell script example in systemd-socket-proxyd man page 2013-11-28 18:42:18 +01:00
Tom Gundersen 88e4d1d733 TODO: add sd-rtnl items 2013-11-27 23:15:04 +01:00
Lennart Poettering 8cf030b349 Revert "socket-proxyd: Add --listener option for listener/destination pairs."
This reverts commit adcf4c81c5.

We have a better solution for the problem of making two processes run in
the same namespace, and --listener is not needed hence and should be
dropped.

Conflicts:
	man/systemd-socket-proxyd.xml
2013-11-27 20:55:15 +01:00
Lukasz Skalski 4ec181a006 updates for TODO and README
* library support for setns() system call was added to glibc
version 2.14 (setns() call is use in src/machine/machinectl.c
and src/libsystemd-bus-container.c)

* utf8 validation call are already exported (via sd-utf8.c file) -
commit - 369c583b3f
2013-11-27 13:14:24 +01:00
Lennart Poettering d0767ffd08 journal: add a test case for flushing messages out of a series of journal files into a single new one 2013-11-27 01:01:53 +01:00
Daniel Buch f5f6d0e255 tree-wide usage of %m specifier instead of strerror(errno)
Also for log_error() except where a specific error is specified

e.g. errno ? strerror(errno) : "Some user specified message"
2013-11-26 21:07:46 +10:00
Lennart Poettering 0bee65f062 shutdown: during final killing spree also send SIGHUP in addition to SIGTERM to deal with shells
This makes shutdown a bit faster if debug-shell.service is enabled.
2013-11-25 22:10:22 +01:00
David Strauss adcf4c81c5 socket-proxyd: Add --listener option for listener/destination pairs. 2013-11-25 10:46:48 +10:00
David Strauss bfe76ec3ce Update TODO 2013-11-23 07:55:37 +10:00
Lennart Poettering baabc57764 build-sys: move more files from core/ to share/ that are generic enough 2013-11-22 16:31:40 +01:00
Lennart Poettering f00c31213a bus: also add error parameter to object find and enumerator callbacks
Just in order to bring things inline with the method and property
callbacks.
2013-11-22 01:42:15 +01:00
Lennart Poettering 969987ea93 bus: restore selinux access control to PID 1 for properties 2013-11-21 23:36:51 +01:00
Lennart Poettering 9f5eb56a13 timer: make timer accuracy configurable
And make it default to 1min
2013-11-21 22:08:20 +01:00
Lennart Poettering ebcf1f97de bus: rework message handlers to always take an error argument
Message handler callbacks can be simplified drastically if the
dispatcher automatically replies to method calls if errors are returned.

Thus: add an sd_bus_error argument to all message handlers. When we
dispatch a message handler and it returns negative or a set sd_bus_error
we send this as message error back to the client. This means errors
returned by handlers by default are given back to clients instead of
rippling all the way up to the event loop, which is desirable to make
things robust.

As a side-effect we can now easily turn the SELinux checks into normal
function calls, since the method call dispatcher will generate the right
error replies automatically now.

Also, make sure we always pass the error structure to all property and
method handlers as last argument to follow the usual style of passing
variables for return values as last argument.
2013-11-21 21:12:36 +01:00
Lennart Poettering 51b4ea6f48 bus: the :no-sender hack is now unnecessary, since the new library doesn't require this anymore 2013-11-21 21:12:36 +01:00
Lennart Poettering df2d202e6e bus: let's simplify things by getting rid of unnecessary bus parameters 2013-11-21 02:07:35 +01:00
Lennart Poettering 28383ba189 bus: add API calls to escape string components of objects paths 2013-11-21 01:03:26 +01:00
Lennart Poettering 850516e012 sd-event: try to move timer wakeups to the same spot within each minute 2013-11-21 00:46:13 +01:00
Lennart Poettering 2e41a51ea4 socket: fix segfault 2013-11-21 00:06:11 +01:00
Lennart Poettering 718db96199 core: convert PID 1 to libsystemd-bus
This patch converts PID 1 to libsystemd-bus and thus drops the
dependency on libdbus. The only remaining code using libdbus is a test
case that validates our bus marshalling against libdbus' marshalling,
and this dependency can be turned off.

This patch also adds a couple of things to libsystem-bus, that are
necessary to make the port work:

- Synthesizing of "Disconnected" messages when bus connections are
  severed.

- Support for attaching multiple vtables for the same interface on the
  same path.

This patch also fixes the SetDefaultTarget() and GetDefaultTarget() bus
calls which used an inappropriate signature.

As a side effect we will now generate PropertiesChanged messages which
carry property contents, rather than just invalidation information.
2013-11-20 20:52:36 +01:00
Olivier Brunel 9cd861842c Fix RemainAfterExit services keeping a hold on console
When a service exits succesfully and has RemainAfterExit set, its hold
on the console (in m->n_on_console) wasn't released since the unit state
didn't change.
2013-11-16 12:08:11 -05:00
Zbigniew Jędrzejewski-Szmek 24710f6d2f Update TODO 2013-11-14 00:08:36 -05:00
Lennart Poettering 966204e010 timer: consider (usec_t) -1 an invalid timestamp 2013-11-11 15:54:42 +01:00
Lennart Poettering 60411ac750 bus: we really need to get rid of the :no-sender hack
This is where a hack from PID 1 spilled into the client side. We need
to get rid of this as soon as PID 1 is converted to libsystemd-bus.
2013-11-10 23:54:55 +01:00
Zbigniew Jędrzejewski-Szmek 9cb74bcb23 man,units: fix installation of systemd-nspawn@.service and add example 2013-11-09 19:02:53 -05:00
Kay Sievers dbb642afae bus: let magic ":no-sender" pass the validation 2013-11-09 00:58:11 +01:00
Lennart Poettering 94676f3e93 localectl: port over to bus_log_create_error() 2013-11-08 19:48:42 +01:00
Lennart Poettering 477def8097 shutdown: unify handling of reboot() syscall a bit 2013-11-08 19:32:45 +01:00
Lennart Poettering 41dd15e474 systemctl: restore ability to directly connect to PID1 from systemctl 2013-11-08 17:07:42 +01:00
Lennart Poettering 6fd4d02098 update TODO 2013-11-08 14:07:27 +01:00
Lennart Poettering 6cc532fdcc update TODO 2013-11-07 21:41:06 +01:00
Lennart Poettering 49a6199b42 update TODO 2013-11-07 16:53:25 +01:00
Ronny Chevalier 889a90422d test: remove duplicated code 2013-11-07 01:23:54 -05:00
David Strauss fd201fda7d socket-proxyd: The proxy can now accept multiple sockets (but only to one remote host). 2013-11-07 14:46:31 +10:00
Lennart Poettering ce6d4630c1 update TODO 2013-11-05 20:55:14 +01:00
Lennart Poettering d16bd05561 update TODO 2013-11-05 20:52:20 +01:00
Lennart Poettering ced4d06784 update TODO 2013-11-05 03:07:39 +01:00
Lennart Poettering 90e071d1d5 update TODO 2013-11-05 01:13:05 +01:00
Ronny Chevalier d74ab85216 zsh-completion: add systemd-run 2013-10-30 22:45:18 -04:00
Lennart Poettering 4ba9328022 nspawn: split out pty forwaring logic into ptyfwd.c 2013-10-31 01:43:38 +01:00
Lennart Poettering 07459db69f update TODO 2013-10-30 02:08:57 +01:00
Lennart Poettering c20fd707a2 update TODO 2013-10-28 21:11:51 +01:00
David Strauss a427c13d26 Update socket proxy name in TODO. Reformat to list. 2013-10-28 12:48:39 -07:00
Tom Gundersen af6f0d422c udev: add network link configuration tool
This tool applies hardware specific settings to network devices before they
are announced via libudev.

Settings that will probably eventually be supported are MTU, Speed,
DuplexMode, WakeOnLan, MACAddress, MACAddressPolicy (e.g., 'hardware',
'synthetic' or 'random'), Name and NamePolicy (replacing our current
interface naming logic). This patch only introduces support for
Description, as a proof of concept.

Some of these settings may later be overriden by a network management
daemon/script. However, these tools should always listen and wait on libudev
before touching a device (listening on netlink is not enough). This is no
different from how things used to be, as we always supported changing the
network interface name from udev rules, which does not work if someone
has already started using it.

The tool is configured by .link files in /etc/net/links/ (with the usual
overriding logic in /run and /lib). The first (in lexicographical order)
matching .link file is applied to a given device, and all others are ignored.

The .link files contain a [Match] section with (currently) the keys
MACAddress, Driver, Type (see DEVTYPE in udevadm info) and Path (this
matches on the stable device path as exposed as ID_PATH, and not the
unstable DEVPATH). A .link file matches a given device if all of the
specified keys do. Currently the keys are treated as plain strings,
but some limited globbing may later be added to the keys where it
makes sense.

Example:

/etc/net/links/50-wireless.link
[Match]
MACAddress=98:f2:e4:42:c6:92
Path=pci-0000:02:00.0-bcma-0
Type=wlan

[Link]
Description=The wireless link
2013-10-26 22:09:20 +02:00
Jan Engelhardt 19aadacf92 man: wording and grammar updates
This is a recurring submission and includes corrections to various
issue spotted.
2013-10-21 20:50:46 -04:00
Tom Gundersen 182ae34769 TODO: update 2013-10-19 12:23:41 +02:00
Tom Gundersen d09ee17da2 efi-boot-generator: hookup to fsck 2013-10-19 12:23:17 +02:00
Tom Gundersen accdd018ed mount/service: drop FsckPassNo support
We now treat passno as boleans in the generators, and don't need this any more. fsck itself
is able to sequentialize checks on the same local media, so in the common case the ordering
is redundant.

It is still possible to force an order by using .d fragments, in case that is desired.
2013-10-19 12:23:17 +02:00
Tom Gundersen efc815a13d TODO: add some fsck items 2013-10-19 00:07:50 +02:00
David Strauss d1b38fac57 Rename sabridge to saproxy to be less cryptic 2013-10-15 17:00:18 -07:00
David Strauss ae25936d0f Update TODOs with follow-up sabridge work. 2013-10-15 16:25:45 -07:00
Lennart Poettering 690018ab40 git: add test-ellipsize to files to ignore by git 2013-10-14 19:02:44 +02:00
Lennart Poettering 71fda00f32 list: make our list macros a bit easier to use by not requring type spec on each invocation
We can determine the list entry type via the typeof() gcc construct, and
so we should to make the macros much shorter to use.
2013-10-14 06:11:19 +02:00
Lennart Poettering 416446221d update TODO 2013-10-14 06:11:18 +02:00
Shawn Landden f405e86de3 util, utf8: make ellipsize take multi-byte characters into account
rename old versions to ascii_*

Do not take into account zerowidth characters, but do consider double-wide characters.
Import needed utf8 helper code from glib.

v3: rebase ontop of utf8 restructuring work

[zj: tweak the algorithm a bit, move new code to separate file]
2013-10-13 17:56:54 -04:00
Lennart Poettering 9db7635521 bus: if a a Set() vtable callback of a writable is left NULL, try to do the right thing automatically 2013-10-11 20:03:19 +02:00
Lennart Poettering 43a43f5016 bus: automatically do a NOP reply when a NULL callback is specified for a method in a vtable
Also, allow specifiying NULL as signature in vtables equivalent to ""
for empty parameter lists.
2013-10-11 20:03:19 +02:00
Lennart Poettering 29ddb38fea libsystemd-bus: add lightweight object vtable implementation for exposing objects on the bus
This adds a lightweight scheme how to define interfaces in static fixed
arrays which then can be easily registered on a bus connection. This
makes it much easier to write bus services.

This automatically handles implementation of the Properties,
ObjectManager, and Introspection bus interfaces.
2013-10-09 02:40:07 +02:00
Lennart Poettering 7f79cd7109 update TODO 2013-10-04 17:05:14 +02:00
Zbigniew Jędrzejewski-Szmek 59fccd8211 execute.c: always set $SHELL
In e6dca81 $SHELL was added to user@.service. Let's
instead provide it to all units which have a user.
2013-10-02 22:23:56 +02:00
David Herrmann ef7939dfbb Update TODO
Remove "logind fbdev removal" as it is no longer supported.
2013-10-01 19:21:35 +02:00
Lennart Poettering 4cc1fe6913 update TODO 2013-10-01 13:35:37 +02:00
Lennart Poettering 0b926f194a Update TODO 2013-10-01 00:17:21 +02:00
Zbigniew Jędrzejewski-Szmek 69ae3ee07e logs-show.c: show all messages for a slice 2013-10-01 00:02:08 +02:00
Lennart Poettering 3efabbe47f update TODO 2013-09-30 18:57:04 +02:00
Lennart Poettering 278d4bcfe9 Update TODO 2013-09-27 02:59:50 +02:00
Lennart Poettering baa89da40a cgroup: when referencing cgroup controller trees allow omission of the path 2013-09-26 20:20:30 +02:00
Kay Sievers ee9c9500ab TODO: add header back 2013-09-24 15:47:42 +02:00
Kay Sievers fb8f3f9869 TODO: update 2013-09-24 15:34:57 +02:00
Dave Reisner 7991ac34ab shared/utf8: merge implementations, remove cruft
This unifies the utf8 handling code which was previously duplicated in
udev and systemd.
2013-09-19 11:49:03 -04:00
Lennart Poettering ef5bfcf668 backlight,random-seed: move state files into /var/lib/systemd
Let's not scatter (private) files in /var around, let's place them all
in /var/lib/systemd and below.
2013-09-17 17:28:35 -05:00
Lennart Poettering 360e09ea9a Update TODO 2013-09-17 17:15:30 -05:00
Lennart Poettering bf24e638af Update TODO 2013-09-17 15:28:22 -05:00
Lennart Poettering ddca82aca0 cgroup: get rid of MemorySoftLimit=
The cgroup attribute memory.soft_limit_in_bytes is unlikely to stay
around in the kernel for good, so let's not expose it for now. We can
readd something like it later when the kernel guys decided on a final
API for this.
2013-09-17 14:58:00 -05:00
Lennart Poettering e58ae41037 update TODO 2013-09-17 11:59:41 -05:00
Lennart Poettering 0aafd43d23 update TODO 2013-09-17 10:06:50 -05:00
David Strauss d2e2c03d87 TODO spelling fix. 2013-09-16 17:40:00 -05:00
Zbigniew Jędrzejewski-Szmek 4b549144d8 Verify validity of session name when received from outside
Only ASCII letters and digits are allowed.
2013-09-16 09:58:37 -05:00
Lennart Poettering df5f6971e6 update TODO 2013-09-13 14:32:14 +02:00
Lennart Poettering 719e4e368b update TODO 2013-09-13 04:13:47 +02:00
Zbigniew Jędrzejewski-Szmek 64eed40c07 bash-completion: add systemd-run 2013-09-12 19:36:27 -04:00
Lennart Poettering 982e44dbc3 update TODO 2013-09-12 18:52:41 +02:00
Umut Tezduyar d137a488af core: notify triggered by socket of a service 2013-09-12 18:47:20 +02:00
Lennart Poettering fcba531ed4 update TODO 2013-09-12 18:09:08 +02:00
Kay Sievers 7de778beab TODO: remove backlight tool 2013-09-12 17:20:33 +02:00
Lennart Poettering 7b617155b5 core: failed scope units may not be restarted
We don't allow reusing of scopes.
2013-09-11 19:28:28 +02:00
Lennart Poettering 4c3a31668e Update TODO 2013-09-11 17:44:33 +02:00
Tom Gundersen 80c3b720bf fstab-generator: use DefaultDependencies=yes
This removes some redundancy between the generator and the core mount handling.
2013-09-11 14:40:59 +02:00
Lukas Nykryn 9285c9ff26 service: remove pidfile after exit of a service 2013-09-10 16:58:04 +02:00
Zbigniew Jędrzejewski-Szmek c9d954b27e run: allow non-absolute paths as command 2013-09-09 13:49:30 -04:00
Dave Reisner a012ab5293 TODO: update todo 2013-09-06 16:26:55 -04:00
Maciej Wereski ea92ae33e0 "-" prefix for InaccessibleDirectories and ReadOnlyDirectories 2013-08-23 12:48:14 -04:00
Shawn Landden 2a0e069256 remove hasprefix(), use startswith() 2013-08-22 00:52:14 -04:00
Zbigniew Jędrzejewski-Szmek c51cf05646 Rename F_TYPE_CMP() to F_TYPE_EQUAL() 2013-08-20 21:18:43 -04:00
Zbigniew Jędrzejewski-Szmek 04ac799283 man: fix spacing issue in systemd-nspawn(1)
Same as 1e158d273.
2013-08-19 16:00:22 -04:00
Kay Sievers 85424725d1 README: update list of used LICENSEs 2013-08-14 22:59:55 +02:00
Lennart Poettering 38563c1947 update TODO 2013-08-13 10:32:24 +02:00
Lennart Poettering 1a14a53cfd gpt-auto-generator: add basic auto-discovery of GPT partitions
This adds a simple generator that is capable of automatically
discovering certain GPT partitions by their type UUID and mount/enable
them. This currently covers swap partitions and /home partitions, but is
expected to grow more features soon.

This currently doesn't handle LUKS encrypted /home.

This enables all swap partitions of type
0657fd6da4ab43c484e50933c84b4f4f, if found.

This mounts the first partition of type 933ac7e12eb44f13b8440e14e2aef915
as /home, if it is found.
2013-08-13 10:13:45 +02:00
Kay Sievers 0b41bcec90 TODO: update 2013-08-13 00:00:32 +02:00
Zbigniew Jędrzejewski-Szmek a6f0104a16 logs-show: limit to 3 lines and use dots if not showing full message
So far, we would show up to 128 bytes from a message, simply
cutting of the rest. With multiline messages, it is quite common
for a message to be longer than that, and this model doesn't really
work anymore.

A new limit is added: up to 3 lines will be shown, unless --full is
used (c.f. first line below).  The limit for bytes is extended to 300
bytes. An ellipsis will always be used, if some form of truncation
occurs. If the tail of the message is cut off, either because of
length or line limit, dots will be shown at the end of the last
line. If this last line is short, the dots will be simply appended. If
the last line is too long for that, it will be ellipsized with dots at
the very end.

Note that the limits are in bytes, not characters, and we suck at
outputting unicode strings (c.f. last three lines below).

Aug 11 10:46:21 fedora python[67]: test message
                                   line
                                   line...
Aug 11 10:50:47 fedora python[76]: test message word word word word word word word word word word word wor...
Aug 11 10:55:11 fedora python[83]: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Aug 11 11:03:21 fedora python[90]: ąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą...
Aug 11 11:03:53 fedora python[97]: aąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą...
Aug 11 11:25:45 fedora python[121]: aąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą�...
2013-08-11 18:10:34 -04:00
Lennart Poettering 94bbc9915a update TODO 2013-08-09 19:05:07 +02:00
Maciej Wereski b0693d3086 service: prohibit Restart= set when Type=oneshot 2013-08-09 18:09:21 +02:00
Kay Sievers 1fab57c209 TODO: add hwdb timestamp check 2013-08-07 16:47:31 +02:00
Kay Sievers cff452c7e9 TODO: add weird instance unit enable behavior 2013-08-06 15:05:41 +02:00
Lennart Poettering 07beec1244 update TODO 2013-07-30 02:54:56 +02:00
Lennart Poettering 5a4555ba6b update TODO 2013-07-29 23:12:20 +02:00
Lennart Poettering 4c4ae27d4d update TODO 2013-07-29 18:43:57 +02:00
Lennart Poettering afaba02347 update TODO 2013-07-29 16:42:22 +02:00
Kay Sievers c0e1b50270 TODO: remove kernel env var importing fix 2013-07-27 19:55:04 +02:00
Lennart Poettering 76e665855e logind: update the session state file before we send out the CreateSession() reply
https://bugs.freedesktop.org/show_bug.cgi?id=67273
2013-07-26 19:03:54 +02:00
Lennart Poettering a65615ca5d systemctl: move set-log-level to systemd-analyze
"systemctl set-log-level" is a command for analysis and tracing hence
"systemd-analyze" should be the better home for it, thus allowing us to
make the overly large "systemctl" a bit smaller.
2013-07-26 16:59:55 +02:00
Lennart Poettering 9ea9d4cf16 systemctl: move "dump" command from systemctl to systemd-analyze
It's an analysis command and its format is explicitly not covered by any
stability guarantees, hence move away from systemctl and into
systemd-analyze, minimizing the already large interface of systemctl a
bit.

This patch also adds auto-paging to the various systemd-analyze commands
where that makes sense
2013-07-26 16:36:25 +02:00
Lennart Poettering d07f7b9ef2 journal: immediately sync to disk as soon as we receieve an EMERG/ALERT/CRIT message 2013-07-24 12:34:28 +02:00
Lennart Poettering 408f281bc7 NEWS: prepare half a NEWS file for upcoming 206 2013-07-22 00:17:00 +02:00
Lennart Poettering 83787333bd man: update documentation of systemctl cgroup commands 2013-07-19 19:29:08 +02:00
Lennart Poettering 847ae0ae7f man: update documentation of slice units a bit 2013-07-19 19:16:47 +02:00
Lennart Poettering 9365b048c0 man: update scope unit man page a bit 2013-07-19 19:04:17 +02:00
Lennart Poettering 3e2f69b779 man: update pam_systemd documentation to current state of the code 2013-07-19 18:52:09 +02:00
Lennart Poettering 1ec96668dd man: list scope and slice units in systemd(1) 2013-07-19 18:44:33 +02:00
Lennart Poettering 60211b3507 man: document sd_pid_get_slice() call of libsystemd-login 2013-07-19 18:10:12 +02:00
Lennart Poettering 431c72dc3d man: update systemd-nspawn regarding new --slice= logic 2013-07-19 17:55:52 +02:00
Lennart Poettering dc7adf202b man: drop the old cgroup settings from the man pages 2013-07-19 17:23:34 +02:00
Zbigniew Jędrzejewski-Szmek 6aaa8c2f78 core: add %v specifier 2013-07-19 02:45:49 -04:00
Lennart Poettering 61ad59b131 man: document Slice= setting (and other fixes) 2013-07-19 04:10:06 +02:00
Lennart Poettering e1b7e7ec9b update TODO 2013-07-19 03:48:23 +02:00
Kay Sievers 466784c871 TODO: update 2013-07-18 23:07:37 +02:00
Zbigniew Jędrzejewski-Szmek 52990c2e0e systemd,systemctl: export condition status and show failing condition
$ systemctl --user status hoohoo
hoohoo.service
   Loaded: loaded (/home/zbyszek/.config/systemd/user/hoohoo.service; static)
   Active: inactive (dead)
           start condition failed at Tue 2013-06-25 18:08:42 EDT; 1s ago
           ConditionPathExists=/tmp/hoo was not met

Full information is exported over D-Bus:
  [(condition, trigger, negate, param, state),...]
where state is one of "failed" (<0), "untested" (0), "OK" (>0).
I've decided to use 0 for "untested", because it might be useful to
differentiate different types of failure later on, without breaking
compatibility.

systemctl shows the failing condition, if there was a non-trigger
failing condition, or says "none of the trigger conditions were met",
because there're often many trigger conditions, and they must all
fail for the condition to fail, so printing them all would consume
a lot of space, and bring unnecessary attention to something that is
quite low-level.
2013-07-17 23:41:10 -04:00
Lennart Poettering c3bb87dbab update TODO 2013-07-18 02:32:33 +02:00
Zbigniew Jędrzejewski-Szmek 69af450359 Update TODO
This point was done in 77a9e8de6.
2013-07-16 22:48:16 -04:00
Zbigniew Jędrzejewski-Szmek 248fc619b5 journalctl: augment short mode with a cursor at the end
Two options are added: --show-cursor to print the cursor at the end,
and --after-cursor to resume logs on the next line after the previous one.
2013-07-16 22:41:47 -04:00
Lennart Poettering c5757cc8db update TODO 2013-07-17 02:29:19 +02:00
Lennart Poettering e7256c5c13 update 2013-07-16 18:54:03 +02:00
Lennart Poettering 042e33ae3a rpm: add RPM macro for creating tmpfiles entries after package installation 2013-07-16 18:54:03 +02:00
Zbigniew Jędrzejewski-Szmek a65f06bb27 journal: return -ECHILD after a fork
A few asserts are replaced with 'return -EINVAL'. I think that
assert should not be used to check argument in public functions.

Fields in struct sd_journal are rearranged to make it less
swiss-cheesy.
2013-07-16 12:09:48 -04:00
Jan Janssen a331b5e6d4 journalctl: Add support for showing messages from a previous boot
Hi,

I redid the boot ID look up to use enumerate_unique.

This is quite fast if the cache is warm but painfully slow if
it isn't. It has a slight chance of returning the wrong order if
realtime clock jumps around.

This one has to do n searches for every boot ID there is plus
a sort, so it depends heavily on cache hotness. This is in contrast
to the other way of look-up through filtering by a MESSAGE_ID,
which only needs about 1 seek + whatever amount of relative IDs
you want to walk.

I also have a linked-list + (in-place) mergesort version of this
patch, which has pretty much the same runtime. But since this one
is using libc sorting and armortized allocation, I prefer this
one.

To summarize: The MESSAGE_ID way is a *lot* faster but can be
incomplete due to rotation, while the enumerate+sort will find
every boot ID out there but will be painfully slow for large
journals and cold caches.

You choose :P

Jan
2013-07-16 17:38:12 +02:00
Lennart Poettering 18d4e7c26e update TODO 2013-07-16 17:37:49 +02:00
Lennart Poettering 36c0868b67 Update TODO 2013-07-16 14:27:32 +02:00
Shawn Landden 3a83211689 journal: add logging of effective capabilities _CAP_EFFECTIVE
I think this is the most important of the capabilities bitmasks to log.
2013-07-16 04:27:04 +02:00
Lennart Poettering fa7deadb07 update TODO 2013-07-16 04:27:04 +02:00
Zbigniew Jędrzejewski-Szmek 77a9e8de65 man: add note about paging and colors to journalctl(1) 2013-07-15 21:34:57 -04:00
Lennart Poettering d907c20867 update TODO 2013-07-15 23:55:27 +02:00
Lennart Poettering 248aa28ff2 update TODO 2013-07-15 23:55:27 +02:00
Lennart Poettering 47a1454f70 update TODO 2013-07-12 01:18:09 +02:00
Lennart Poettering 1e1ddecf40 update TODO 2013-07-11 21:30:19 +02:00
Lennart Poettering c14901bdeb update TODO 2013-07-11 19:16:11 +02:00
Lennart Poettering 05b23cae8e update TODO 2013-07-11 18:49:53 +02:00
Lennart Poettering 049b4474b3 update TODO 2013-07-11 01:56:45 +02:00
Lennart Poettering bafb15bab9 update TODO 2013-07-11 00:32:32 +02:00
Lennart Poettering 49998ede04 update TODO 2013-07-10 23:46:30 +02:00
Lennart Poettering bdeeb6b543 update TODO 2013-07-10 23:41:03 +02:00
Tom Gundersen edeb68c53f static-nodes: move creation of static nodes from udevd to tmpfiles
As of kmod v14, it is possible to export the static node information from
/lib/modules/`uname -r`/modules.devname in tmpfiles.d(5) format.

Use this functionality to let systemd-tmpfilesd create the static device nodes
at boot, and drop the functionality from systemd-udevd.

As an effect of this we can move from systemd-udevd to systemd-tmpfiles-setup-dev:

 * the conditional CAP_MKNOD (replaced by checking if /sys is mounted rw)
 * ordering before local-fs-pre.target (see 89d09e1b5c)
2013-07-08 21:26:24 +02:00
Kay Sievers 26306aed13 update TODO 2013-07-05 14:59:52 +02:00
Lennart Poettering b0adb5468c update TODO 2013-07-04 01:09:04 +02:00
Lennart Poettering 174da5c5ca update TODO 2013-07-03 17:43:13 +02:00
Lennart Poettering 51da82a781 machined: fix bus path unescaping 2013-07-02 03:58:28 +02:00
Lennart Poettering 374ec6abf3 libsystemd-logind: fix detection of session/user/machine of a PID 2013-07-02 02:34:15 +02:00
Lennart Poettering fb6becb443 logind: port over to use scopes+slices for all cgroup stuff
In order to prepare things for the single-writer cgroup scheme, let's
make logind use systemd's own primitives for cgroup management.

Every login user now gets his own private slice unit, in which his sessions
live in a scope unit each. Also, add user@$UID.service to the same
slice, and implicitly start it on first login.
2013-07-02 01:48:55 +02:00
Lennart Poettering d28e9236e7 core: parse Slice= from the unit type specific unit file section
Since not all unit types know Slice= it belongs in the unit type
specific unit file section.
2013-07-01 02:52:17 +02:00
Lennart Poettering 6c12b52e19 core: add new "scope" unit type for making a unit of pre-existing processes
"Scope" units are very much like service units, however with the
difference that they are created from pre-existing processes, rather
than processes that systemd itself forks off. This means they are
generated programmatically via the bus API as transient units rather
than from static configuration read from disk. Also, they do not provide
execution-time parameters, as at the time systemd adds the processes to
the scope unit they already exist and the parameters cannot be applied
anymore.

The primary benefit of this new unit type is to create arbitrary cgroups
for worker-processes forked off an existing service.

This commit also adds a a new mode to "systemd-run" to run the specified
processes in a scope rather then a transient service.
2013-07-01 00:18:00 +02:00
Lennart Poettering 11ddb6f48e main: fix loading of default target 2013-06-28 18:37:15 +02:00
Lennart Poettering c2756a6840 core: add transient units
Transient units can be created via the bus API. They are configured via
the method call parameters rather than on-disk files. They are subject
to normal GC. Transient units currently may only be created for
services (however, we will extend this), and currently only ExecStart=
and the cgroup parameters can be configured (also to be extended).

Transient units require a unique name, that previously had no
configuration file on disk.

A tool systemd-run is added that makes use of this functionality to run
arbitrary command lines as transient services:

$ systemd-run /bin/ping www.heise.de

Will cause systemd to create a new transient service and run ping in it.
2013-06-28 04:12:58 +02:00
Lennart Poettering 241da3287d unit: make sure the dropins we write are high-priority 2013-06-28 00:41:24 +02:00
Lennart Poettering 7041efe960 dbus: make DeviceAllow=/DevicePolicy= writable 2013-06-27 23:13:17 +02:00
Lennart Poettering b42defe3b8 dbus: make more cgroup attributes runtime settable 2013-06-27 21:50:35 +02:00
Lennart Poettering 8e2af47840 dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it
This introduces two bus calls to make runtime changes to selected bus
properties, optionally with persistence.

This currently hooks this up only for three cgroup atributes, but this
brings the infrastructure to add more changable attributes.

This allows setting multiple attributes at once, and takes an array
rather than a dictionary of properties, in order to implement simple
resetting of lists using the same approach as when they are sourced from
unit files. This means, that list properties are appended to by this
call, unless they are first reset via assigning the empty list.
2013-06-27 21:14:56 +02:00
Lennart Poettering 4ad490007b core: general cgroup rework
Replace the very generic cgroup hookup with a much simpler one. With
this change only the high-level cgroup settings remain, the ability to
set arbitrary cgroup attributes is removed, so is support for adding
units to arbitrary cgroup controllers or setting arbitrary paths for
them (especially paths that are different for the various controllers).

This also introduces a new -.slice root slice, that is the parent of
system.slice and friends. This enables easy admin configuration of
root-level cgrouo properties.

This replaces DeviceDeny= by DevicePolicy=, and implicitly adds in
/dev/null, /dev/zero and friends if DeviceAllow= is used (unless this is
turned off by DevicePolicy=).
2013-06-27 04:17:34 +02:00
Lennart Poettering f123dba8b1 update TODO 2013-06-21 15:57:57 +02:00
Lennart Poettering 3d3ee759e6 update TODO 2013-06-20 23:32:13 +02:00
Lennart Poettering ba73ed858f sd-login: update machine enumeration/notifications APIs for new /run/systemd/machines/ 2013-06-20 04:03:38 +02:00
Lennart Poettering 9444b1f20e logind: add infrastructure to keep track of machines, and move to slices
- This changes all logind cgroup objects to use slice objects rather
  than fixed croup locations.

- logind can now collect minimal information about running
  VMs/containers. As fixed cgroup locations can no longer be used we
  need an entity that keeps track of machine cgroups in whatever slice
  they might be located. Since logind already keeps track of users,
  sessions and seats this is a trivial addition.

- nspawn will now register with logind and pass various bits of metadata
  along. A new option "--slice=" has been added to place the container
  in a specific slice.

- loginctl gained commands to list, introspect and terminate machines.

- user.slice and machine.slice will now be pulled in by logind.service,
  since only logind.service requires this slice.
2013-06-20 03:49:59 +02:00
Lennart Poettering 55d32caf94 update TODO 2013-06-18 16:06:36 +02:00
Zbigniew Jędrzejewski-Szmek 718fe4b1d5 journalctl: properly print headers of empty journals 2013-06-18 08:50:08 -04:00
Lennart Poettering a016b9228f core: add new .slice unit type for partitioning systems
In order to prepare for the kernel cgroup rework, let's introduce a new
unit type to systemd, the "slice". Slices can be arranged in a tree and
are useful to partition resources freely and hierarchally by the user.

Each service unit can now be assigned to one of these slices, and later
on login users and machines may too.

Slices translate pretty directly to the cgroup hierarchy, and the
various objects can be assigned to any of the slices in the tree.
2013-06-17 21:36:51 +02:00
Lennart Poettering 1f263d4dc2 update TODO 2013-06-11 08:55:42 +02:00
Zbigniew Jędrzejewski-Szmek 87011c25d9 journal: remember last direction of search and keep offset cache
The fields in JournalFile are moved around to avoid wasting
7 bytes because of alignment.
2013-06-10 10:10:07 -04:00
Zbigniew Jędrzejewski-Szmek 6eb7a9a001 tests: add test for empty journal files
The headers are currently not printed properly: some "(null)"s appear.
2013-06-10 10:10:07 -04:00
Lennart Poettering 4e09014daf update TODO 2013-06-06 16:25:58 +02:00
Zbigniew Jędrzejewski-Szmek 5ec7641776 systemctl: limit logs in status to current boot
Also reworded a few debug messages for brevity, and added a log
statement which prints out the filter at debug level:

Journal filter: (((UNIT=sys-module-configfs.device AND _PID=1) OR (COREDUMP_UNIT=sys-module-configfs.device AND MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1) OR _SYSTEMD_UNIT=sys-module-configfs.device) AND _BOOT_ID=4e3c518ab0474c12ac8de7896fe6b154)
2013-06-04 09:59:06 -04:00
Václav Pavlín 76d5a71de9 systemctl: add command set-log-level
Command changes current log level
2013-05-30 20:44:41 -04:00
Lukas Nykryn 9749cd77bc core: read "debug" from kernel commandline and set log level 2013-05-30 00:43:39 -04:00
Lennart Poettering 86312ab8de bus: add a more comprehensive test for the bloom filter logic 2013-05-20 10:13:38 +02:00
Lennart Poettering c78196699d bus: calculate bloom filter for match
Yay! Filtering using kernel bloom filter matches works now! Yippieh!
2013-05-20 10:13:38 +02:00
Lennart Poettering 264ad849a4 bus: add APIs for negotiating what is attached to messages 2013-05-17 04:26:27 +02:00
Lennart Poettering 45fbe937d7 bus: add minimal locking around the memfd cache
We want to allow clients to process an sd_bus_message on a different
thread than it was received on. Since unreffing a bus message might
readd some of its memfds to the memfd cache add some minimal locking
around the cache.
2013-05-17 04:26:27 +02:00
Lennart Poettering d5a2b9a6f4 bus: return ECHILD as soon as people try to reuse a bus connection across a fork() 2013-05-17 04:26:27 +02:00
Lukas Nykryn 0000ce05ed systemd-delta: add support for drop-in snippets 2013-05-16 17:23:28 -04:00
Lennart Poettering e4ee6e5cc3 bus: make bus ref counting atomic
This is preparation to allow sd_bus_message obejcts to be processed in a
different thread from their originating sd_bus object.
2013-05-16 21:58:34 +02:00
Lennart Poettering eb01ba5de1 bus: synthesize timeout message errors instead of returning error codes 2013-05-16 21:14:56 +02:00
Lennart Poettering 154ff088d3 update TODO 2013-05-15 22:40:36 +02:00
Zbigniew Jędrzejewski-Szmek 9927180417 journalctl: add -k/--dmesg 2013-05-14 23:08:00 -04:00
Lennart Poettering 7e853a9b9a update TODO 2013-05-14 14:01:20 +02:00
Kay Sievers 32821c76d5 TODO: add "debug" kernel cmdline switch 2013-05-13 22:21:54 +02:00
Auke Kok 9d995d54b5 Add support for ConditionSecurity=ima
Just as with SMACK, we don't really know if a policy has been
loaded or not, as the policy interface is write-only. Assume
therefore that if ima is present in securityfs that it is
enabled.

Update the man page to reflect that "ima" is a valid option
now as well.
2013-05-11 13:42:55 -07:00
Lennart Poettering a7c54c8c1f bus: extend memfd test 2013-05-10 17:34:14 +02:00
Lennart Poettering cdf173349c update TODO 2013-05-07 20:56:41 +02:00
Lennart Poettering 815ac0f1db update TODO 2013-05-07 02:42:15 +02:00
Zbigniew Jędrzejewski-Szmek 19adb8a320 systemd-sleep: add support for freeze and standby
A new config file /etc/systemd/sleep.conf is added.
It is parsed by systemd-sleep and logind. The strings written
to /sys/power/disk and /sys/power/state can be configured.
This allows people to use different modes of suspend on
systems with broken or special hardware.

Configuration is shared between systemd-sleep and logind
to enable logind to answer the question "can the system be
put to sleep" as correctly as possible without actually
invoking the action. If the user configured systemd-sleep
to only use 'freeze', but current kernel does not support it,
logind will properly report that the system cannot be put
to sleep.

https://bugs.freedesktop.org/show_bug.cgi?id=57793
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7e73c5ae6e7991a6c01f6d096ff8afaef4458c36
http://lists.freedesktop.org/archives/systemd-devel/2013-February/009238.html

SYSTEM_CONFIG_FILE and USER_CONFIG_FILE defines were removed
since they were used in only a few places and with the
addition of /etc/systemd/sleep.conf it becomes easier to just
append the name of each file to the dir name.
2013-05-06 22:51:57 +02:00
Lennart Poettering d686f034c3 update TODO 2013-05-06 22:28:56 +02:00
Kay Sievers b4763d9d4c TODO: update 2013-05-06 17:38:27 +02:00
Ville Skyttä d2bbca6855 Spelling fixes 2013-05-03 22:45:09 -04:00
Lennart Poettering 4641a16b15 update TODO 2013-05-03 18:58:44 +02:00
Lennart Poettering 19aa7c4fef update TODO 2013-05-03 14:19:19 +02:00
Zbigniew Jędrzejewski-Szmek 7d617113ee man: link to socket activation blog entries 2013-05-02 23:35:45 -04:00
Nathaniel Chen 8368868452 Add help option to bootchart man page
Bootchart has a help option. For the sake of consistency, this patch
adds it to the man page.

Also, the TODO is updated. Bootcharts were added to the journal in
commit c4d58b0.
2013-05-02 09:21:23 -07:00
Lennart Poettering 675aae254e update TODO 2013-04-30 08:36:02 -03:00
Lennart Poettering 8af8afd6b3 cgroup: make cg_pid_get_path() work properly for co-mounted controllers and normalized named hierarchies 2013-04-30 08:36:01 -03:00
Lennart Poettering 5f1dac6bf6 cryptsetup: warn if keyfiles are world-readable 2013-04-30 08:36:01 -03:00
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