]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
8 years agoMerge pull request #179 from l10n-tw/master
Ronny Chevalier [Fri, 12 Jun 2015 13:30:54 +0000 (15:30 +0200)] 
Merge pull request #179 from l10n-tw/master

po: fix zh_TW mailing list.

8 years agopo: fix zh_TW mailing list. 179/head
Jeff Huang [Fri, 12 Jun 2015 13:14:04 +0000 (21:14 +0800)] 
po: fix zh_TW mailing list.

8 years agoMerge pull request #164 from l10n-tw/master
Ronny Chevalier [Fri, 12 Jun 2015 13:02:00 +0000 (15:02 +0200)] 
Merge pull request #164 from l10n-tw/master

Add zh_TW translation.

8 years agopo,catalog: add zh_TW translation. 164/head
Jeff Huang [Wed, 10 Jun 2015 14:39:44 +0000 (22:39 +0800)] 
po,catalog: add zh_TW translation.

8 years agoselinux: whitespace fixes
Lennart Poettering [Fri, 12 Jun 2015 11:35:59 +0000 (13:35 +0200)] 
selinux: whitespace fixes

8 years agoMerge pull request #153 from crawford/cciss
Kay Sievers [Fri, 12 Jun 2015 11:38:07 +0000 (13:38 +0200)] 
Merge pull request #153 from crawford/cciss

rules: re-add cciss rules

8 years agoMerge pull request #173 from mischief/ipforwarding-3
Lennart Poettering [Fri, 12 Jun 2015 10:28:16 +0000 (12:28 +0200)] 
Merge pull request #173 from mischief/ipforwarding-3

IPForwarding=kernel v3

8 years agoMerge pull request #177 from ssahani/net
Daniel Mack [Fri, 12 Jun 2015 06:11:22 +0000 (08:11 +0200)] 
Merge pull request #177 from ssahani/net

core: fix CID 996302

8 years agocore: fix CID 996302 177/head
Susant Sahani [Fri, 12 Jun 2015 04:54:26 +0000 (10:24 +0530)] 
core: fix CID 996302

CID 996302:  Error handling issues  (CHECKED_RETURN)

8 years agoman: document IPForward=kernel option 173/head
Nick Owens [Tue, 2 Jun 2015 22:42:21 +0000 (15:42 -0700)] 
man: document IPForward=kernel option

8 years agonetworkd: create "kernel" setting for IPForwarding
Nick Owens [Fri, 1 May 2015 18:48:08 +0000 (11:48 -0700)] 
networkd: create "kernel" setting for IPForwarding

In 5a8bcb674f71a20e95df55319b34c556638378ce, IPForwarding was introduced
to set forwarding flags on interfaces in .network files. networkd sets
forwarding options regardless of the previous setting, even if it was
set by e.g. sysctl. This commit creates a new option for IPForwarding,
"kernel", that preserves the sysctl settings rather than always setting
them.

See https://bugs.freedesktop.org/show_bug.cgi?id=89509 for the initial
bug report.

8 years agoMerge pull request #171 from teg/rtnl-broadcast-2
David Herrmann [Thu, 11 Jun 2015 16:05:18 +0000 (18:05 +0200)] 
Merge pull request #171 from teg/rtnl-broadcast-2

sd-rtnl: make joining broadcast groups implicit

8 years agosd-rtnl: make joining broadcast groups implicit 171/head
Tom Gundersen [Thu, 11 Jun 2015 13:55:37 +0000 (15:55 +0200)] 
sd-rtnl: make joining broadcast groups implicit

8 years agoMerge pull request #143 from teg/networkd-packets-per-slave-mode
Lennart Poettering [Thu, 11 Jun 2015 15:42:46 +0000 (17:42 +0200)] 
Merge pull request #143 from teg/networkd-packets-per-slave-mode

networkd: bond - only set packets_per_slave on balance-rr mode

8 years agoMerge pull request #156 from filbranden/journal_leading_whitespace
Lennart Poettering [Thu, 11 Jun 2015 15:42:06 +0000 (17:42 +0200)] 
Merge pull request #156 from filbranden/journal_leading_whitespace

journald: do not strip leading whitespace from messages

8 years agoMerge pull request #166 from zonque/kmod
David Herrmann [Thu, 11 Jun 2015 15:01:39 +0000 (17:01 +0200)] 
Merge pull request #166 from zonque/kmod

kmod-setup: don't print warning on -ENOSYS

8 years agokmod-setup: don't print warning on -ENOSYS 166/head
Daniel Mack [Thu, 11 Jun 2015 11:10:39 +0000 (13:10 +0200)] 
kmod-setup: don't print warning on -ENOSYS

-ENOSYS is returned from kmod_module_probe_insert_module() if a module isn't
available, not -ENOENT. Don't spit out a warning in that case unless the
warn_if_unavailable flag is set.

Also factor out the condition into an own variable for better readability.

8 years agoMerge pull request #170 from teg/rtnl-recv
David Herrmann [Thu, 11 Jun 2015 14:27:32 +0000 (16:27 +0200)] 
Merge pull request #170 from teg/rtnl-recv

sd-rtnl: use netlink header rather than ucred in socket_recv_message()

8 years agosd-rtnl: use netlink header rather than ucred in socket_recv_message() 170/head
Tom Gundersen [Thu, 11 Jun 2015 09:34:54 +0000 (11:34 +0200)] 
sd-rtnl: use netlink header rather than ucred in socket_recv_message()

Lets us simplify the function and drop SO_PASSCRED.

Thanks to Alexander Larsson and David Herrmann.

8 years agoMerge pull request #84 from blueyed/zsh-optimize-filter_units_by_property
Daniel Mack [Thu, 11 Jun 2015 10:51:27 +0000 (12:51 +0200)] 
Merge pull request #84 from blueyed/zsh-optimize-filter_units_by_property

zsh-completion: optimize _filter_units_by_property

8 years agokmod-setup: when we fail to load a kmod, log the error cause
Lennart Poettering [Thu, 11 Jun 2015 10:13:03 +0000 (12:13 +0200)] 
kmod-setup: when we fail to load a kmod, log the error cause

(Also, downgrade message from LOG_ERROR to LOG_WARNING, after all we
don't care much and just proceed)

8 years agocore: Let two more booleans survive a daemon-reload
Werner Fink [Wed, 10 Jun 2015 12:36:50 +0000 (14:36 +0200)] 
core: Let two more booleans survive a daemon-reload

Without the boolean bus_name_good services as well as cgroup_realized
for units a unit of Type=dbus and ExecReload sending SIGHUP to $MAINPID
will be terminated if systemd will be daemon reloaded.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746151
https://bugs.freedesktop.org/show_bug.cgi?id=78311
https://bugzilla.opensuse.org/show_bug.cgi?id=934077

8 years agoMerge pull request #158 from ssahani/net
Lennart Poettering [Thu, 11 Jun 2015 09:52:58 +0000 (11:52 +0200)] 
Merge pull request #158 from ssahani/net

Net

8 years agoMerge pull request #157 from filbranden/revert_unused_result
Lennart Poettering [Thu, 11 Jun 2015 09:50:26 +0000 (11:50 +0200)] 
Merge pull request #157 from filbranden/revert_unused_result

build-sys: suppress warnings of unused results

8 years agoMerge pull request #160 from kaysievers/libsplit
Daniel Mack [Thu, 11 Jun 2015 09:50:18 +0000 (11:50 +0200)] 
Merge pull request #160 from kaysievers/libsplit

build-sys: split internal basic/ library from shared/

8 years agoMerge pull request #150 from poettering/journal-no-recv-loop
Lennart Poettering [Thu, 11 Jun 2015 09:34:38 +0000 (11:34 +0200)] 
Merge pull request #150 from poettering/journal-no-recv-loop

journald: don't employ inner loop for reading from incoming sockets

8 years agobuild-sys: split internal basic/ library from shared/ 160/head
Kay Sievers [Tue, 9 Jun 2015 12:27:33 +0000 (14:27 +0200)] 
build-sys: split internal basic/ library from shared/

basic/      can be used by everything
            cannot use anything outside of basic/

libsystemd/ can use basic/
            cannot use shared/

shared/     can use libsystemd/

8 years agosd-network: fix CID 1306198 158/head
Susant Sahani [Thu, 11 Jun 2015 08:37:15 +0000 (14:07 +0530)] 
sd-network: fix CID 1306198

8 years agonetworkd: improve logging
Susant Sahani [Thu, 11 Jun 2015 07:41:33 +0000 (13:11 +0530)] 
networkd: improve logging

Replace strerror() usage with log_netdev_error_errno()

8 years agonetworkd: macvlan improve logging
Susant Sahani [Thu, 11 Jun 2015 07:38:19 +0000 (13:08 +0530)] 
networkd: macvlan improve logging

 Replace strerror() usage with log_netdev_error_errno()

8 years agobuild-sys: suppress warnings of unused results 157/head
Filipe Brandenburger [Thu, 11 Jun 2015 05:40:31 +0000 (22:40 -0700)] 
build-sys: suppress warnings of unused results

Unfortunately, gcc keeps warning about those even when we use an
explicit (void) cast to indicate we are not interested in the result.

LLVM's clang does not have that issue and works fine with the casts.

GCC bug being tracked at:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425

Until that GCC bug is fixed (and the version with the fix is in
many/most distributions) or we switch to LLVM as the default compiler,
it looks like we'll have to disable this warning by default...

Tested by building files known to present warnings about unused results
without the suppression, confirmed that the warnings were no longer
present with this patch applied.

This partially reverts commit 00c11bc53a1d37 ("build-sys: don't suppress irrelevant warnings").

8 years agojournald: do not strip leading whitespace from messages 156/head
Filipe Brandenburger [Thu, 11 Jun 2015 05:33:44 +0000 (22:33 -0700)] 
journald: do not strip leading whitespace from messages

Keep leading whitespace for compatibility with older syslog
implementations.  Also useful when piping formatted output to the
`logger` command.  Keep removing trailing whitespace.

Tested with `pstree | logger` and checking that the output of
`journalctl | tail` included aligned and formatted output.

Confirmed that all test cases still pass as expected.

8 years agoMerge pull request #3 from threatgrid/more_cgtop_enhancements
Lennart Poettering [Wed, 10 Jun 2015 23:52:25 +0000 (01:52 +0200)] 
Merge pull request #3 from threatgrid/more_cgtop_enhancements

cgtop enhancements for easier machine-readable output

8 years agocgtop: IO readings are valid if any data is available, even if unchanged since last... 3/head
Charles Duffy [Tue, 2 Jun 2015 22:38:49 +0000 (17:38 -0500)] 
cgtop: IO readings are valid if any data is available, even if unchanged since last tick

Emit "0" rather than "-" if no change in IO values are seen for a process since
last tick, so long as accounting has registered content at all.

8 years agoMerge pull request #6 from xnox/drop-name
Lennart Poettering [Wed, 10 Jun 2015 22:50:04 +0000 (00:50 +0200)] 
Merge pull request #6 from xnox/drop-name

shared: Drop 'name=' prefix from SYSTEMD_CGROUP_CONTROLLER define.

8 years agorules: re-add cciss rules 153/head
Alex Crawford [Wed, 10 Jun 2015 20:12:02 +0000 (13:12 -0700)] 
rules: re-add cciss rules

The original commit (1aff206) doesn't explain why these were removed.
This adds them back since they are in fact needed.

8 years agoMerge pull request #152 from zonque/buildsys
Lennart Poettering [Wed, 10 Jun 2015 21:02:23 +0000 (23:02 +0200)] 
Merge pull request #152 from zonque/buildsys

build-sys: make man/systemd.directives.xml depend on man/custom-entit…

8 years agoMerge pull request #148 from teg/sd-network-race
Lennart Poettering [Wed, 10 Jun 2015 18:43:38 +0000 (20:43 +0200)] 
Merge pull request #148 from teg/sd-network-race

sd-network: allow the state dir to be created after the monitor

8 years agoMerge pull request #151 from mischief/dns-shared-3
Lennart Poettering [Wed, 10 Jun 2015 18:43:06 +0000 (20:43 +0200)] 
Merge pull request #151 from mischief/dns-shared-3

move dns code from resolve to shared v3

8 years agobuild-sys: make man/systemd.directives.xml depend on man/custom-entities.ent 152/head
Daniel Mack [Wed, 10 Jun 2015 18:42:56 +0000 (20:42 +0200)] 
build-sys: make man/systemd.directives.xml depend on man/custom-entities.ent

Currently, the following command sequence fails:

  make distclean
  ./autogen.sh c
  make distcheck

That's because the command invoked to build man/systemd.directives.xml needs
man/custom-entities.ent to function, which itself isn't a dependency.

The $(filter-out $<,$^) logic used to filter out everything from the
prerequisites except for the first word, which doesn't work anymore
now. Use $(SOURCE_XML_FILES) instead.

8 years agoInclude tools/compile-unifont.py in the source tarball
Mike Gilbert [Wed, 10 Jun 2015 03:13:36 +0000 (23:13 -0400)] 
Include tools/compile-unifont.py in the source tarball

This prevents a build failure when /usr/share/fonts/unifont/unifont.hex
is newer than unifont-glyph-array.bin.

8 years agobus: we now support path_namespace=/
David Herrmann [Wed, 10 Jun 2015 18:14:56 +0000 (20:14 +0200)] 
bus: we now support path_namespace=/

Our bloom-filters support root-path matching. Make sure we properly add
the path_namespace= tag.

8 years agobus: fix pattern matching
David Herrmann [Wed, 10 Jun 2015 17:34:05 +0000 (19:34 +0200)] 
bus: fix pattern matching

DBus-spec defines two different pattern matchings:

  1) Path and namespace prefix matching. In this case, A matches B either
     if both are equal, or if B is fully included in the namespace of A.
     In other words, A has to be a prefix of B, but end with a separator
     character (or the following character in B must be one).

     This is used for path_namespace= and arg0namespace=

  2) The other pattern matching is used for arg0path= which does a two-way
     matching. That is, A must be a prefix of B, or B a prefix of A.
     Furthermore, the prefix must end with a separator.

Fix the sd-bus helpers to reflect that. The 'simple_' and 'complex_'
prefixes don't make any sense now, but.. eh..

8 years agobus: fix test-bus-kerne-bloom.c to match properly
David Herrmann [Wed, 10 Jun 2015 16:47:31 +0000 (18:47 +0200)] 
bus: fix test-bus-kerne-bloom.c to match properly

Make sure we actually verify our match-rules are executed properly. Right
now all we test is the bloom-matches, which are non-reliable as they leave
through false-positives.

8 years agobus: fix arg0path= two-way matching
David Herrmann [Wed, 10 Jun 2015 18:04:53 +0000 (20:04 +0200)] 
bus: fix arg0path= two-way matching

DBus spec clearly defines arg0path= to be a two-way matching. That is,
either the matcher or the matchee can be a prefix of the other to match.
This is not possible to implement with bloom-filters. Instead, we'd have
to add a separate filter for each prefix. This is non-trivial, though.
Hence, just skip the match for now and match locally.

8 years agobus: fix bloom_add_prefixes() to add all required data
David Herrmann [Wed, 10 Jun 2015 16:26:16 +0000 (18:26 +0200)] 
bus: fix bloom_add_prefixes() to add all required data

Lets look at an example where we add arg0="/foo/bar/waldo" to a
bloom-filter. The following strings are added:
  "arg0:/foo/bar/waldo"
  "arg0-slash-prefix:/foo/bar"
  "arg0-slash-prefix:/foo"

Two problems arise:

1) If we match on "arg0path=/foo/bar/waldo", the dbus-spec explicitly
states that equal strings are also considered prefixes. However, in the
bloom-match, we can only provide a single match-filter. Therefore, we have
to add "arg0-slash-prefix:/foo/bar/waldo" there, but this never occured in
the bloom-mask of the message.
Hence, this patch makes sure bloom_add_prefixes() adds the full path as
prefix, too.

2) If we match on "arg0path=/foo/", the dbus-spec states that arg0path
does prefix-matching with the trailing slash _included_, unlike
path_namespace= matches, which does *not* include them. This is
inconsistent, but we have to support the specs. Therefore, we must add
prefixes with _and_ without trailing separators.
Hence, this patch makes sure bloom_add_prefixes() adds all prefixes with
the trailing slash included.

The final set of strings added therefore is:
  "arg0:/foo/bar/waldo"
  "arg0-slash-prefix:/foo/bar/waldo"
  "arg0-slash-prefix:/foo/bar/"
  "arg0-slash-prefix:/foo/bar"
  "arg0-slash-prefix:/foo/"
  "arg0-slash-prefix:/foo"
  "arg0-slash-prefix:/"

8 years agolibsystemd-network: use domain validation instead of hostname validation for dhcp... 151/head
Nick Owens [Tue, 2 Jun 2015 23:30:42 +0000 (16:30 -0700)] 
libsystemd-network: use domain validation instead of hostname validation for dhcp domain option

previously hostname_is_valid was used to validate domain names, which
would silently drop perfectly valid dns names that were longer than a
single dns label.

8 years agoshared: add convenience function for validating dns names
Nick Owens [Tue, 2 Jun 2015 23:29:39 +0000 (16:29 -0700)] 
shared: add convenience function for validating dns names

8 years agoresolve: move dns routines into shared
Nick Owens [Tue, 2 Jun 2015 18:49:43 +0000 (11:49 -0700)] 
resolve: move dns routines into shared

8 years agojournald: don't employ inner loop for reading from incoming sockets 150/head
Lennart Poettering [Wed, 10 Jun 2015 17:24:58 +0000 (19:24 +0200)] 
journald: don't employ inner loop for reading from incoming sockets

Otherwise, if the socket is constantly busy we will never return to the
event loop, but we really need to to dispatch other (possibly more
high-priority) events too. Hence, return after dispatching one message
to the event handler, and rely on the event loop calling us back
right-away.

Fixes #125

8 years agosd-network: allow the state dir to be created after the monitor 148/head
Tom Gundersen [Wed, 10 Jun 2015 17:00:39 +0000 (19:00 +0200)] 
sd-network: allow the state dir to be created after the monitor

We now listen for new subdirs of /run/systemd, and /run/systemd/netif in case
/run/systemd/netif/links does not exist.

8 years agoMerge pull request #147 from poettering/cmsg
Daniel Mack [Wed, 10 Jun 2015 18:06:43 +0000 (20:06 +0200)] 
Merge pull request #147 from poettering/cmsg

util: introduce CMSG_FOREACH() macro and make use of it everywhere

8 years agonetworkd: bond - only set packets_per_slave on balance-rr mode 143/head
Tom Gundersen [Wed, 10 Jun 2015 15:05:04 +0000 (17:05 +0200)] 
networkd: bond - only set packets_per_slave on balance-rr mode

Otherwise the creation of the bond fails.

8 years agoutil: introduce CMSG_FOREACH() macro and make use of it everywhere 147/head
Lennart Poettering [Wed, 10 Jun 2015 17:10:47 +0000 (19:10 +0200)] 
util: introduce CMSG_FOREACH() macro and make use of it everywhere

It's only marginally shorter then the usual for() loop, but certainly
more readable.

8 years agoMerge pull request #146 from arvidjaar/pr/udev-import-program-exit-code-man
Tom Gundersen [Wed, 10 Jun 2015 17:27:22 +0000 (19:27 +0200)] 
Merge pull request #146 from arvidjaar/pr/udev-import-program-exit-code-man

man: clarify that IMPORT{program} is done only for zero exit code

8 years agoFix typo
Zbigniew Jędrzejewski-Szmek [Wed, 10 Jun 2015 15:06:00 +0000 (11:06 -0400)] 
Fix typo

Follow up for 7c918141ed.

8 years agoman: clarify that IMPORT{program} is done only for zero exit code 146/head
Andrei Borzenkov [Wed, 10 Jun 2015 16:43:36 +0000 (19:43 +0300)] 
man: clarify that IMPORT{program} is done only for zero exit code

8 years agoMerge pull request #142 from teg/sd-network-unref-NULL
Lennart Poettering [Wed, 10 Jun 2015 14:59:43 +0000 (16:59 +0200)] 
Merge pull request #142 from teg/sd-network-unref-NULL

sd-network: allow NULL in sd_network_monitor_unref

8 years agoMerge pull request #140 from teg/man-udev-timeout
Daniel Mack [Wed, 10 Jun 2015 14:46:17 +0000 (16:46 +0200)] 
Merge pull request #140 from teg/man-udev-timeout

man: udevd - correct default event timeout

8 years agosd-network: allow NULL in sd_network_monitor_unref 142/head
Tom Gundersen [Wed, 10 Jun 2015 13:55:09 +0000 (15:55 +0200)] 
sd-network: allow NULL in sd_network_monitor_unref

Match rest of codebase, we always allow unref'ing NULL.

8 years agoMerge pull request #85 from keszybz/selinux-context
Zbigniew Jędrzejewski-Szmek [Wed, 10 Jun 2015 14:20:50 +0000 (10:20 -0400)] 
Merge pull request #85 from keszybz/selinux-context

8 years agotest-copy: test copy_bytes()
Zbigniew Jędrzejewski-Szmek [Tue, 2 Jun 2015 16:55:27 +0000 (12:55 -0400)] 
test-copy: test copy_bytes()

8 years agoman: udevd - correct default event timeout 140/head
Tom Gundersen [Tue, 9 Jun 2015 21:56:02 +0000 (23:56 +0200)] 
man: udevd - correct default event timeout

This was changed from 30 to 180 seconds quite some time ago.

8 years agosd-bus: remove ucred parameter from bus_message_from_header() since we don't use...
Lennart Poettering [Wed, 10 Jun 2015 13:52:14 +0000 (15:52 +0200)] 
sd-bus: remove ucred parameter from bus_message_from_header() since we don't use it anymore

8 years agosd-bus: fix early exit when we lack all data in bus_get_owner_creds_dbus1()
Lennart Poettering [Wed, 10 Jun 2015 13:51:40 +0000 (15:51 +0200)] 
sd-bus: fix early exit when we lack all data in bus_get_owner_creds_dbus1()

8 years agobuild-sys: upgrade shadow variable warnings to errors
Lennart Poettering [Wed, 10 Jun 2015 13:44:03 +0000 (15:44 +0200)] 
build-sys: upgrade shadow variable warnings to errors

8 years agobus-message: remove shadow warning with log_debug_bus_message()
Lennart Poettering [Wed, 10 Jun 2015 13:51:14 +0000 (15:51 +0200)] 
bus-message: remove shadow warning with log_debug_bus_message()

8 years agojournald: simplify context handling
Zbigniew Jędrzejewski-Szmek [Sun, 7 Jun 2015 01:36:52 +0000 (21:36 -0400)] 
journald: simplify context handling

By using our homegrown function we can dispense with all the iffdefery.

8 years agosd-bus: store selinux context at connection time
Zbigniew Jędrzejewski-Szmek [Sun, 7 Jun 2015 01:24:45 +0000 (21:24 -0400)] 
sd-bus: store selinux context at connection time

This appears to be the right time to do it for SOCK_STREAM
unix sockets.

Also: condition bus_get_owner_creds_dbus1 was reversed. Split
it out to a separate variable for clarity and fix.

https://bugzilla.redhat.com/show_bug.cgi?id=1224211

8 years agoMerge pull request #132 from ssahani/bond
Lennart Poettering [Wed, 10 Jun 2015 13:10:47 +0000 (15:10 +0200)] 
Merge pull request #132 from ssahani/bond

networkd: bond  improve logging

8 years agoMerge pull request #138 from utezduyar/use-async-convenience-function-on-setting...
Lennart Poettering [Wed, 10 Jun 2015 13:09:03 +0000 (15:09 +0200)] 
Merge pull request #138 from utezduyar/use-async-convenience-function-on-setting-hostname

networkd: use async convenience call to set hostname

8 years agoMerge pull request #133 from ssahani/net
Lennart Poettering [Wed, 10 Jun 2015 13:08:48 +0000 (15:08 +0200)] 
Merge pull request #133 from ssahani/net

networkd: vxlan improve logging

8 years agosd-bus: do not use per-datagram auxiliary information
Zbigniew Jędrzejewski-Szmek [Sat, 6 Jun 2015 22:59:27 +0000 (18:59 -0400)] 
sd-bus: do not use per-datagram auxiliary information

SELinux information cannot be retrieved this way, since we are
using stream unix sockets and SCM_SECURITY does not work for
them.

SCM_CREDENTIALS use dropped to be consistent. We also should
get this information at connection time.

https://bugzilla.redhat.com/show_bug.cgi?id=1224211
"SCM_SECURITY was only added for datagram sockets."

8 years agoMerge pull request #137 from torstehu/correct-typo
Daniel Mack [Wed, 10 Jun 2015 12:21:26 +0000 (14:21 +0200)] 
Merge pull request #137 from torstehu/correct-typo

sd-bus: Correct typo

8 years agonetworkd: use async convenience call to set hostname 138/head
Umut Tezduyar Lindskog [Wed, 10 Jun 2015 11:15:39 +0000 (13:15 +0200)] 
networkd: use async convenience call to set hostname

8 years agosd-bus: Correct typo 137/head
Torstein Husebø [Wed, 10 Jun 2015 11:08:31 +0000 (13:08 +0200)] 
sd-bus: Correct typo

8 years agoMerge pull request #136 from dslul/master
Martin Pitt [Wed, 10 Jun 2015 10:50:35 +0000 (12:50 +0200)] 
Merge pull request #136 from dslul/master

keymap: Add Samsung NP350V and NP670Z

8 years agokeymap: Add Samsung NP350V and NP670Z 136/head
dslul [Wed, 10 Jun 2015 10:18:22 +0000 (12:18 +0200)] 
keymap: Add Samsung NP350V and NP670Z

typo

keymap: Add Samsung NP350V and NP670Z

8 years agoMerge pull request #117 from utezduyar/feat/dump-sync-dbus-message-with-logging-on
Lennart Poettering [Wed, 10 Jun 2015 09:38:12 +0000 (11:38 +0200)] 
Merge pull request #117 from utezduyar/feat/dump-sync-dbus-message-with-logging-on

sd-bus: dump sync messages in debug mode

8 years agoMerge pull request #135 from zonque/buildsys
Lennart Poettering [Wed, 10 Jun 2015 09:27:33 +0000 (11:27 +0200)] 
Merge pull request #135 from zonque/buildsys

build-sys: turn some warnings into errors

8 years agobuild-sys: turn some warnings into errors 135/head
Daniel Mack [Wed, 10 Jun 2015 08:54:59 +0000 (10:54 +0200)] 
build-sys: turn some warnings into errors

Make the build sys error out on missing function prototypes, missing
variable declarations, implicit function declarations or forgotten return
statements.

None of these conditions are acceptable, and by making them hard errors, the
build bots can detect them earlier.

8 years agoMerge pull request #130 from whot/hwdb-updates
Daniel Mack [Wed, 10 Jun 2015 07:43:56 +0000 (09:43 +0200)] 
Merge pull request #130 from whot/hwdb-updates

Hwdb updates

8 years agosd-bus: dump sync messages in debug mode 117/head
Umut Tezduyar Lindskog [Fri, 29 May 2015 07:48:11 +0000 (09:48 +0200)] 
sd-bus: dump sync messages in debug mode

8 years agonetwork: veth imprve logging 133/head
Susant Sahani [Wed, 10 Jun 2015 06:50:45 +0000 (12:20 +0530)] 
network: veth imprve logging

Replaces a lof of strerror() usage with log_netdev_error_errno()

8 years agonetworkd: vxlan improve logging
Susant Sahani [Wed, 10 Jun 2015 06:25:54 +0000 (11:55 +0530)] 
networkd: vxlan improve logging

Replaces a lof of strerror() usage with log_netdev_error_errno()

8 years agonetworkd: bond improve logging 132/head
Susant Sahani [Wed, 10 Jun 2015 06:09:26 +0000 (11:39 +0530)] 
networkd: bond  improve logging

Replaces a lof of strerror() usage with log_netdev_error_errno()

8 years agohwdb: update Logitech's unifying receiver devices 130/head
Peter Hutterer [Wed, 10 Jun 2015 03:53:51 +0000 (13:53 +1000)] 
hwdb: update Logitech's unifying receiver devices

Since 3.19, the devices have the proper vid/pid and the model number in the
name.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
8 years agocgtop: more sensible flushing behavior w/ non-TTY output
Charles Duffy [Wed, 27 May 2015 22:30:11 +0000 (17:30 -0500)] 
cgtop: more sensible flushing behavior w/ non-TTY output

- Explicitly flush stdout before sleep between iterations
- Only clear user keystrokes when output is to TTY
- Add a newline between output batches when output is not to TTY

8 years agocgtop: allow user to force looping behavior even in non-TTY mode
Charles Duffy [Sat, 23 May 2015 03:18:15 +0000 (22:18 -0500)] 
cgtop: allow user to force looping behavior even in non-TTY mode

8 years agocgtop: raw output option (disable conversion to human-readable units)
Charles Duffy [Fri, 22 May 2015 21:20:49 +0000 (16:20 -0500)] 
cgtop: raw output option (disable conversion to human-readable units)

8 years agologind,sd-event: drop spurious new-lines
Lennart Poettering [Tue, 9 Jun 2015 23:27:32 +0000 (01:27 +0200)] 
logind,sd-event: drop spurious new-lines

8 years agotree-wide: whenever we fork off a foreign child process reset signal mask/handlers
Lennart Poettering [Sun, 31 May 2015 21:55:55 +0000 (23:55 +0200)] 
tree-wide: whenever we fork off a foreign child process reset signal mask/handlers

Also, when the child is potentially long-running make sure to set a
death signal.

Also, ignore the result of the reset operations explicitly by casting
them to (void).

8 years agosignal-util: modernize and share more code
Lennart Poettering [Sun, 31 May 2015 21:21:48 +0000 (23:21 +0200)] 
signal-util: modernize and share more code

8 years agoMerge pull request #126 from phomes/master
Lennart Poettering [Tue, 9 Jun 2015 21:51:57 +0000 (23:51 +0200)] 
Merge pull request #126 from phomes/master

core: log oom during killing spree

8 years agocore: log oom during killing spree 126/head
Thomas Hindoe Paaboel Andersen [Tue, 9 Jun 2015 20:03:05 +0000 (22:03 +0200)] 
core: log oom during killing spree

but don't do anything else. We still want to kill as much as
possible.

Coverity CID#996306

8 years agoMerge pull request #122 from martinpitt/master
Lennart Poettering [Tue, 9 Jun 2015 18:06:02 +0000 (20:06 +0200)] 
Merge pull request #122 from martinpitt/master

path-util: Fix path_is_mount_point for parent mount points in symlink mode

8 years agopath-util: Fix path_is_mount_point for parent mount points in symlink mode 122/head
Martin Pitt [Tue, 9 Jun 2015 14:16:56 +0000 (16:16 +0200)] 
path-util: Fix path_is_mount_point for parent mount points in symlink mode

When we have a structure like this:

  /bin -> /usr/bin
  /usr is a mount point

Then path_is_mount_point("/bin", AT_SYMLINK_FOLLOW) needs to look at the pair
/usr/bin and /usr, not at the pair / and /usr/bin, as the latter have different
mount IDs. But we only want to consider the base name, not any parent.

Thus we have to resolve the given path first to get the real parent when
allowing symlinks.

Bug: https://github.com/systemd/systemd/issues/61

8 years agobus-creds: always set SD_BUS_CREDS_PID when we set pid in the mask
Zbigniew Jędrzejewski-Szmek [Mon, 25 May 2015 00:20:06 +0000 (20:20 -0400)] 
bus-creds: always set SD_BUS_CREDS_PID when we set pid in the mask

Also reorder the code a bit to be easier to parse.

8 years agoMerge pull request #121 from martinpitt/master
Lennart Poettering [Tue, 9 Jun 2015 12:31:12 +0000 (14:31 +0200)] 
Merge pull request #121 from martinpitt/master

build-sys: always dist *.policy.in files

8 years agobuild-sys: always dist *.policy.in files 121/head
Martin Pitt [Tue, 9 Jun 2015 12:01:06 +0000 (14:01 +0200)] 
build-sys: always dist *.policy.in files

Unconditionally dist org.freedesktop.{import1,machine1}.policy.in, like all the
other *.policy.in files. This avoids missing policy files in the tarball.

Spotted by "make distcheck" failure with --disable-importd.