platform/upstream/systemd.git
8 years agotests: move fileio related tests to test-fileio.c
Ronny Chevalier [Wed, 2 Mar 2016 22:50:21 +0000 (23:50 +0100)]
tests: move fileio related tests to test-fileio.c

8 years agotests: move stat-util related tests to test-stat-util.c
Ronny Chevalier [Wed, 2 Mar 2016 22:43:25 +0000 (23:43 +0100)]
tests: move stat-util related tests to test-stat-util.c

8 years agotests: move signal-util related tests to test-signal-util.c
Ronny Chevalier [Wed, 2 Mar 2016 22:36:50 +0000 (23:36 +0100)]
tests: move signal-util related tests to test-signal-util.c

8 years agotests: move cpu-set-util related tests to test-cpu-set-util.c
Ronny Chevalier [Wed, 2 Mar 2016 22:29:49 +0000 (23:29 +0100)]
tests: move cpu-set-util related tests to test-cpu-set-util.c

8 years agotests: move web-util related tests to test-web-util.c
Ronny Chevalier [Wed, 2 Mar 2016 22:23:55 +0000 (23:23 +0100)]
tests: move web-util related tests to test-web-util.c

8 years agotests: move alloc related tests to test-alloc-util.c
Ronny Chevalier [Wed, 2 Mar 2016 22:19:55 +0000 (23:19 +0100)]
tests: move alloc related tests to test-alloc-util.c

8 years agotests: move escape related tests to test-escape.c
Ronny Chevalier [Wed, 2 Mar 2016 22:10:11 +0000 (23:10 +0100)]
tests: move escape related tests to test-escape.c

8 years agotests: move strv related tests to test-strv.c
Ronny Chevalier [Wed, 2 Mar 2016 22:01:38 +0000 (23:01 +0100)]
tests: move strv related tests to test-strv.c

8 years agotests: move string related tests to test-string-util.c
Ronny Chevalier [Wed, 2 Mar 2016 21:57:20 +0000 (22:57 +0100)]
tests: move string related tests to test-string-util.c

8 years agotests: move hexdecoct tests to test-hexdecoct.c
Ronny Chevalier [Wed, 2 Mar 2016 21:44:04 +0000 (22:44 +0100)]
tests: move hexdecoct tests to test-hexdecoct.c

8 years agoMerge pull request #2790 from ronnychevalier/rc/systemctl_missing_oom_check
Zbigniew Jędrzejewski-Szmek [Thu, 3 Mar 2016 17:32:12 +0000 (12:32 -0500)]
Merge pull request #2790 from ronnychevalier/rc/systemctl_missing_oom_check

systemctl: add missing OOM check

8 years agosystemctl: add missing OOM check
Ronny Chevalier [Thu, 3 Mar 2016 17:15:24 +0000 (18:15 +0100)]
systemctl: add missing OOM check

8 years agoMerge pull request #2781 from keszybz/selinux-and-warnings
Lennart Poettering [Thu, 3 Mar 2016 16:46:56 +0000 (17:46 +0100)]
Merge pull request #2781 from keszybz/selinux-and-warnings

Selinux loading fix and warning cleanups

8 years agoMerge pull request #2787 from ronnychevalier/rc/systemctl_edit_rm_empty_dropin_dirs
Zbigniew Jędrzejewski-Szmek [Thu, 3 Mar 2016 16:34:09 +0000 (11:34 -0500)]
Merge pull request #2787 from ronnychevalier/rc/systemctl_edit_rm_empty_dropin_dirs

systemctl: rm empty dropin dirs after cancelled edit

8 years agosystemctl: rm empty dropin dirs after cancelled edit
Ronny Chevalier [Wed, 2 Mar 2016 21:06:47 +0000 (22:06 +0100)]
systemctl: rm empty dropin dirs after cancelled edit

Fixes #2734

8 years agoRedefine 32bit time_t format to signed
Zbigniew Jędrzejewski-Szmek [Tue, 1 Mar 2016 17:08:02 +0000 (12:08 -0500)]
Redefine 32bit time_t format to signed

It seems that it is signed both on i386 and arm.

Avoids a stupid gcc warning on arm:

src/udev/udevadm-monitor.c: In function ‘print_device’:
src/udev/udevadm-monitor.c:44:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘__time_t {aka long int}’ [-Wformat=]
         printf("%-6s[%"PRI_TIME".%06ld] %-8s %s (%s)\n",
                ^

8 years agotest-sizeof: add a helper which prints variable sizes and signedness
Zbigniew Jędrzejewski-Szmek [Tue, 1 Mar 2016 16:52:03 +0000 (11:52 -0500)]
test-sizeof: add a helper which prints variable sizes and signedness

This helps to understand misleading gcc warnings about type mismatches.

8 years agotest-selinux: add some simple tests which call functions and print the results and...
Zbigniew Jędrzejewski-Szmek [Tue, 1 Mar 2016 14:17:03 +0000 (09:17 -0500)]
test-selinux: add some simple tests which call functions and print the results and timings

8 years agoselinux: use raw variants of security_compute_create and setfscreatecon
Zbigniew Jędrzejewski-Szmek [Wed, 2 Mar 2016 15:16:39 +0000 (10:16 -0500)]
selinux: use raw variants of security_compute_create and setfscreatecon

As suggested by Evgeny Vereshchagin as a follow up for
https://github.com/systemd/systemd/pull/2781#issuecomment-191043402.

8 years agoMerge pull request #2779 from 0xAX/openat-opath-excess-flags
Daniel Mack [Wed, 2 Mar 2016 08:16:08 +0000 (09:16 +0100)]
Merge pull request #2779 from 0xAX/openat-opath-excess-flags

tree-wide: no need to pass excess flags to open()/openat() if O_PATH …

8 years agoMerge pull request #2782 from AOSC-Dev/master
Daniel Mack [Wed, 2 Mar 2016 08:14:59 +0000 (09:14 +0100)]
Merge pull request #2782 from AOSC-Dev/master

po/zh_CN: attempt to refresh zh_CN translation

8 years agopo/zh_CN: attempt to refresh zh_CN translation
Mingcong Bai [Wed, 2 Mar 2016 03:40:18 +0000 (20:40 -0700)]
po/zh_CN: attempt to refresh zh_CN translation

8 years agoselinux: always try to load the full selinux db
Zbigniew Jędrzejewski-Szmek [Wed, 2 Mar 2016 01:35:55 +0000 (20:35 -0500)]
selinux: always try to load the full selinux db

https://github.com/systemd/systemd/pull/2508#issuecomment-190901170
Maybe fixes https://bugzilla.redhat.com/show_bug.cgi?id=1308771.

8 years agoMerge pull request #2754 from eworm-de/ask-password
Zbigniew Jędrzejewski-Szmek [Tue, 1 Mar 2016 21:03:32 +0000 (16:03 -0500)]
Merge pull request #2754 from eworm-de/ask-password

ask-password: do no print password when storing in keyring

8 years agoMerge pull request #2777 from martinpitt/keymap
Martin Pitt [Tue, 1 Mar 2016 18:49:39 +0000 (19:49 +0100)]
Merge pull request #2777 from martinpitt/keymap

keymap fixes

8 years agotree-wide: no need to pass excess flags to open()/openat() if O_PATH is passed
Alexander Kuleshov [Tue, 1 Mar 2016 18:25:09 +0000 (00:25 +0600)]
tree-wide: no need to pass excess flags to open()/openat() if O_PATH is passed

As described in the documentation:

When O_PATH is specified in flags, flag bits other than O_CLOEXEC,
O_DIRECTORY, and O_NOFOLLOW are ignored.

So, we can remove unnecessary flags in a case when O_PATH is passed
to the open() or openat().

8 years agoask-password: add option --no-output to not print password to stdout
Christian Hesse [Mon, 29 Feb 2016 20:04:02 +0000 (21:04 +0100)]
ask-password: add option --no-output to not print password to stdout

systemd-ask-password can store passwords in kernel keyring. However it
uses to print the passwords to standard output nevertheless. Depending
on where systemd-ask-password is called passwords may end on display
or in log, leaking sensitive information.
This allows to make systemd-ask-password quiet, effectively disabling
printing passwords to standard output.

8 years agokeymap: Some HP refactoring, add Probook 440 G3 keys
Martin Pitt [Tue, 1 Mar 2016 13:51:29 +0000 (14:51 +0100)]
keymap: Some HP refactoring, add Probook 440 G3 keys

Apparently the vendor string for newer models now uses "svnHP" instead of
"svnHewlett-Packard", so add this alternative match to the global HP map.

Generalize matches for micmute key on ProBook 4xx.

Silence two hardwired keys on the ProBook 440 G3 that should not produce evdev
events. Thanks to Hermann Kraus for those! (See PR #2679)

8 years agokeymap: Add HP ZBook
Martin Pitt [Tue, 1 Mar 2016 13:43:43 +0000 (14:43 +0100)]
keymap: Add HP ZBook

https://launchpad.net/bugs/1535219

8 years agoMerge pull request #2773 from eliasp/type-warnings
Daniel Mack [Tue, 1 Mar 2016 09:06:51 +0000 (10:06 +0100)]
Merge pull request #2773 from eliasp/type-warnings

Use `PRIu64` to print `uint64_t` in log msgs

8 years agoMerge pull request #2702 from poettering/resolved-iterate-fix
Zbigniew Jędrzejewski-Szmek [Tue, 1 Mar 2016 04:18:16 +0000 (23:18 -0500)]
Merge pull request #2702 from poettering/resolved-iterate-fix

resolved iteration fix

8 years agoMerge pull request #2767 from benjarobin/fix-warn
Zbigniew Jędrzejewski-Szmek [Tue, 1 Mar 2016 01:45:42 +0000 (20:45 -0500)]
Merge pull request #2767 from benjarobin/fix-warn

systemctl: Fix warn: action_to_runlevel() is not used

8 years agoUse `PRIu64` to print `uint64_t` in log msgs
Elias Probst [Mon, 29 Feb 2016 21:42:43 +0000 (22:42 +0100)]
Use `PRIu64` to print `uint64_t` in log msgs

8 years agoMerge pull request #2771 from 0xAX/core-kernel-timestamp-cleanup
Lennart Poettering [Mon, 29 Feb 2016 19:33:51 +0000 (20:33 +0100)]
Merge pull request #2771 from 0xAX/core-kernel-timestamp-cleanup

core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp

8 years agoMerge pull request #2769 from martinpitt/adjtime
Lennart Poettering [Mon, 29 Feb 2016 19:32:02 +0000 (20:32 +0100)]
Merge pull request #2769 from martinpitt/adjtime

Fixes for adjtime parsing

8 years agotest-clock: fix FILE* leak
Martin Pitt [Mon, 29 Feb 2016 16:40:08 +0000 (17:40 +0100)]
test-clock: fix FILE* leak

Close the FILE* instead of the underlying fd.

8 years agoMerge pull request #2752 from eliasp/no-container-name-escaping
Zbigniew Jędrzejewski-Szmek [Mon, 29 Feb 2016 15:10:55 +0000 (10:10 -0500)]
Merge pull request #2752 from eliasp/no-container-name-escaping

Don't escape the name of the container nspawn service

8 years agoMerge pull request #2763 from tblume/shorten-hostname-before-removing-dots
Lennart Poettering [Mon, 29 Feb 2016 15:05:48 +0000 (16:05 +0100)]
Merge pull request #2763 from tblume/shorten-hostname-before-removing-dots

shorten hostname before checking for trailing dot

8 years agoMerge pull request #2756 from thom311/master
Lennart Poettering [Mon, 29 Feb 2016 15:03:32 +0000 (16:03 +0100)]
Merge pull request #2756 from thom311/master

core: avoid compiler warning when compiling with -fexceptions

8 years agotest-clock: fix assertions
Martin Pitt [Mon, 29 Feb 2016 14:16:11 +0000 (15:16 +0100)]
test-clock: fix assertions

Use assert_se() to ensure that they don't get optimized away.

8 years agotimedated: trivial stylistic fix
Martin Pitt [Mon, 29 Feb 2016 14:16:03 +0000 (15:16 +0100)]
timedated: trivial stylistic fix

Don't use {} for single-line "then" blocks.

8 years agoMerge pull request #2766 from keszybz/coverity
Martin Pitt [Mon, 29 Feb 2016 14:19:10 +0000 (15:19 +0100)]
Merge pull request #2766 from keszybz/coverity

test-clock: fix fd "leak"

8 years agosystemctl: Fix warn: action_to_runlevel() is not used
Benjamin ROBIN [Mon, 29 Feb 2016 14:07:09 +0000 (15:07 +0100)]
systemctl: Fix warn: action_to_runlevel() is not used

If HAVE_SYSV_COMPAT is not defined: ‘action_to_runlevel’ defined but not used

8 years agotest-clock: fix fd "leak"
Zbigniew Jędrzejewski-Szmek [Mon, 29 Feb 2016 13:03:32 +0000 (08:03 -0500)]
test-clock: fix fd "leak"

CID #1352301.

8 years agocore: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp
Alexander Kuleshov [Mon, 29 Feb 2016 12:56:57 +0000 (18:56 +0600)]
core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp

instead of direct reset of kernel_timestamp fields.

8 years agoMerge pull request #2764 from benjarobin/fix-stdio-bridge
Ronny Chevalier [Mon, 29 Feb 2016 11:23:55 +0000 (12:23 +0100)]
Merge pull request #2764 from benjarobin/fix-stdio-bridge

stdio-bridge: Correctly propagate error

8 years agostdio-bridge: Correctly propagate error
Benjamin Robin [Mon, 29 Feb 2016 09:36:11 +0000 (10:36 +0100)]
stdio-bridge: Correctly propagate error

Return EXIT_FAILURE and print the correct errno code if sd_bus_get_fd() or sd_bus_get_events() fail

8 years agoshorten hostname before checking for trailing dot
Thomas Blume [Mon, 29 Feb 2016 09:19:01 +0000 (10:19 +0100)]
shorten hostname before checking for trailing dot

Shortening can lead to a hostname that has a trailing dot.
Therefore it should be done before checking from trailing dots.

8 years agoMerge pull request #2746 from daurnimator/patch-1
Zbigniew Jędrzejewski-Szmek [Mon, 29 Feb 2016 00:23:29 +0000 (19:23 -0500)]
Merge pull request #2746 from daurnimator/patch-1

ISSUE_TEMPLATE: Use a list for submission type so that it appears as a checkbox

8 years agoMerge pull request #2753 from phomes/trivial-fixes2
Zbigniew Jędrzejewski-Szmek [Mon, 29 Feb 2016 00:12:31 +0000 (19:12 -0500)]
Merge pull request #2753 from phomes/trivial-fixes2

Trivial fixes

8 years agoMerge pull request #2749 from martinpitt/adjtime
Zbigniew Jędrzejewski-Szmek [Sun, 28 Feb 2016 23:56:07 +0000 (18:56 -0500)]
Merge pull request #2749 from martinpitt/adjtime

8 years agocore: avoid compiler warning when compiling with -fexceptions
Thomas Haller [Sat, 27 Feb 2016 12:40:50 +0000 (13:40 +0100)]
core: avoid compiler warning when compiling with -fexceptions

Initialize auto variables with cleanup attribute, otherwise we
get a compiler warning with -fexceptions.

    ./configure CFLAGS='-Wmaybe-uninitialized -fexceptions -O2'

8 years agostdio-bridge: remove dead code
Thomas Hindoe Paaboel Andersen [Wed, 24 Feb 2016 23:29:09 +0000 (00:29 +0100)]
stdio-bridge: remove dead code

8 years agotree-wide: indentation fixes
Thomas Hindoe Paaboel Andersen [Wed, 24 Feb 2016 23:27:56 +0000 (00:27 +0100)]
tree-wide: indentation fixes

8 years agoDon't escape the name of the container in instances of
Elias Probst [Fri, 26 Feb 2016 19:35:09 +0000 (20:35 +0100)]
Don't escape the name of the container in instances of

When using `%I` for instances of `systemd-nspawn@.service`, the result
will be `systemd-nspawn` trying to launch a container named e.g.
`fedora/23` instead of `fedora-23`.
Using `%i` instead prevents escaping `-` in a container name and uses
the unmodified container name from the machine store.

8 years agotimedated: be more tolerant in parsing /etc/adjtime
Martin Pitt [Fri, 26 Feb 2016 14:54:05 +0000 (15:54 +0100)]
timedated: be more tolerant in parsing /etc/adjtime

Similarly to the previous commit, make context_write_data_local_rtc()
understand /etc/adjtime files with just one or two lines, with or without a
final newline.

Normalize the file to the current definition in hwclock(8), in the spirit of
"be liberal what you accept and strict what you produce": Add line terminators,
and set the second line to "0" if missing.

Fixes: #2638

8 years agoclock-util: be more tolerant in parsing /etc/adjtime
Martin Pitt [Fri, 26 Feb 2016 11:33:41 +0000 (12:33 +0100)]
clock-util: be more tolerant in parsing /etc/adjtime

As we default to "hardware clock is in UTC" if /etc/adjtime is not present, it
also makes sense to have that default if /etc/adjtime contains only one or two
lines.

Drop the "gibberish" test case, as this was just EIO because of not containing
three lines, which is already contained in other tests. clock_is_localtime()
never actually validated the format of the first two lines, and there is little
point in doing that.

This addresses the reading half of issue #2638.

8 years agoclock-util: make clock_is_localtime() testable and add initial tests
Martin Pitt [Fri, 26 Feb 2016 10:25:22 +0000 (11:25 +0100)]
clock-util: make clock_is_localtime() testable and add initial tests

Add path argument to clock_is_localtime() and default to "/etc/adjtime" if it's
NULL. This makes the function testable.

Add test-clock: initial test cases for some scenarios, using a temporary file.
This also checks the behaviour with a NULL (i. e. the system's /etc/adjtime)
file.

8 years ago.github/ISSUE_TEMPLATE: Use a list for submission type so that it appears as a checkbox
daurnimator [Thu, 25 Feb 2016 22:54:30 +0000 (09:54 +1100)]
.github/ISSUE_TEMPLATE: Use a list for submission type so that it appears as a checkbox

8 years agoMerge pull request #2671 from 0xAX/move-pager-open-to-one-place
Zbigniew Jędrzejewski-Szmek [Thu, 25 Feb 2016 20:29:59 +0000 (15:29 -0500)]
Merge pull request #2671 from 0xAX/move-pager-open-to-one-place

tree-wide: merge pager_open_if_enabled() to the pager_open()

8 years agotree-wide: merge pager_open_if_enabled() to the pager_open()
Alexander Kuleshov [Fri, 19 Feb 2016 18:25:13 +0000 (00:25 +0600)]
tree-wide: merge pager_open_if_enabled() to the pager_open()

Many subsystems define own pager_open_if_enabled() function which
checks '--no-pager' command line argument and open pager depends
on its value. All implementations of pager_open_if_enabled() are
the same. Let's merger this function with pager_open() from the
shared/pager.c and remove pager_open_if_enabled() from all subsytems
to prevent code duplication.

8 years agoMerge pull request #2743 from pfl/dhcp4_server
Lennart Poettering [Thu, 25 Feb 2016 19:01:56 +0000 (20:01 +0100)]
Merge pull request #2743 from pfl/dhcp4_server

sd-dhcp-server: Send replies to BOOTP relay server port

8 years agosd-dhcp-server: Send replies to BOOTP relay server port
Patrik Flykt [Thu, 25 Feb 2016 13:36:40 +0000 (15:36 +0200)]
sd-dhcp-server: Send replies to BOOTP relay server port

RFC 2131 Section 4.1 says that

 "If the ’giaddr’ field in a DHCP message from a client is non-zero,
  the server sends any return messages to the ’DHCP server’ port on the
  BOOTP relay agent whose address appears in ’giaddr’."

Fix this by adding a destination port when sending unicast UDP packets
and provide the server port when a BOOTP relay agent is being used.

8 years agoMerge pull request #2722 from torstehu/fix-typo2
Daniel Mack [Wed, 24 Feb 2016 14:51:34 +0000 (15:51 +0100)]
Merge pull request #2722 from torstehu/fix-typo2

treewide: fix typos and then/that use

8 years agotreewide: fix typos and then/that use
Torstein Husebø [Mon, 8 Feb 2016 12:27:22 +0000 (13:27 +0100)]
treewide: fix typos and then/that use

8 years agoMerge pull request #2719 from evverx/add-test-to-makefile
Martin Pitt [Wed, 24 Feb 2016 07:06:53 +0000 (08:06 +0100)]
Merge pull request #2719 from evverx/add-test-to-makefile

tests: various fixes

8 years agoMerge pull request #2726 from ssiloti/master
Zbigniew Jędrzejewski-Szmek [Wed, 24 Feb 2016 05:40:48 +0000 (00:40 -0500)]
Merge pull request #2726 from ssiloti/master

dnssec: only run tests that require gcrypt if we have it

8 years agoMerge pull request #2727 from ian-kelling/man-pr-v3
Zbigniew Jędrzejewski-Szmek [Wed, 24 Feb 2016 05:39:06 +0000 (00:39 -0500)]
Merge pull request #2727 from ian-kelling/man-pr-v3

man: clarify unit ordering language

8 years agoman: clarify unit ordering language
Ian Kelling [Mon, 22 Feb 2016 02:21:50 +0000 (18:21 -0800)]
man: clarify unit ordering language

8 years agodnssec: only run tests that require gcrypt if we have it
Steven Siloti [Wed, 24 Feb 2016 04:15:23 +0000 (20:15 -0800)]
dnssec: only run tests that require gcrypt if we have it

8 years agoMerge pull request #2724 from vcaputo/minor-formatting-cleanups
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 23:48:37 +0000 (18:48 -0500)]
Merge pull request #2724 from vcaputo/minor-formatting-cleanups

tree-wide: minor formatting inconsistency cleanups

8 years agotree-wide: minor formatting inconsistency cleanups
Vito Caputo [Tue, 23 Feb 2016 17:52:52 +0000 (09:52 -0800)]
tree-wide: minor formatting inconsistency cleanups

8 years agoMerge pull request #2639 from nafets227/master
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 22:12:40 +0000 (17:12 -0500)]
Merge pull request #2639 from nafets227/master

Bugfix set virt=none when running on XEN Dom0

8 years agobasic: Bugfix Detect XEN Dom0 as no virtualization
Stefan Schallenberg aka nafets227 [Tue, 16 Feb 2016 20:36:12 +0000 (21:36 +0100)]
basic: Bugfix Detect XEN Dom0 as no virtualization

When running in XEN Dom0 the virtualization check:
1) detect_xen returns HYPERVISOR_NONE so next checks are executed
2) /proc/sys/hypervisor detects a XEN hypervisor
   it is lacking the special Dom0 detection as in detect_xen

With this patch, at the end of all virtualization checks we double-check if running in XEN Dom0 or DomU.

8 years agobasic: Debug-logging of Virtualisation detection
Stefan Schallenberg aka nafets227 [Thu, 18 Feb 2016 20:10:28 +0000 (21:10 +0100)]
basic: Debug-logging of Virtualisation detection

print out every single detection executed and its result.

8 years agoMerge pull request #2725 from phomes/misc-cleanup
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 19:58:01 +0000 (14:58 -0500)]
Merge pull request #2725 from phomes/misc-cleanup

Misc cleanup

8 years agonetworkctl: fix const
Thomas Hindoe Paaboel Andersen [Tue, 23 Feb 2016 19:25:48 +0000 (20:25 +0100)]
networkctl: fix const

8 years agotree-wide: remove unused variables
Thomas Hindoe Paaboel Andersen [Tue, 23 Feb 2016 19:16:59 +0000 (20:16 +0100)]
tree-wide: remove unused variables

8 years agobasic: mark unused variable as such
Thomas Hindoe Paaboel Andersen [Tue, 23 Feb 2016 18:21:54 +0000 (19:21 +0100)]
basic: mark unused variable as such

8 years agoMerge pull request #2664 from zonque/bootchart-removal
Lennart Poettering [Tue, 23 Feb 2016 19:27:59 +0000 (20:27 +0100)]
Merge pull request #2664 from zonque/bootchart-removal

Remove systemd-bootchart

8 years agoMerge pull request #2723 from poettering/importd-man
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 18:39:56 +0000 (13:39 -0500)]
Merge pull request #2723 from poettering/importd-man

8 years agoman: style fixes
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 18:46:16 +0000 (13:46 -0500)]
man: style fixes

8 years agoman: change recommended order of NSS modules in /etc/nsswitch.conf
Lennart Poettering [Tue, 23 Feb 2016 17:24:03 +0000 (18:24 +0100)]
man: change recommended order of NSS modules in /etc/nsswitch.conf

So far we recommended placing "nss-mymachines" after "nss-resolve" in the order
of preference in /etc/nsswitch.conf. This change reverse this order.

Rationale: single-label names are resolved via LLMNR by resolved, which has to
time out if no peer by that name exists. By placing "nss-mymachines" first
(which always responds immediately) we avoid running into this timeout for most
containers. Both modules should return the same data if LLMNR is used by the
container anyway.

While we are at it, improve the man pages of the three NSS modules in other
ways a bit.

8 years agotests: add exec-capabilityambientset* to Makefile.am
Evgeny Vereshchagin [Tue, 23 Feb 2016 16:53:19 +0000 (16:53 +0000)]
tests: add exec-capabilityambientset* to Makefile.am

This is a follow-up to 70d7aea5c

8 years agotests: add exec-runtimedirectory* to Makefile.am
Evgeny Vereshchagin [Tue, 23 Feb 2016 15:59:14 +0000 (15:59 +0000)]
tests: add exec-runtimedirectory* to Makefile.am

This is a follow-up to cc3ddc851

8 years agotests: fix x86 personality tests to only on x86
Lennart Poettering [Tue, 23 Feb 2016 12:17:00 +0000 (13:17 +0100)]
tests: fix x86 personality tests to only on x86

8 years agotests: add exec-spec-interpolation.service to Makefile.am
Evgeny Vereshchagin [Tue, 23 Feb 2016 14:33:20 +0000 (14:33 +0000)]
tests: add exec-spec-interpolation.service to Makefile.am

This is a follow-up to 2525499

8 years agoMerge pull request #2708 from vcaputo/journal-restore-offline-state-on-error
Lennart Poettering [Tue, 23 Feb 2016 15:55:16 +0000 (16:55 +0100)]
Merge pull request #2708 from vcaputo/journal-restore-offline-state-on-error

journal: restore offline state on error

8 years agoMerge pull request #2717 from keszybz/networkctl-prettification
Lennart Poettering [Tue, 23 Feb 2016 15:54:52 +0000 (16:54 +0100)]
Merge pull request #2717 from keszybz/networkctl-prettification

Networkctl prettification

8 years agoman: link some unit files to their online bus API documentation
Lennart Poettering [Tue, 23 Feb 2016 15:24:01 +0000 (16:24 +0100)]
man: link some unit files to their online bus API documentation

8 years agoman: add minimal man page for systemd-importd.service
Lennart Poettering [Tue, 23 Feb 2016 15:23:42 +0000 (16:23 +0100)]
man: add minimal man page for systemd-importd.service

8 years agonetworkctl: only print lldp legend for capabilities that were actually seen
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 04:23:56 +0000 (23:23 -0500)]
networkctl: only print lldp legend for capabilities that were actually seen

8 years agobasic: simplify ether_addr_is_null
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 13:17:19 +0000 (08:17 -0500)]
basic: simplify ether_addr_is_null

8 years agoFix two typos
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 13:17:19 +0000 (08:17 -0500)]
Fix two typos

8 years agoman: update link to Fedora Cloud images
Zbigniew Jędrzejewski-Szmek [Tue, 23 Feb 2016 13:17:03 +0000 (08:17 -0500)]
man: update link to Fedora Cloud images

Better to use the mirror manager and https.

8 years agoarchitecture.h: remove PROC_CPUINFO_MODEL
Daniel Mack [Mon, 22 Feb 2016 20:01:39 +0000 (21:01 +0100)]
architecture.h: remove PROC_CPUINFO_MODEL

This was only needed for bootchart, so it can go now.

8 years agoRemove systemd-bootchart
Daniel Mack [Fri, 12 Feb 2016 14:03:51 +0000 (15:03 +0100)]
Remove systemd-bootchart

This commit rips out systemd-bootchart. It will be given a new home, outside
of the systemd repository. The code itself isn't actually specific to
systemd and can be used without systemd even, so let's put it somewhere
else.

8 years agoMerge pull request #2709 from vcaputo/normalize_inc_dec_usage
Martin Pitt [Tue, 23 Feb 2016 07:45:54 +0000 (08:45 +0100)]
Merge pull request #2709 from vcaputo/normalize_inc_dec_usage

tree-wide: make ++/-- usage consistent WRT spacing

8 years agoMerge pull request #2707 from teg/man-network
Martin Pitt [Tue, 23 Feb 2016 07:25:13 +0000 (08:25 +0100)]
Merge pull request #2707 from teg/man-network

network: minor manpage clarifications

8 years agoMerge pull request #2698 from poettering/personality
Martin Pitt [Tue, 23 Feb 2016 07:19:20 +0000 (08:19 +0100)]
Merge pull request #2698 from poettering/personality

Personality fixes