Commit Graph

14483 Commits

Author SHA1 Message Date
Lennart Poettering
23fae27185 update TODO 2014-02-25 02:37:59 +01:00
Lennart Poettering
67dd87c51b NEWS: fix typo 2014-02-25 02:37:59 +01:00
Lennart Poettering
c74e630d0c nspawn: add new switch --network-macvlan= to add a macvlan device to the container 2014-02-25 02:37:59 +01:00
Zbigniew Jędrzejewski-Szmek
bdd13f6be4 Remove dead lines in various places
As pointed-out by clang -Wunreachable-code.

No behaviour changes.
2014-02-24 19:24:14 -05:00
Lennart Poettering
e9a2e453bb hostnamectl: read virtualization/architecture from remote side
This way we make this more network/container transparent and also do not
require any client side privileges.
2014-02-25 01:03:30 +01:00
Lennart Poettering
7452394e2e core: expose architecture as a bus property, so that we can easily query it remotely 2014-02-25 00:50:38 +01:00
Lennart Poettering
085afe36cb core: add global settings for enabling CPUAccounting=, MemoryAccounting=, BlockIOAccounting= for all units at once 2014-02-24 23:50:10 +01:00
Lennart Poettering
4e72e29a39 update TODO 2014-02-24 21:23:19 +01:00
Kay Sievers
ed28905eec NEWS: fix typos 2014-02-24 20:20:25 +01:00
Lennart Poettering
62ca29b81b build-sys: bump revisions and version 2014-02-24 19:25:00 +01:00
Lennart Poettering
ae0e60fbbc architecture: apparently there is LE ppc now 2014-02-24 19:21:18 +01:00
Lennart Poettering
d27893efdf NEWS: add note about ifunc 2014-02-24 19:13:39 +01:00
Lennart Poettering
43c71255b3 NEWS: prepare for release of 210 2014-02-24 18:34:12 +01:00
Łukasz Stelmach
b9c1bc28eb smack: rework security labeling for multiple frameworks 2014-02-24 17:37:41 +01:00
Łukasz Stelmach
e49d3c0167 smack: set loaded_policy in smack_setup()
With loaded_policy set to true mount_setup() relabels /dev properly.
2014-02-24 17:36:13 +01:00
Łukasz Stelmach
2453d7e447 smack: relabel directories and files created by systemd
Systemd creates directories in /dev. These directories will
get the label of systemd, which is the label of the System
domain, which is not accessable to everyone. Relabel the
directories, files and symlinks created so that they can be
generally used.

Based on a patch by Casey Schaufler <casey@schaufler-ca.com>.
2014-02-24 17:36:06 +01:00
Lennart Poettering
650264033f update TODO 2014-02-24 17:36:06 +01:00
Michal Sekletar
3a3c71c197 hostnamed: correct error message
We are not parsing timezone data.
2014-02-24 16:48:32 +01:00
Lennart Poettering
2d62c530d2 logind: detect whether the system is docked, and if it is inhibit lid switch processing
This should make operation nicer with docking stations, but will not
cover anything that does not implement SW_DOCK.
2014-02-24 16:22:23 +01:00
Lennart Poettering
539237644e update TODO 2014-02-24 15:35:20 +01:00
Zbigniew Jędrzejewski-Szmek
7143555ce8 units/serial-getty@.service: add [Install] section
This makes it easier to manually enable and disable
specific gettys, and also mirrors getty@.service.

http://lists.freedesktop.org/archives/systemd-devel/2014-February/017329.html
2014-02-24 08:07:34 -05:00
Thomas Hindoe Paaboel Andersen
248fab742d virt: make Virtualization an anonymous enum
This makes llvm happy when we assign an error code to the variable.
2014-02-24 13:26:44 +01:00
Lennart Poettering
f8901862b2 update TODO 2014-02-24 13:21:55 +01:00
Mike Gilbert
4ca39b280f configure: Do not require xsltproc for installation of man pages
The release tarballs ship with pre-generated man pages, so we do not
need xsltproc for a typical end-user build.

Developers will probably have xsltproc anyway, but if not they will now
encounter a build-time failure instead of an error in configure.
2014-02-24 00:20:25 -05:00
Djalal Harouni
f5080e7385 systemctl: move next elapse calculation to its own function 2014-02-23 23:53:25 -05:00
Djalal Harouni
454f7158c6 dbus-timer: fix bus_timer_vtable to have the correct times
next_elapse_monotonic() should map to the "NextElapseUSecMonotonic"
property and next_elapse_realtime() to "NextElapseUSecRealtime" one.

This makes "systemctl list-timers" compute and show the correct times.

https://bugs.freedesktop.org/show_bug.cgi?id=75272
2014-02-23 23:53:25 -05:00
Lennart Poettering
46a96f4323 update TODO 2014-02-24 04:04:23 +01:00
Lennart Poettering
543407517e getty-generator: verify ttys before we make use of them
The ttyS[0-3] devices are weird. They may be enumerated, but when one
actually tries to open and use them they return EIO, because they don't
actually exist. Because they may be enumerated they may be specified on
the kernel command line as console=. And some people do that as default.
As response to that we'll spawn a getty on the tty that will quickly
fail, and we retry a couple of time before giving up. That is quite
noisy.

With this new change we will validate all serial terminals configured
with console= on the kernel cmdline before adding gettys on them, and
remove the invalid ones. THis should remove the noise later on.

This should make Eric Paris happy!
2014-02-24 03:59:50 +01:00
Lennart Poettering
01efdf13a6 cgroup: certain cgroup attributes are not available in the root cgroup, hence don't bother 2014-02-24 03:38:58 +01:00
Lennart Poettering
c35fa384d0 core: gc half-created stub units 2014-02-24 03:38:58 +01:00
Lennart Poettering
b272b74dfd core: expose root control group on the bus
We expose the control group of the units on the bus, so let's also
expose the root control group.
2014-02-24 03:38:58 +01:00
Lennart Poettering
9e281251e9 update TODO 2014-02-24 03:38:58 +01:00
Lennart Poettering
9457ac5b4e nspawn: make use of the devices cgroup controller by default 2014-02-24 03:38:58 +01:00
Lennart Poettering
9c96019d31 cgroup: parse array cgroup properties correctly when they aren't at the end of the message 2014-02-24 03:38:58 +01:00
Tom Gundersen
55dab2ed83 sd-dhcp-client: respect TP_STATUS_CSUMNOTREADY
If an UDP packet has not passed through a hardware device, its checksum may not
have been computed. This is exposed through the TP_STATUS_CSUMNOTREADY sockopt.

When using raw sockets, skip checksum validation when TP_STATUS_CSUMNOTREADY
is set.

This is necessary for dhcp to work directly over a veth tunnel, e.g. as done
in systemd-nspawn.
2014-02-24 03:28:19 +01:00
Lennart Poettering
872c2ab3e2 update TODO 2014-02-24 02:31:15 +01:00
Zbigniew Jędrzejewski-Szmek
dfb08b0584 NEWS: mention 99-default.link and NamePolicy 2014-02-23 18:18:06 -05:00
Tom Gundersen
279efc7007 sd-dhcp-client: fix max size of REQUEST message 2014-02-23 23:00:18 +01:00
Tom Gundersen
0a1b6da821 sd-dhcp: message_init - only set secs in the client 2014-02-23 23:00:18 +01:00
Tom Gundersen
8fa2eeace7 sd-dhcp: don't reject packets with the 'wrong' source port
The RFC does not specify that the packets from the DHCP server must come from
the DHCP server port, only that that's where they should be sent.

This fixes a problem when running networkd in VirtualBox.

Thanks to Sébastien Luttringer for reporting the bug and very patiently testing
various fixes.
2014-02-23 22:59:43 +01:00
Tom Gundersen
5266a81ea2 sd-dhcp: use FIONREAD to get correct size of incoming DHCP packet
This avoids the problem of broken DHCP servers sending us too big packets that don't fit in our buffer.
2014-02-23 17:52:31 +01:00
Lennart Poettering
3bb621e1e6 journal: downgrade vaccuum message to debug level
https://bugzilla.redhat.com/show_bug.cgi?id=1047148
2014-02-23 17:05:37 +01:00
Lennart Poettering
8f03fd0891 man: document that per-interface sysctl variables are applied as network interfaces show up
https://bugzilla.redhat.com/show_bug.cgi?id=1062955
2014-02-23 16:43:19 +01:00
Tom Gundersen
06b44be71d sd-dhcp: equally verify udp and raw dhcp messages
Also be more explicit about why packages are ignored.
2014-02-23 16:16:09 +01:00
Lennart Poettering
eda8f06755 update TODO 2014-02-23 03:19:04 +01:00
Lennart Poettering
5556b5fe41 core: clean up some confusing regarding SI decimal and IEC binary suffixes for sizes
According to Wikipedia it is customary to specify hardware metrics and
transfer speeds to the basis 1000 (SI decimal), while software metrics
and physical volatile memory (RAM) sizes to the basis 1024 (IEC binary).
So far we specified everything in IEC, let's fix that and be more
true to what's otherwise customary. Since we don't want to parse "Mi"
instead of "M" we document each time what the context used is.
2014-02-23 03:19:04 +01:00
Zbigniew Jędrzejewski-Szmek
e342365c27 docs: add new gudev functions to documentation 2014-02-22 20:52:28 -05:00
Kay Sievers
f01de9656d src/shared/ cannot reference symbols from libraries
../src/shared/unit-name.c:462: error: undefined reference to 'sd_bus_label_escape'
../src/shared/unit-name.c:477: error: undefined reference to 'sd_bus_label_unescape'
collect2: error: ld returned 1 exit status
2014-02-23 01:53:40 +01:00
Tom Gundersen
ac4f16ab4d sd-dhcp: be more detailed about invalid headers
This may be a common problem, so let's make it simpler to debug,
at least for now.
2014-02-23 01:38:49 +01:00
David Herrmann
d8148cc59d build-sys: remove libsystemd.sym duplicate
sd_memfd_new is available twice. Remove the second one.
2014-02-23 00:26:29 +01:00