Tom Gundersen
eb34d4af3f
networkd: link - create dhcp and ipv4ll eagerly
...
Make sure the client objects exist for the lifetime of the Link.
2014-03-20 20:18:15 +01:00
Tom Gundersen
c49b33aca6
networkd: update mac address in clients when it changes
...
Pass the mac address on to ipv4ll and dhcp clients so they always have
up-to-date information, and may react appropriately to the change.
Also drop setting the mac address from uevent, and only log when the
address actually changes.
2014-03-20 20:18:15 +01:00
Tom Gundersen
58ec2d3e6e
sd-dhcp-client: do not reset 'secs' when entering INIT-REBOOT
...
Also keep start_time in sync, but that shouldn't matter.
2014-03-20 17:07:43 +01:00
Tom Gundersen
6236f49b23
sd-dhcp-client: don't pass around 'secs'
...
The value is stored in the client object, so get it there when needed.
2014-03-20 17:07:43 +01:00
Patrik Flykt
d790d3f173
libsystemd-dhcp: Update client test case for client id and end option
...
Check that the client identifier is formatted as suggested in the
RFC and that the messages sent ends with an end option.
2014-03-20 10:56:29 +02:00
Patrik Flykt
9d7bf1d58c
libsystemd-network: Don't unnecessarily send too long packets
...
Since the length used by options is known, send packets with no
extra padding.
2014-03-20 10:55:27 +02:00
Patrik Flykt
715c6a9acd
libsystemd-network: Prepend hardware type byte to client identifier
...
Even though client identifiers SHOULD be treated as opaque objects by
DHCP servers, follow the recommendation of a hardware type field with
value 0x01 (ethernet) followed by the hardware address as described in
RFC 2132.
2014-03-20 10:54:31 +02:00
Lennart Poettering
f1b2c3eccb
update TODO
2014-03-20 04:19:23 +01:00
Lennart Poettering
c2c13f2df4
unit: turn off mount propagation for udevd
...
Keep mounts done by udev rules private to udevd. Also, document how
MountFlags= may be used for this.
2014-03-20 04:16:39 +01:00
Lennart Poettering
b5640d8245
update TODO
2014-03-19 23:25:41 +01:00
Lennart Poettering
f21a71a907
core: enable PrivateNetwork= for a number of our long running services where this is useful
2014-03-19 23:25:28 +01:00
Lennart Poettering
7181dbdb2e
core: move notify sockets to /run and $XDG_RUNTIME_DIR
...
A service with PrivateNetwork= cannot access abstract namespace sockets
of the host anymore, hence let's better not use abstract namespace
sockets for this, since we want to make sure that PrivateNetwork=
is useful and doesn't break sd_notify().
2014-03-19 22:46:45 +01:00
Lennart Poettering
907afa0682
man: improve documentation of fs namespace related settings
2014-03-19 22:26:08 +01:00
Lennart Poettering
7d711efb9c
core: make sure we can combine DevicePolicy=closed with PrivateDevices=yes
...
if PrivateDevices=yes is used we need to make sure we can still
create /dev/null and so on.
2014-03-19 22:00:43 +01:00
Lennart Poettering
a3d59cd1b0
sd-bus: don't use assert_return() to check for disconnected bus connections
...
A terminated connection is a runtime error and not a developer mistake,
hence don't use assert_return() to check for it.
2014-03-19 21:41:21 +01:00
Lennart Poettering
598459ceba
core: rework context initialization/destruction logic
...
Let's automatically initialize the kill, exec and cgroup contexts of the
various unit types when the object is constructed, instead of
invididually in type-specific code.
Also, when PrivateDevices= is set, set DevicePolicy= to closed.
2014-03-19 21:06:53 +01:00
Lennart Poettering
ae439c9f9b
sd-bus: properly translate high-level attach flags into kdbus attach flags
2014-03-19 19:09:00 +01:00
Lennart Poettering
5a2e420c1f
update TODO
2014-03-19 19:09:00 +01:00
Lennart Poettering
b46a529c7c
core: when PrivateTmp= is set for a unit, make sure to order it after /tmp and /var/tmp are mounted
2014-03-19 19:09:00 +01:00
Lennart Poettering
d99a705296
units: make use of PrivateTmp=yes and PrivateDevices=yes for all our long-running daemons
2014-03-19 19:09:00 +01:00
Lennart Poettering
7973ca1927
update TODO
2014-03-19 16:25:11 +01:00
Lennart Poettering
2b85f4e19c
core: Beef up PrivateDevices=
...
Also mount /dev/kdbus, /dev/mqueue and /dev/hugepages into the /dev for
namespaced services.
2014-03-19 16:25:11 +01:00
Lennart Poettering
d0ce77344b
busctl: when monitoring the bus, enable all credentials
2014-03-19 16:25:11 +01:00
Lennart Poettering
6af00e06e4
core: expose missing busname properties on the bus
2014-03-19 16:25:11 +01:00
Tom Gundersen
7bf2f43972
sd-dhcp-client: accept infinite lease lifetime
...
Otherwise we would fail with -EINVAL. Thanks to Brandon Philips
<brandon.philips@coreos.com >, for reporting the bug.
2014-03-19 10:41:29 +01:00