1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-15 07:24:00 +03:00
Commit Graph

14392 Commits

Author SHA1 Message Date
Tom Gundersen
e3ab0c0e19 man: refer to systemd.net{work,dev}(5) from systemd-networkd(8) 2014-02-25 19:50:26 +01:00
Tom Gundersen
eac684ef1c man: split out systemd.net{work,dev}(5) from systemd-networkd(8) 2014-02-25 19:30:40 +01:00
Tom Gundersen
1ff28eaee3 man: split out systemd.link(5) from udev(7) 2014-02-25 17:04:13 +01:00
Tom Gundersen
c7f3ba1ecd man: networkd - clarify that multiple addresses/routes are supported 2014-02-25 16:06:45 +01:00
Tomasz Torcz
b3e4387351 fix typo in iDRAC network interface name: irdac->idrac 2014-02-25 14:05:20 +01:00
Jasper St. Pierre
9c413373d2 login: Allow calling org.freedesktop.login1.Seat.SwitchTo 2014-02-25 13:14:55 +01:00
David Herrmann
3e6b205f81 login: set pos-slot to fallback on pos-eviction
If we evict a session position, we open the position slot for future
sessions. However, there might already be another session on the same
position if both were started on the same VT. This is currently done if
gdm spawns the session on its own Xserver.

Hence, look for such a session on pos-eviction and claim the new slot
immediately.
2014-02-25 13:10:42 +01:00
Ansgar Burchardt
949138ccc3 NEWS: fix typo 2014-02-25 13:02:50 +01:00
David Herrmann
a1937e679f login: fix pos-array allocation
GREEDY_REALLOC takes a pointer to the real size, not the array-width as
argument. Therefore, our array is currently way to small to keep the seat
positions.

Introduce GREEDY_REALLOC0_T() as typed version of GREEDY_REALLOC and store
the array-width instead of array-size.
2014-02-25 12:22:31 +01:00
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