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

14418 Commits

Author SHA1 Message Date
Tom Gundersen
216816c6bc networkd: link - only reset transient hostname if it was set by us 2014-02-19 16:46:58 +01:00
Maciej Wereski
31d5a60cae systemctl: remove erroneous return in runlevel_parse_argv() 2014-02-19 16:24:16 +01:00
Maciej Wereski
d1368aa9bd logind: remove redundant check in manager_new() 2014-02-19 16:24:13 +01:00
Lennart Poettering
7bb2954901 update TODO 2014-02-19 16:23:43 +01:00
Lennart Poettering
708e25e137 label: minor optimizations 2014-02-19 16:23:43 +01:00
Tom Gundersen
d5eff74097 missing.h: add some IFLA_* constants
These were added to the kernel between 3.5 and 3.9, let's not require such
recent kernels (yet).
2014-02-19 15:50:24 +01:00
David Herrmann
7a0d4a3d16 event: fix crash on child-source state modifications
Setting a child-source state to anything but SD_EVENT_OFF currently does
nothing. The condition logic is flawed. Move the state update *below* the
test for the previous state.

Fixes a crash if you call:
  sd_event_source_set_enabled(source, SD_EVENT_ON);
  sd_event_source_unref(source);
on a child-source in its own callback.
2014-02-19 13:24:38 +01:00
Lennart Poettering
b67f562c9c man: document $MAINPID 2014-02-19 03:27:03 +01:00
Lennart Poettering
270b085101 update TODO 2014-02-19 03:27:03 +01:00
Lennart Poettering
ac45f971a1 core: add Personality= option for units to set the personality for spawned processes 2014-02-19 03:27:03 +01:00
Zbigniew Jędrzejewski-Szmek
49a356c258 build-sys: fixups for libsystemd-daemon merge 2014-02-18 20:32:40 -05:00
Kay Sievers
be4b47cb52 build-sys: install headers with --enable-kdbus 2014-02-19 02:24:57 +01:00
Kay Sievers
0ebee88184 build-sys: merge libsystemd-daemon into libsystemd 2014-02-19 01:09:19 +01:00
Lennart Poettering
0e4061c4d5 test: add missing test units 2014-02-18 23:55:41 +01:00
Lennart Poettering
6afc95b736 nspawn: add new --personality= switch to make it easier to run 32bit containers on a 64bit host 2014-02-18 23:37:27 +01:00
Thomas Hindoe Paaboel Andersen
0bc8e31b35 delta: add bash completion 2014-02-18 22:34:59 +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
Tom Gundersen
11a7f22939 networkd: refactor link_add() :(
Don't set set **ret when returning r < 0, as matching on the errno may easily
give false positives in the future leading to null pointer dereference.

Reported-by: David Herrmann <dh.herrmann@gmail.com>
2014-02-18 22:34:26 +01:00
Lennart Poettering
3302da4667 nspawn: x86 is special with its socketcall() semantics, be permissive in the seccomp setup 2014-02-18 22:27:46 +01:00
Lennart Poettering
e9642be2cc seccomp: add helper call to add all secondary archs to a seccomp filter
And make use of it where appropriate for executing services and for
nspawn.
2014-02-18 22:14:00 +01:00
Dave Reisner
f3d5485b80 nspawn: allow 32-bit chroots from 64-bit hosts
Arch Linux uses nspawn as a container for building packages and needs
to be able to start a 32bit chroot from a 64bit host. 24fb111207
disrupted this feature when seccomp handling was added.
2014-02-18 21:26:24 +01:00
Lennart Poettering
4b462d1a28 load-modules: properly return a failing error code if some module fails to load
This is the missing part of b857193b1d.
2014-02-18 21:23:16 +01:00
Thomas Hindoe Paaboel Andersen
6bebb0add4 machinectl: remove unused --no-ask-password 2014-02-18 21:14:40 +01:00
Thomas Hindoe Paaboel Andersen
e56056e93d machinectl: add bash completion 2014-02-18 21:14:30 +01:00
Lennart Poettering
0f3e07b7cc update TODO 2014-02-18 21:07:20 +01:00
Thomas Hindoe Paaboel Andersen
773e264d13 man: machinectl: there is no command 'kill-machine' 2014-02-18 17:44:03 +01:00
Tom Gundersen
482e2ac193 man: minor fixes to networkd page
Also enforce that we don't allow setting the Broadcast for IPv6 addresses.
2014-02-18 15:50:45 +01:00
Patrik Flykt
7e95eda5b3 NEWS: Fix header file name 2014-02-18 15:39:25 +01:00
Cristian Rodríguez
0b7005eb0a fix SECCOMP_CFLAGS usage
SECCOMP_CFLAGS must be in the global CFLAGS as <seccomp.h> is
included in core/execute.h. when seccomp.h is not in the standard
path.(i.e openSUSE has it in /usr/include/pkg/libseccomp/, precisely to
catch this kind of bugs) compiling systemd fails.
2014-02-18 09:27:19 -05:00
Patrik Flykt
234ed3eb09 libsystemd-dhcp: Add a full DHCP address acquisition test case
Upon startup the DHCP library will immediately send a DHCP Discover.
Handle the additional DHCP Discover checking and DHCP Offer sending
in test_addr_acq_recv_discover(). Write a zero UDP checksum, the
received XID and the faked MAC address into place to create a DHCP
message the library can accept.

Follow exactly the same steps when receiving a DHCP Request in
test_addr_acq_recv_request() and send the Ack. Check that the proper
addresses have been found by the DHCP library before exiting the
main loop and finishing the test.
2014-02-18 15:23:19 +01:00
Patrik Flykt
6c8a0f07f2 libsystemd-dhcp: Factor out test code for DHCP message verification
Add a callback function that will handle the test case specific checking.
2014-02-18 15:23:19 +01:00
Patrik Flykt
ede286f9d4 libsystemd-dhcp: Add capability to print out test steps 2014-02-18 15:23:19 +01:00
Jason St. John
8b7d0494a3 NEWS: fix typos and grammar errors 2014-02-18 08:47:28 -05:00
Lennart Poettering
8e420494bc NEWS: even more fixes 2014-02-18 13:38:31 +01:00
Tom Gundersen
4fb7242cbb sd-rtnl-message: store reference to the bus in the message
This mimics the sd-bus api, as we may need it in the future.
2014-02-18 11:21:22 +01:00
Daniel Buch
c0c5af00be NEWS: sd-resolv.h is sd-resolve.h 2014-02-18 08:23:24 +01:00
Jan Engelhardt
4670e9d5f2 doc: fix newly-arisen inconsistencies in NEWS 2014-02-17 23:51:55 -05:00
Zbigniew Jędrzejewski-Szmek
06beed6dc6 Remove unused variable and two function stubs 2014-02-17 22:35:35 -05:00
Zbigniew Jędrzejewski-Szmek
1e190502e7 NEWS: fix a few typos and inconsistencies
- systemd-delta had support for .d for a long time.
- systemd-activate had --environment before --setenv.
2014-02-17 22:09:04 -05:00
Kay Sievers
ad42cf7308 NEWS: more "scary" kdbus incompatibility warning 2014-02-18 03:21:31 +01:00
Jan Engelhardt
4c2413bffa doc: general refresh of orthography and grammar 2014-02-18 03:18:21 +01:00
Kay Sievers
b97610038a NEWS: fix typos 2014-02-18 03:08:07 +01:00
Jan Engelhardt
38bf2b26bd doc: orthographic corrections 2014-02-18 03:05:19 +01:00
Lennart Poettering
270f162402 NEWS fix 2014-02-18 03:03:04 +01:00
Lennart Poettering
e49b5aada0 prepare NEWS 2014-02-18 02:51:47 +01:00
Lennart Poettering
9f5650aecb util: generalize code that checks whether PIDs are alive or unwaited for 2014-02-18 02:51:47 +01:00
Jan Engelhardt
ed7e5fe37d doc: utilize the DocBook markup for some literals 2014-02-17 19:03:07 -05:00
Jan Engelhardt
deb480d1a7 doc: reword "shared per-thread" wording
Either it is shared across threads, or it is per-thread: decide.

Reading the source code, I see a thread_local identifier, so that's
that. But that does not yet preclude that a program may pass around
the pointer returned from the function among its own threads.

Do a best effort at saying so.
2014-02-17 19:03:07 -05:00
Jan Engelhardt
8dc385e770 doc: balance C indirections in function prototypes
Shift the asterisks in the documentation's prototypes such that they
are consistent among each other. Use the right side to match source code.
2014-02-17 19:03:07 -05:00
Jan Engelhardt
3c8fa0fd0f doc: properly use XML entities 2014-02-17 19:03:07 -05:00