summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libudev: Update list of possible actionswip/hadess/add-move-udev-actionBastien Nocera2019-07-231-2/+2
| | | | Add "move" action as per src/libsystemd/sd-device/device-private.c
* Merge pull request #12977 from yuwata/network-route-type-local-12975Lennart Poettering2019-07-232-0/+20
|\ | | | | network: do not touch kernel-created multicast route
| * test-network: add tests for issue #6088Yu Watanabe2019-07-231-0/+11
| |
| * network: do not touch kernel-created multicast routeYu Watanabe2019-07-231-0/+9
| | | | | | | | Fixes #6088.
* | hwdb: add HHKB Pro JP keyboard lack of LEDsChristian Kellner2019-07-231-0/+5
| | | | | | | | | | The HHKB Pro JP has no leds whatsoever, record that. The sysfs file "capabilities/led" says "1f".
* | Merge pull request #13148 from poettering/v243-news-moreLennart Poettering2019-07-233-16/+62
|\ \ | | | | | | more v243 news preparation
| * | meson: bump version for package and .soLennart Poettering2019-07-231-3/+3
| | |
| * | sd-daemon: don't mention strerror_safe() in examples in public headersLennart Poettering2019-07-231-1/+1
| | | | | | | | | | | | It's an internal function we define, noone else should bother.
| * | NEWS: more additions in preparation von v243Lennart Poettering2019-07-231-12/+58
|/ /
* | Merge pull request #13136 from keszybz/readd-ntp-units.dLennart Poettering2019-07-238-43/+119
|\ \ | |/ |/| ntp-units.d support
| * timesyncd: add Conflicts for ntpd and chronydZbigniew Jędrzejewski-Szmek2019-07-221-0/+1
| | | | | | | | | | | | | | | | Users might end up with more than one of those service enabled, through admin mistake, or broken installation scriptlets, or whatever. On my machine, I had both chronyd and timesyncd happilly running at the same time. If more than one is enabled, it's better to have just one running. Adding Conflicts will make the issue more visible in logs too.
| * timesyncd: add ntp-units.d/ entry for timesyncZbigniew Jędrzejewski-Szmek2019-07-223-0/+4
| | | | | | | | | | | | | | Priority is 80. At least in Fedora, chrony uses 50, and ntpd 60. timesyncd has lower priority, because if people install those other packages, it's most likely on purpose. timesyncd is always installed and provides less functionality.
| * timedated: add back support for ntp-units.d/Zbigniew Jędrzejewski-Szmek2019-07-224-43/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We removed support for foreign services (and ntp-units.d/) in b72ddf0f4. Support for foreign services was added back in 5d280742, but through an environment variable. The problem with the env var approach is that it only works as a mechanism to select one item, and doesn't work nicely as a mechinism to create a list of items through drop-ins (because the env var can be easily overridden, but not extended). Having a list of "ntp providers" is important to be able to reliably disable all of them when that is requested. Another problem is that nobody ever bothered to care about our new "standard". ntp-units.d/ is a nice simple format that works and is already supported by chrony and ntpd and timedatex. If we were to introduce and ask people to follow a new standard, there should be some good reason for this. The idea with env vars has lower functionality, requires systemd-specific syntax. We should just re-adopt the format that we originally introduced and that seems to work for everyone, and more on to more interesting problems.
* | Merge pull request #13109 from poettering/revert-kbd-modeLennart Poettering2019-07-233-39/+25
|\ \ | | | | | | Revert of #12378 ("VT kbd reset check")
| * | vconsole-setup: rename toggle_utf8() → toggle_utf8_vc()Lennart Poettering2019-07-181-3/+4
| | | | | | | | | | | | | | | Let's make clearer that toggle_utf8_sysfs() is about sysfs, and toggle_utf8_vc() about VC access
| * | Revert "Move verify_vc_kbmode() to terminal-util.c as vt_verify_kbmode()"Lennart Poettering2019-07-183-21/+20
| | | | | | | | | | | | This reverts commit bb5ac84d79ac3aef606a4a9eeaafef94a1f199be.
| * | Revert "Add check to switch VTs only between K_XLATE or K_UNICODE"Lennart Poettering2019-07-182-15/+1
| | | | | | | | | | | | This reverts commit 13a43c73d8cbac4b65472de04bb88ea1bacdeb89.
* | | hwdb: add entry for Zowie FK2 mouse (#13139)Thomas Weißschuh2019-07-231-0/+10
| | |
* | | Merge pull request #13133 from keszybz/pstore-return-valueLennart Poettering2019-07-222-2/+12
|\ \ \ | |_|/ |/| | pstore: refuse to run if arguments are specified
| * | meson: catch programs which ignore argumentsZbigniew Jędrzejewski-Szmek2019-07-221-2/+8
| | | | | | | | | | | | | | | Don't try to use <<<. It seems to not work properly with old bash versions or something.
| * | pstore: refuse to run if arguments are specifiedZbigniew Jędrzejewski-Szmek2019-07-221-0/+4
| | | | | | | | | | | | (This is why the --help chech passed.)
* | | Merge pull request #13131 from yuwata/pstore-follow-upsZbigniew Jędrzejewski-Szmek2019-07-223-30/+27
|\ \ \ | | | | | | | | pstore: several minor follow-ups
| * | | pstore: run only when /sys/fs/pstore is not emptyYu Watanabe2019-07-221-0/+1
| | | |
| * | | pstore: use log_setup_service()Yu Watanabe2019-07-221-1/+1
| | | |
| * | | pstore: do not add FILE= journal entry if content_size == 0Yu Watanabe2019-07-221-11/+14
| | | |
| * | | pstore: remove temporary file on failureYu Watanabe2019-07-221-3/+3
| | | |
| * | | pstore: drop commented out lineYu Watanabe2019-07-221-2/+0
| | | |
| * | | pstopre: fix return value of list_files()Yu Watanabe2019-07-221-3/+3
| | | | | | | | | | | | | | | | | | | | Previously, the return value of the last read_full_file() is returned. This makes the error in read_full_file() is always ignored.
| * | | pstore: drop unnecessary initializationsYu Watanabe2019-07-221-9/+6
| | | |
| * | | meson: drop redundant lineYu Watanabe2019-07-221-2/+0
| |/ / | | | | | | | | | Found by @mattiasb.
* | | pid1: make sure we look at /proc/1/cmdline when parsing configZbigniew Jędrzejewski-Szmek2019-07-221-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In recent systemd-nspawn we wouldn't parse init args like systemd.log-level=debug. This is because we wouldn't even look at /proc/1/cmdline. $ systemd-nspawn -n cat /proc/1/stat 1 (cat) R 0 1 1 34816 .... ^^^^^ 34816 is 136:0 a.k.a. /dev/pts/0.
* | | man: describe $LESS options more fullyZbigniew Jędrzejewski-Szmek2019-07-221-5/+30
|/ / | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1655316
* | Merge pull request #13096 from keszybz/unit-loadingZbigniew Jędrzejewski-Szmek2019-07-1944-500/+757
|\ \ | | | | | | Preparatory work for the unit loading rework
| * | test-fs-util: call test functions in order of declarationZbigniew Jędrzejewski-Szmek2019-07-191-2/+2
| | |
| * | Create src/shared/unit-file.[ch] for unit-file related opsZbigniew Jędrzejewski-Szmek2019-07-1917-54/+76
| | | | | | | | | | | | | | | So far we put such functinos in install.[ch], but that is tied too closely to enable/disable. Let's start moving things to a place with a better name.
| * | shared/dropin: rename function for clarityZbigniew Jędrzejewski-Szmek2019-07-191-2/+4
| | | | | | | | | | | | | | | The caller looks for directories and is called "..._find_dirs()". Here, there is no "finding" going on, so I found the old name confusing.
| * | shared/dropin: use TAKE_PTR in one more placeZbigniew Jędrzejewski-Szmek2019-07-191-19/+11
| | |
| * | basic/path-util: move two path_simplify* functions to be adjacentZbigniew Jędrzejewski-Szmek2019-07-192-54/+54
| | | | | | | | | | | | No functional change.
| * | pid1: get rid of unit_supported() helperZbigniew Jędrzejewski-Szmek2019-07-192-7/+3
| | | | | | | | | | | | Another case where "open code" is easier to read than the helper.
| * | basic/set: constify operations which don't modify SetZbigniew Jędrzejewski-Szmek2019-07-194-14/+14
| | | | | | | | | | | | No functional change, but it's nicer to the reader.
| * | pid1: do not say "(null)" if no disabled controllersZbigniew Jędrzejewski-Szmek2019-07-191-1/+1
| | | | | | | | | | | | It looks like we made a mistake. The list is just empty, that's all.
| * | pid1: simplify timestamp buffer declarationZbigniew Jędrzejewski-Szmek2019-07-191-14/+8
| | |
| * | Rename test-unit-file to test-load-fragmentZbigniew Jędrzejewski-Szmek2019-07-192-1/+1
| | | | | | | | | | | | | | | | | | This file was testing a mix of functions from src/core/load-fragment.c and some from src/shared/install.c. Let's name it more appropriately. I want to add tests for the new unit-file.c too.
| * | test-unit-file: move some tests to new test-env-file.cZbigniew Jędrzejewski-Szmek2019-07-193-130/+147
| | |
| * | test-hashmap: move tests which should also apply to ordered hashmaps and add ↵Zbigniew Jędrzejewski-Szmek2019-07-192-58/+66
| | | | | | | | | | | | | | | | | | | | | comment Effectively this does two more tests also for ordered hashmaps. This setup is a bit confusing, let's add a comment.
| * | basic/hashmap: add hashops variant that does strdup/freeing on its ownZbigniew Jędrzejewski-Szmek2019-07-195-0/+60
| | | | | | | | | | | | | | | | | | | | | So far, we'd use hashmap_free_free to free both keys and values along with the hashmap. I think it's better to make this more encapsulated: in this variant the way contents are freed can be decided when the hashmap is created, and users of the hashmap can always use hashmap_free.
| * | test-strv: add function headersZbigniew Jędrzejewski-Szmek2019-07-191-7/+86
| | |
| * | sysusers,strv: export the hash ops to map char* → strvZbigniew Jędrzejewski-Szmek2019-07-193-35/+67
| | | | | | | | | | | | Also make string_strv_hashmap_put return 0 only if the entry already existed.
| * | basic/unit-name: allow unit_name_to_instance() to be used to classify unitsZbigniew Jędrzejewski-Szmek2019-07-193-19/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could already be done by calling unit_name_is_*(), but if we don't know if the argument is a valid unit name, it is more convenient to have a single function which returns the type or possibly an error if the unit name is not valid. The values in the enum are sorted "by length". Not really important, but it seems more natural to me.
| * | basic/unit-name: drop unused functionZbigniew Jędrzejewski-Szmek2019-07-191-5/+0
| | |