Alexey Bogdanenko
dbfbc6c4e3
udev-test: check if permitted to create block device nodes
2018-12-11 16:55:34 +03:00
Alexey Bogdanenko
a680beb2fe
udev-test: add message to show why test-udev failed
...
Before:
Assertion 'mknod(devname, mode, devnum) == 0' failed at ../src/test/test-udev.c:116, function run(). Aborting.
Assertion 'unlink(devname) == 0' failed at ../src/test/test-udev.c:118, function run(). Aborting.
After:
mknod() failed for '/dev/sda': Operation not permitted
unlink('/dev/sda') failed: No such file or directory
2018-12-11 16:55:34 +03:00
Evgeny Vereshchagin
ba958bb18b
Merge pull request #11099 from abogdanenko/udev-test-fix-missing-dir
...
udev-test: fix skip condition and missing directory test/run
2018-12-11 14:48:29 +03:00
Lennart Poettering
66944c14f3
Merge pull request #11107 from keszybz/udevadm-info-args
...
Allow multiple args in udevadm info
2018-12-11 12:12:58 +01:00
Lennart Poettering
c920748289
Merge pull request #11116 from keszybz/predictable-interface-names
...
Predictable interface names
2018-12-11 12:12:22 +01:00
Zbigniew Jędrzejewski-Szmek
ff0fa50432
Merge pull request #11083 from poettering/nspawn-settings-fixes
...
read nspawn's .nspawn files before validating configuration
2018-12-11 11:52:23 +01:00
Zbigniew Jędrzejewski-Szmek
3bf72311c8
Merge pull request #11084 from poettering/networkd-test-fix
...
unbreak networkd-test.py
2018-12-11 11:37:05 +01:00
Zbigniew Jędrzejewski-Szmek
a2bd90d38e
Merge branch 'predictable-interface-names'
...
This imports the wiki page for predictable interface names. I think it's
useful to preserve history here because it's a contentious subject, and
it's useful to know when what happened.
2018-12-11 11:13:26 +01:00
Zbigniew Jędrzejewski-Szmek
f9e6d49904
Rename to follow the convention
...
Also remove trailing whitespace.
2018-12-11 11:02:06 +01:00
LennartPoettering
4368c49697
2018-12-11 10:58:40 +01:00
LennartPoettering
e90d48ae38
2018-12-11 10:58:40 +01:00
TanuKaskinen
27eaa1bc7a
fix typo
2018-12-11 10:58:40 +01:00
LennartPoettering
86db1e3532
2018-12-11 10:58:40 +01:00
LennartPoettering
c8f2c6b122
2018-12-11 10:58:40 +01:00
ColinGuthrie
b4584342c0
Deal with 80-net-setup-link.rules introduced in 209.
2018-12-11 10:58:40 +01:00
LennartPoettering
8745120c99
2018-12-11 10:58:40 +01:00
LennartPoettering
56fbd5310f
2018-12-11 10:58:40 +01:00
ColinGuthrie
f42be39a18
Document the net.ifnames kernel command line.
2018-12-11 10:58:40 +01:00
Joe Rayhawk
cedf08c774
moin2mdwn: convert page docs/PredictableNetworkInterfaceNames
2018-12-11 10:58:40 +01:00
LennartPoettering
54313217c1
2018-12-11 10:58:40 +01:00
LennartPoettering
3c31f15cdb
2018-12-11 10:58:40 +01:00
LennartPoettering
e2f9b633c4
2018-12-11 10:58:40 +01:00
LennartPoettering
afce8ff3af
2018-12-11 10:58:40 +01:00
LennartPoettering
d363512c92
2018-12-11 10:58:40 +01:00
LennartPoettering
ee83da3a75
2018-12-11 10:58:40 +01:00
LennartPoettering
b1661148ac
2018-12-11 10:58:39 +01:00
LennartPoettering
13f79279b2
2018-12-11 10:58:39 +01:00
LennartPoettering
fb30e224e7
2018-12-11 10:58:39 +01:00
LennartPoettering
1f6bee9328
2018-12-11 10:58:39 +01:00
LennartPoettering
f47346c3aa
2018-12-11 10:58:39 +01:00
LennartPoettering
ce7c9f453a
2018-12-11 10:58:39 +01:00
127.0.0.1
128faa63f2
typo fix
2018-12-11 10:58:39 +01:00
LennartPoettering
a5d1717c40
2018-12-11 10:58:39 +01:00
LennartPoettering
648f251ff9
2018-12-11 10:58:39 +01:00
LennartPoettering
2d2111748f
2018-12-11 10:58:39 +01:00
LennartPoettering
adb51bc84d
2018-12-11 10:58:39 +01:00
LennartPoettering
0adad03eb8
2018-12-11 10:58:39 +01:00
LennartPoettering
cd6c4dd571
2018-12-11 10:58:39 +01:00
LennartPoettering
80b0c64bcf
2018-12-11 10:58:39 +01:00
LennartPoettering
e13da0ac1e
2018-12-11 10:58:39 +01:00
LennartPoettering
93aae43890
2018-12-11 10:58:39 +01:00
LennartPoettering
6f99e67081
2018-12-11 10:58:39 +01:00
LennartPoettering
3c36dd1ca5
2018-12-11 10:58:39 +01:00
LennartPoettering
6dbee95541
2018-12-11 10:58:39 +01:00
LennartPoettering
5536de5cc4
2018-12-11 10:58:39 +01:00
LennartPoettering
7b1e4518e0
2018-12-11 10:58:39 +01:00
Zbigniew Jędrzejewski-Szmek
3c79311a6a
udevadm: allow multiple arguments to "info"
...
This matches udevadm trigger, which allows multiple arguments since
80877656a5 .
2018-12-11 09:29:21 +01:00
Zbigniew Jędrzejewski-Szmek
b6854081ff
udevadm: allow a .device unit to be specified for query and trigger
...
This is convenient when working with device units in systemd. Instead of
converting the systemd unit name to a path to feed to udevadm, udevadm
info|trigger can be called directly on the unit name.
The man page is reworked a bit to describe the modern syntax with positional
arguments first. It's just simpler to use than the positional options.
2018-12-11 09:24:31 +01:00
Zbigniew Jędrzejewski-Szmek
d539f79176
udevadm: use path_startswith and shorten code a bit
2018-12-11 09:21:08 +01:00
Zbigniew Jędrzejewski-Szmek
668e7c0cfd
udevadm: improve error output when a device is not specified or specified wrong
...
udevadm would dump help() output, instead of printing a message about what is
wrong. That's just bad UX. Let's use a different message if the argument is
missing, and a different one if it is invalid.
Also, rework the code to separate the business logic from argument parsing.
Let's not use "default:" in switch statements. This way, the compiler will warn
us if we miss one of the cases.
2018-12-11 07:29:51 +01:00