summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | resolve: drop unnecessary else, and add short commentYu Watanabe2022-07-091-3/+4
| | |
| * | Revert "resolve: mDNS transaction max attempts fix"Yu Watanabe2022-07-092-29/+9
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 127b26f3d8b589907ed75a34d34ab330995778f9. The commit made mDNS queries quite unstable. Note that, RFC 6762 does not explicitly prohibit to send a request multiple times.
| * | resolve: mdns: fix use-after-freeYu Watanabe2022-07-091-5/+21
| | | | | | | | | | | | Fixes #23843 and #23873.
* | | Use correct option name in error messageJanis Goldschmidt2022-07-271-1/+1
| | |
* | | stub: override StubInfo EFI variable unconditionally, since *we* own itLennart Poettering2022-07-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The other variables are owned by the boot menu (i.e. sd-boot), we only fill those in if it didn't do so for us (to support cases where our stub kernel is directly invoked by UEFI). But StubInfo is genuinely about the stub, hence let's simplify things and unconditionally set it from the stub.
* | | boot: introduce common shortcut exit path in pack_cpio()Lennart Poettering2022-07-271-20/+14
| | | | | | | | | | | | | | | | | | THis will be useful in a later commit, when we add more stuff to the common exit path. But even without that, it's a nice simplification, removing redundant lines.
* | | portable: set PrivateTmp=yes in trusted profile tooLuca Boccassi2022-07-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | When running on images you don't want to modify the /tmp directory even if it's writable, and often it will just be read-only. Set PrivateTmp=yes. Fixes https://github.com/systemd/systemd/issues/23592
* | | Merge pull request #24122 from yuwata/core-mount-bind-mount-on-nfsLuca Boccassi2022-07-261-5/+7
|\ \ \ | | | | | | | | core/mount: ignore -EACCES from mkdir_p_label() on NFS
| * | | core/mount: downgrade log level about several mkdir failuresYu Watanabe2022-07-271-2/+6
| | | |
| * | | Revert "core/mount: fail early if directory cannot be created"Yu Watanabe2022-07-271-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e4de58c8231e47509ffeb3aa47620ca42f22d7f6. If mkdir() fails and the path does exist, then the later mount command fails anyway. Hence, it is not necessary to fail here. Fixes #24120.
* | | | mkosi: Update to latest commitDaan De Meyer2022-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes an issue with Arch builds failing by updating the archlinux keyring package.
* | | | efi: update measure.h comments a bitLennart Poettering2022-07-261-2/+2
| | | |
* | | | update TODOLennart Poettering2022-07-261-0/+2
| | | | | | | | | | | | | | | | | | | | (this basically just copies a coment from src/boot/efi/measure.h into the TODO)
* | | | meson: fix math flags checkasavah2022-07-271-1/+1
|/ / /
* | | mkosi: Build against Fedora rawhide as wellDaan De Meyer2022-07-261-0/+2
| | |
* | | home: drop conflicted headersYu Watanabe2022-07-265-2/+14
| | | | | | | | | | | | Fixes #24117.
* | | homed: fix dbus node enumeratorYu Watanabe2022-07-261-0/+2
| | | | | | | | | | | | Fixes #24114.
* | | Merge pull request #23702 from ↵Lennart Poettering2022-07-263-20/+159
|\ \ \ | | | | | | | | | | | | | | | | igo95862/fix-object-manager-interface-in-wrong-places Fix ObjectManager interfaces for `GetManagedObjects`, `InerfacesAdded` and `InterfacesRemoved`
| * | | Fix ObjectManager interface emitted for non-manager objectsigo958622022-07-251-15/+29
| | | |
| * | | test-bus-objects: Test interfaces added/removed signal interfacesigo958622022-07-251-0/+67
| | | | | | | | | | | | | | | | | | | | `org.freedesktop.DBus.ObjectManager` should only be emitted if object in question has ObjectManager attached.
| * | | Fix GetManagedObjects returning ObjectManager interface for non-manager objectsigo958622022-07-251-5/+14
| | | |
| * | | test-bus-objects: Test GetManagedObjects interfaces are correctigo958622022-07-252-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Objects without ObjectManager should not have `org.freedesktop.DBus.ObjectManager` interface. Object with ObjectManager should do. Also added ASSERT_SE_NONNEG and ASSERT_NONNEG macros.
* | | | Merge pull request #24033 from dtardon/list-automountsLuca Boccassi2022-07-256-63/+259
|\ \ \ \ | |/ / / |/| | | Add `systemctl list-automounts`
| * | | shell-completion: add systemctl list-automountsDavid Tardon2022-07-252-1/+2
| | | |
| * | | man: document systemctl list-automountsDavid Tardon2022-07-251-0/+19
| | | |
| * | | systemctl: add list-automounts verbDavid Tardon2022-07-253-0/+188
| | | | | | | | | | | | | | | | Fixes: #6056
| * | | systemctl: simplify var. definition a bitDavid Tardon2022-07-251-5/+3
| | | |
| * | | systemctl: extract output of legend to a functionDavid Tardon2022-07-251-20/+17
| | | |
| * | | systemctl: drop unneeded conditionDavid Tardon2022-07-251-32/+32
| | | |
| * | | systemctl: reduce var. scope and shorten the code a bitDavid Tardon2022-07-251-17/+10
| | | |
* | | | localed: don't fail if we cannot copy an xattrLennart Poettering2022-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We ignore xattr copy failures on all other cases, and we should do so here too. Fixes: #24106
* | | | update TODOLennart Poettering2022-07-251-0/+3
| | | |
* | | | update TODOLennart Poettering2022-07-251-7/+7
| | | |
* | | | update TODOLennart Poettering2022-07-251-0/+8
| | | |
* | | | TODO: add new 'deprecations and removals' sectionLennart Poettering2022-07-251-8/+24
| | | |
* | | | journal: Move more pattern matching logic into pcre2-utilDaan De Meyer2022-07-253-109/+144
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid having "#if HAVE_PCRE2" all throughout the code, let's confine the pcre2 header specific stuff to pcre2-util.c. Instead of exposing all the individual symbols from pcre2, let's only expose three high level functions that do all we need: - pcre2_pattern_compile(): Compile the regex - pcre2_pattern_matches(): Check if the compiled regex matches a message - pcre2_pattern_free(): Free the compiled regex We expose the compiled pcre2 pattern (which is of type pcre2_code *) as a void pointer to avoid having to include pcre2.h in all code where we work with compiled pcre2 patterns. For readability, we typedef void to pcre2_pattern and use that as the type specifier for compiled pcre2 patterns.
* | | boot: a couple of tweaks recommended by CoccinelleFrantisek Sumsal2022-07-252-8/+8
| | |
* | | systemctl: fix type used for array sizes to size_tLennart Poettering2022-07-251-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We always should use size_t for sizes of arrays (and any size of memory, in fact), unless there's a strong reason to use something else. Hence, let's fix these cases where we sloppily used "unsigned" or "int" instead. No change in behaviour, this is just to make things less surprising for the random reader.
* | | Merge pull request #23991 from yuwata/udev-reloadLennart Poettering2022-07-2510-84/+158
|\ \ \ | | | | | | | | udev: reload rules and builtins only when mtime of a config changed
| * | | test-network: reload udevd when .link file is copied/removedYu Watanabe2022-07-231-10/+33
| | | |
| * | | udev-builtin: logs when needs reloadingYu Watanabe2022-07-233-7/+21
| | | |
| * | | udev: reload rules and builtins only when mtime of a config changedYu Watanabe2022-07-232-27/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes udevd reload rules only when the timestamp is updated, even on SIGHUP or `udevadm control --reload`. So, we can call `udevadm control --reload` without huge performance penalty when no rules, .link files, and so on are changed.
| * | | udev: save stats of all udev rules fileYu Watanabe2022-07-235-12/+35
| | | | | | | | | | | | | | | | | | | | The mtime of directory is not updated when an existing rule file is changed. Hence, paths_check_timestamp() is not reliable.
| * | | conf-parser: add a boolean flag for config_get_stats_by_path() to control if ↵Yu Watanabe2022-07-233-23/+30
| | | | | | | | | | | | | | | | | | | | | | | | drop-in configs are checked Preparation for later commits.
| * | | udev: delay to start queued events on `udevadm control --start-exec-queue`Yu Watanabe2022-07-231-1/+1
| | | |
| * | | udev: use event_reset_time_relative()Yu Watanabe2022-07-231-3/+4
| | | |
| * | | udev: downgrade error level and mention that the error is ignoredYu Watanabe2022-07-231-1/+1
| | | |
| * | | udev: fix error checkYu Watanabe2022-07-231-1/+1
| | | |
* | | | sysctl: add --strict option to fail if sysctl does not existsQuentin Deslandes2022-07-256-6/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | systemd-sysctl currently fails silently under any of these conditions: - Missing permission to write a sysctl. - Invalid sysctl (path doesn't exists). - Ignore failure flag ('-' in front of the sysctl name). Because of this behaviour, configuration issues can go unnoticed as there is no way to detect those unless going through the logs. --strict option forces systemd-sysctl to fail if a sysctl is invalid or if permission are insufficient. Errors on sysctl marked as "ignore failure" will still be ignored.
* | | | glibc: Remove #include <linux/fs.h> to resolve fsconfig_command/mount_attr ↵Rudi Heitbaum2022-07-244-1/+18
| | | | | | | | | | | | | | | | conflict with glibc 2.36