summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | udevadm: allow a .device unit to be specified for query and triggerZbigniew Jędrzejewski-Szmek2018-12-113-34/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | udevadm: use path_startswith and shorten code a bitZbigniew Jędrzejewski-Szmek2018-12-111-21/+19
| | | | |
| * | | | udevadm: improve error output when a device is not specified or specified wrongZbigniew Jędrzejewski-Szmek2018-12-111-103/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #11116 from keszybz/predictable-interface-namesLennart Poettering2018-12-112-0/+65
|\ \ \ \ \ | |_|_|/ / |/| | | | Predictable interface names
| * | | | Merge branch 'predictable-interface-names'Zbigniew Jędrzejewski-Szmek2018-12-112-0/+65
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | Rename to follow the conventionZbigniew Jędrzejewski-Szmek2018-12-111-30/+27
| | | | | | | | | | | | | | | | | | | | | | | | Also remove trailing whitespace.
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | fix typoTanuKaskinen2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-4/+3
| | | | | |
| | * | | | Deal with 80-net-setup-link.rules introduced in 209.ColinGuthrie2018-12-111-2/+2
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+2
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+2
| | | | | |
| | * | | | Document the net.ifnames kernel command line.ColinGuthrie2018-12-111-5/+5
| | | | | |
| | * | | | moin2mdwn: convert page docs/PredictableNetworkInterfaceNamesJoe Rayhawk2018-12-111-41/+45
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-0/+2
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-0/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-0/+2
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-2/+18
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-2/+2
| | | | | |
| | * | | | typo fix127.0.0.12018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-5/+5
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-12/+12
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-4/+4
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-2/+4
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-1/+1
| | | | | |
| | * | | | (no commit message)LennartPoettering2018-12-111-0/+39
| | / / /
* | | | | Merge pull request #11083 from poettering/nspawn-settings-fixesZbigniew Jędrzejewski-Szmek2018-12-111-97/+93
|\ \ \ \ \ | | | | | | | | | | | | read nspawn's .nspawn files before validating configuration
| * | | | | nspawn: move most validation checks and configuration mangling into ↵Lennart Poettering2018-12-101-76/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | verify_arguments() That's what the function is for after all, and only if it's done there we can verify the effect of .nspawn files correctly too: after all we should not just validate that everything configured on the command line makes sense, but the stuff configured in the .nspawn files, too.
| * | | | | nspawn: split out code parsing env vars into a function of its ownLennart Poettering2018-12-101-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This then let's us to ensure it's called after we parsed the cmdline, and after we loaded the settings file, so that it these env var settings override everything loaded from there.
| * | | | | nspawn: move cg_unified_flush() invocation out of parse_argv()Lennart Poettering2018-12-101-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has nothing to do with argument parsing, and hence shouldn't be there.
* | | | | | Merge pull request #11084 from poettering/networkd-test-fixZbigniew Jędrzejewski-Szmek2018-12-114-12/+137
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | unbreak networkd-test.py
| * | | | | networkd-test: add mkosi snippet for building and running networkd-tets.py ↵Lennart Poettering2018-12-073-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in a network namespaced container This provides us with an easy command line to test this script. Because the test was so difficult to get running noone ever did, hence it broke badly quickly. Let's fix that.
| * | | | | networkd-test: change test_transient_hostname_with_static to use an explicit ↵Lennart Poettering2018-12-071-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | static hostname Previously, the test would use the existing static hostname. However, this woud not work as expected in the static hostname was "localhost" because the transient hostname will override the static one in that case anyway, as the assumption hostnamed makes is that "localhost" is a non-initialized hostname. Hence when testing this, let's first set the static hostname to something specific first (that is not "localhost").