Martin Pitt
14b6625901
Merge pull request #2996 from keszybz/coverity-fixes
...
Coverity fixes
2016-04-11 11:19:27 +02:00
Martin Pitt
3a1e008f60
keymap: Add HP ProBook 640 G2
...
Fixes #2997
2016-04-11 11:17:07 +02:00
Martin Pitt
7b2cee4994
hwdb: Add SteelSeries Sensei Raw mouse
...
Fixes #3009
2016-04-11 10:48:43 +02:00
Evgeny Vereshchagin
d2528deb44
tests: don't silently skip test-namespace
2016-04-10 23:41:04 +00:00
Zbigniew Jędrzejewski-Szmek
cbe2220614
Merge pull request #3008 from evverx/udev-test-ignore-some-mount-errors
...
tests: ignore some mount errors in test-udev
2016-04-10 17:21:18 -04:00
Evgeny Vereshchagin
ad43ccb096
tests: ignore some mount errors in test-udev
...
Fixes:
$ sudo make distcheck
...
FAIL: test/udev-test.pl
...
$ vi systemd-229/_build/sub/test/udev-test.pl.log
...
failed to mount empty
/home/ubuntu/systemd/systemd-229/_inst/lib/udev/rules.d No such file or directory
...
failed to mount empty
/home/ubuntu/systemd/systemd-229/_inst/lib/udev/rules.d No such file or directory
...
414 errors occurred
2016-04-10 20:01:27 +00:00
Martin Pitt
d24b90cb5d
Merge pull request #3002 from robertwec/master
...
hwdb: Add MODECOM MC-WM4 and Sharkoon Shark Force
2016-04-10 09:50:44 +02:00
Martin Pitt
807280092d
Merge pull request #3004 from tsmock/master
...
hwdb/70-mouse.hwdb: Add Dynex Wired Mouse (DX-WMSE2)
2016-04-10 09:48:52 +02:00
Taylor Smock
7fab057dcc
hwdb/70-mouse.hwdb: Add Dynex Wired Mouse (DX-WMSE2)
2016-04-09 17:37:48 -06:00
Robert Węcławski
c29b3379b2
hwdb: Add MODECOM MC-WM4 and Sharkoon Shark Force
2016-04-10 00:53:23 +02:00
Zbigniew Jędrzejewski-Szmek
7236ce6e9e
core/service: only search for pid if loading from file failed
...
CID #1237511 .
2016-04-08 21:09:17 -04:00
Zbigniew Jędrzejewski-Szmek
783e05d637
core/service: drop return value that is always ignored anyway
2016-04-08 21:09:11 -04:00
Zbigniew Jędrzejewski-Szmek
0b9aa27016
shutdown: use (void)
...
NULL cgroup is handled below.
2016-04-08 21:09:09 -04:00
Zbigniew Jędrzejewski-Szmek
d929b0f98b
nspawn: ignore failure to chdir
...
CID #1322380 .
2016-04-08 21:09:06 -04:00
Zbigniew Jędrzejewski-Szmek
ddea446252
journal: assert gcry_mpi_scan succeeded
...
It might be nicer to propagate the error to the caller, but that'd
be a bigger refactoring. This shouldn't really fail, so just add
an assert.
CID #1349697 .
2016-04-08 21:08:54 -04:00
Zbigniew Jędrzejewski-Szmek
9d4e7d1380
sd-resolve: ignore error in pthread_join()
...
CID #1338424 .
2016-04-08 21:08:42 -04:00
Zbigniew Jędrzejewski-Szmek
94edd38e1d
basic/util: check return value of dup2 in fork_agent()
...
CID #1304689 .
2016-04-08 21:08:29 -04:00
Zbigniew Jędrzejewski-Szmek
edfd706d9c
import: use (void) more
...
CID #1299018-9.
2016-04-08 21:08:23 -04:00
Zbigniew Jędrzejewski-Szmek
b3b90a25f3
udevadm: assert return value
...
This mirrors what we do in now().
CID #1351755 .
2016-04-08 21:08:21 -04:00
Zbigniew Jędrzejewski-Szmek
045e00cf16
udevd: use (void) to silence coverity
...
CID #1351429 .
2016-04-08 21:08:18 -04:00
Zbigniew Jędrzejewski-Szmek
164d025dd3
resolved: handle oom properly
...
CID #1349699-1349700.
2016-04-08 21:08:15 -04:00
Zbigniew Jędrzejewski-Szmek
0229100b6c
network: check return value
...
CID #1349698 .
2016-04-08 21:08:02 -04:00
Lennart Poettering
0c0ee5ebee
Merge pull request #2990 from evverx/sys-depends-on-sys-tar-xz
...
build-sys: test/sys depends on test/sys.tar.xz
2016-04-08 19:08:52 +02:00
Evgeny Vereshchagin
17d6dede6a
build-sys: test/sys depends on test/sys.tar.xz
...
Fixes:
$ ls -ld test/sys
drwxr-xr-x. 12 vagrant vagrant 4096 Jan 6 2012 test/sys
$ git pull
Updating d4337c1..710a885
Fast-forward
...
test/sys.tar.xz | Bin 261380 -> 165116 bytes
test/udev-test.pl | 67 ++++++++++++-----
$ sudo make check TESTS=test/udev-test.pl
...
FAIL: test/udev-test.pl
$ rm -r test/sys
$ make test/sys
$ sudo make check TESTS=test/udev-test.pl
...
PASS: test/udev-test.pl
2016-04-08 13:53:03 +00:00
Martin Pitt
710a8858a9
Merge pull request #2985 from keszybz/lldp-assert
...
Replace if with assert_cc in lldp code and a build-sys tweak
2016-04-08 08:31:33 +02:00
Zbigniew Jędrzejewski-Szmek
74dd72d559
Merge pull request #2943 from vinaykul/systemd_duid_review_fixes
...
DHCP DUID parsing fix, logging fix, man-page fix
2016-04-07 20:19:19 -04:00
Zbigniew Jędrzejewski-Szmek
3aa131c4ca
Merge pull request #2987 from CyberShadow/pull-20160407-234344
...
core: downgrade warning about duplicate device names again
2016-04-07 20:04:27 -04:00
Vladimir Panteleev
071e0b8b3a
core: downgrade warning about duplicate device names again
...
Pull request #2412 seemed to have unintentionally reverted
5259bcf6a6
, thus reintroducing
https://bugs.freedesktop.org/show_bug.cgi?id=90386 .
This commit reverts that part of the commit, changing the
log level to debug again.
2016-04-07 23:48:29 +00:00
Zbigniew Jędrzejewski-Szmek
c8cf4dc1e5
lldp: replace if with assert_cc
...
LLDP_TX_HOLD or one of the other variables might be changed in the future
resulting in a silent error here if the if was just removed.
Replacement for #2983 .
2016-04-07 14:29:59 -04:00
Zbigniew Jędrzejewski-Szmek
56815242ac
build-sys: force generation of triggers.systemd file
...
We don't want to actually install it anywhere, because it
is only usable copied or %included directly into a spec file,
and must be available before %prep is run. But still, it's
useful to generate it automatically so it's easier to copy
and it doesn't go stale.
2016-04-07 14:29:34 -04:00
Martin Pitt
f7152c19b9
Merge pull request #2981 from keszybz/test-nss
...
build-sys: move test-nss to manual_tests
2016-04-07 17:01:12 +02:00
Zbigniew Jędrzejewski-Szmek
b7b61747b0
build-sys: move test-nss to manual_tests
2016-04-07 09:02:12 -04:00
Zbigniew Jędrzejewski-Szmek
3c9117545f
Merge pull request #2976 from martinpitt/udev-test-tags
...
Add tags tests to udev-test.pl
2016-04-06 19:45:24 -04:00
Martin Pitt
817ec8cc81
sd-device: Allocate enough room for tags string
...
Fix commit 1d88a2: We need to allocate another byte for building the "tags"
string, as we append an extra ':' and still need the NUL terminator.
2016-04-06 23:50:39 +02:00
Martin Pitt
bf8f7583ee
test: udev: Check tags
...
Add two more tests:
- Add a single tag, match on it, don't match on another.
- Add 10.000 tags to a device, ensure that udev survives this.
(Reproduces crash fixed by commit 1d88a271a
)
2016-04-06 23:30:10 +02:00
Martin Pitt
efc9f70325
test: udev: check exit code of test-udev
...
We expect test-udev to succeed. Verify that its exit code is zero, particularly
to spot crashes (e. g. a segfault would be error code 139).
2016-04-06 23:30:10 +02:00
Lennart Poettering
2f26f83008
Merge pull request #2972 from lnykryn/curl
...
configure.ac: bump curl dependency to 7.32.0
2016-04-06 18:36:22 +02:00
Lukas Nykryn
f0b7fc2d89
configure.ac: bump curl dependency to 7.32.0
...
We are using CURLOPT_XFERINFOFUNCTION which was added in 7.32.0.
2016-04-06 15:03:31 +02:00
Zbigniew Jędrzejewski-Szmek
7b792fa1a9
Merge pull request #2970 from msekletar/machine-id-prefix-roota
...
machine-id-setup: simplify by using prefix_roota
2016-04-06 07:58:05 -04:00
Martin Pitt
64af424063
Merge pull request #2971 from torstehu/fix-typo
...
man: fix spelling mistakes
2016-04-06 12:57:54 +02:00
Torstein Husebø
95f4c7f595
man: fix spelling mistakes
2016-04-06 12:37:01 +02:00
Martin Pitt
600101ca28
Merge pull request #2969 from evverx/udev-test-dont-rely-on-underlying-fs-2
...
tests: don't rely on the underlying fs in test-udev (v2)
2016-04-06 11:51:38 +02:00
Lennart Poettering
354362c46b
Merge pull request #2968 from keszybz/journal-upload-watchdog-update-master
...
Journal upload watchdog update master
2016-04-06 10:50:46 +02:00
Lennart Poettering
d4337c15d5
Merge pull request #2944 from keszybz/man-coredump-sysctl
...
Man coredump sysctl
2016-04-06 10:49:52 +02:00
Lennart Poettering
056f0498fe
Merge pull request #2947 from keszybz/test-nss
...
Add a test for nss modules and some related fixes
2016-04-06 10:48:55 +02:00
Lennart Poettering
382b56622a
Merge pull request #2962 from keszybz/value-option
...
Add `--value` option to systemctl and loginctl to only print values
2016-04-06 10:47:37 +02:00
Lennart Poettering
d35da3ae6a
Merge pull request #2961 from evverx/fix-activate-sigchld
...
activate: improve SIGCHLD handler
2016-04-06 10:46:47 +02:00
Michal Sekletar
f5e754e0d7
machine-id-setup: simplify by using prefix_roota
2016-04-06 09:55:24 +02:00
Evgeny Vereshchagin
21d9e3f339
tests: don't rely on the underlying fs in test-udev (v2)
...
* This reverts commit 646048b40a
.
Let's test really big numbers again
* Don't be so brutal: use rmdir instead of rm -rf
As suggested https://github.com/systemd/systemd/pull/2966#issuecomment-205751680
2016-04-06 04:08:39 +00:00
Zbigniew Jędrzejewski-Szmek
82e4c2d656
nss-myhostname: remove dead test of variable that was not set
2016-04-05 23:19:56 -04:00