1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 20:25:25 +03:00
Commit Graph

1442 Commits

Author SHA1 Message Date
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