summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* man: explain why various resource limits don't make sense and should not be ↵Lennart Poettering2022-07-141-9/+27
| | | | used.
* Merge pull request #24016 from poettering/sysctl-cred-extraYu Watanabe2022-07-145-2/+54
|\ | | | | sysctl: also process sysctl requests via the "sysctl.extra" credential
| * man: drop misplaced ','Lennart Poettering2022-07-141-1/+1
| |
| * sysctl: also process sysctl requests via the "sysctl.extra" credentialLennart Poettering2022-07-145-1/+53
| |
* | smack: fix build failure with -Dsmack=falseasavah2022-07-141-5/+1
| |
* | Merge pull request #23927 from AndreKalb/feature/ipv4-link-local-start-addressYu Watanabe2022-07-1410-11/+111
|\ \ | | | | | | network: Feature IPv4 link-local start address
| * | man/network: ServerAddress= drop "literal" from IP address rangesAndre Kalb2022-07-141-1/+1
| | |
| * | sd-ipv4ll/networkd: Try to select an IPv4 link-local start addressAndre Kalb2022-07-144-10/+53
| | |
| * | network: Add support to select an IPv4 link-local start addressAndre Kalb2022-07-136-0/+57
| | |
* | | Merge pull request #23999 from ↵Yu Watanabe2022-07-1410-74/+18
|\ \ \ | | | | | | | | | | | | | | | | msekletar/revert-background-session-no-user-instance Revert of recent changes in handling of background sessions
| * | | Revert "logind: don't start user@UID.service instance for background sessions"Michal Sekletar2022-07-147-20/+17
| | | | | | | | | | | | | | | | This reverts commit e73bf3425c0b5a6339388a3a459ce2bac497308b.
| * | | Revert "tests: add test for handling of background sessions"Michal Sekletar2022-07-142-46/+1
| | | | | | | | | | | | | | | | This reverts commit bf40417c7cbe0afb185eda97ea46395b1bb74bdf.
| * | | Revert "NEWS: mention change in default behavior of background sessions"Michal Sekletar2022-07-141-8/+0
| | | | | | | | | | | | | | | | This reverts commit 1611606fd91648f78137e823d5cc3ac68767e4a2.
* | | | base-filesystem: pick more conservative access mode for /root/Lennart Poettering2022-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Let's not allow anyone to look into /root/ if we create it via the base-filesystem logic. i.e. change 0755 → 0750 as default access mode for /root/, in case we create it if it happens to be missing.
* | | | Merge pull request #24008 from poettering/tmpfiles-is-dir-fixLennart Poettering2022-07-143-26/+20
|\ \ \ \ | | | | | | | | | | tmpfiles: fix wrong is_dir_fd() call
| * | | | tmpfiles: check the directory we were supposed to create, not its parentLennart Poettering2022-07-141-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This current code checks the wrong directory. This was broken in 4c39d899ff00e90b7290e4985696f321d7f2726f which converted the previous code incorrectly.
| * | | | stat-util: replace is_dir() + is_dir_fd() by single is_dir_full() callLennart Poettering2022-07-142-16/+13
| | | | | | | | | | | | | | | | | | | | | | | | | This new call can execute both of the old operations, but also do generic fstatat() like behaviour.
* | | | | growfs: Expand FS even if underlying block expansion failsundef2022-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows growfs to expand the filesystem even when the underlying block device cannot be expanded. This has been useful for example on LUKS devices that have already been expanded using systemd-repart. This works around the following error: ``` root@mobian:/home/mobian# /usr/lib/systemd/systemd-growfs / crypt_resize() of /dev/block/179:2 failed: Operation not permitted ```
* | | | | Merge pull request #24015 from poettering/growfs-fd-tweaksLennart Poettering2022-07-141-9/+22
|\ \ \ \ \ | |_|_|_|/ |/| | | | growfs fd handling tweaks
| * | | | growfs: don't reopen fds unnecessarilyLennart Poettering2022-07-141-8/+15
| | | | | | | | | | | | | | | | | | | | Instead, just open the mount fd once, and then operate on fds only.
| * | | | growfs: ensure that we operate on a block device before issuing a block ioctlLennart Poettering2022-07-141-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Similar to the previous commit: let's add extra safety so that we don't issue ioctls on the wrong type of inode.
| * | | | growfs: insist we open a directory when opening fs mount pointLennart Poettering2022-07-141-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | This is a simple safety check, since we shouldn't invoke ioctls on fds without being reasonably sure they are of the right type since ioctls are overloaded, and we might be tricked hence to execute an operation on an fd which means something different than what we expect.
* | | | update TODOLennart Poettering2022-07-141-0/+12
| | | |
* | | | kernel-install: add helper for loggingZbigniew Jędrzejewski-Szmek2022-07-141-36/+30
| | | |
* | | | import-ceds: use the right error variables at four placesLennart Poettering2022-07-141-4/+4
| | | |
* | | | update TODOLennart Poettering2022-07-141-0/+13
| | | |
* | | | update TODOLennart Poettering2022-07-141-2/+4
| | | |
* | | | growfs: don't actually resize on dry-runundef2022-07-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | This causes systemd-growfs to exit before resizing the partition when `--dry-run` is passed. Resizing during a dry run of a change breaks the users expectations.
* | | | update TODOLennart Poettering2022-07-141-0/+15
| | | |
* | | | Merge pull request #24002 from yuwata/network-hw-addrLuca Boccassi2022-07-149-53/+89
|\ \ \ \ | |/ / / |/| | | network: fix hardware address handling
| * | | sd-dhcp6-client: fix off-by-one error in parsing dhcp6 optionsYu Watanabe2022-07-142-2/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes error in parsing message when the rapid commit option is located at the end of the message. Fixes an issure reported in #24002.
| * | | sd-dhcp6-client: allow NULL option value when length is zeroYu Watanabe2022-07-141-5/+5
| | | |
| * | | sd-dhcp6-client: add more debugging logs on parsing messageYu Watanabe2022-07-141-12/+22
| | | |
| * | | network: do not set invalid MAC address for non-ethernet interfaceYu Watanabe2022-07-133-7/+14
| | | |
| * | | network: NDisc does not require MAC addressYu Watanabe2022-07-131-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | This effectively revert ba4c7184b320bb8698d470530d46a6c94641cc6e. Fixes #23546.
| * | | network: dhcp4: disable DHCPv4 client on interfaces with non-supported typesYu Watanabe2022-07-131-0/+4
| | | | | | | | | | | | | | | | Replaces f42d41cc5f9cd8cac538a1c30fda04d346b5bae2.
| * | | Revert "network: configure DHCP clients after MAC address is assigned"Yu Watanabe2022-07-133-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f42d41cc5f9cd8cac538a1c30fda04d346b5bae2. DHCPv6 client does not require MAC address. DHCPv4 client will be handled in a different way in a later commit. Partially fixes #23546.
* | | | update TODOLennart Poettering2022-07-141-0/+12
| |/ / |/| |
* | | sd-bus: do not pass NULL when received message with invalid typeYu Watanabe2022-07-141-1/+1
| | | | | | | | | | | | Fixes #24003.
* | | Merge pull request #23882 from dtardon/logind-set-display-testYu Watanabe2022-07-143-0/+141
|\ \ \ | |/ / |/| | Add tests for org.freedesktop.login1.Session SetType and SetDisplay
| * | test: add test for org.freedesktop.login1.Session SetDisplayDavid Tardon2022-07-131-0/+39
| | |
| * | test: add test for org.freedesktop.login1.Session SetTypeDavid Tardon2022-07-133-0/+90
| | |
| * | test: ensure cleanup functions return successDavid Tardon2022-07-131-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the return value of the last command is propagated, which may cause spurious test failures. E.g., pkill returns 1 if no process matched, which may be a problem in cleanup session: cleanup_session() { ... pkill -u "$(id -u logind-test-user)" sleep 1 pkill -KILL -u "$(id -u logind-test-user)" } If there are no remaining processes when the final pkill runs, it will return 1 and therefore cleanup_session will return 1 as well.
* | | Do not fail EFI build with newer binutilsMichael Biebl2022-07-131-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer binutils versions currently trigger the following warnings due to a bug in gnu-efi on arm64: /usr/bin/ld.bfd: warning: src/boot/efi/systemd-bootaa64.elf has a LOAD segment with RWX permissions on amd64: /usr/bin/ld.bfd: warning: /usr/lib/crt0-efi-x86_64.o: missing .note.GNU-stack section implies executable stack This results in a build failure due to --fatal-warnings. Work around this issue by suppressing those warnings until gnu-efi has been fixed. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013341
* | | man: lift pam_systemd_homed description to SummaryZbigniew Jędrzejewski-Szmek2022-07-131-10/+14
|/ / | | | | | | | | | | Also change the title to describe the module more comprehensively. Follow-up for 90bc309aa2c1430941f4c50f73e681ab3e488bd3. Suggested in https://bugzilla.redhat.com/show_bug.cgi?id=2085485#c5.
* | Add coredump daemons to bug/RFE template component optionsDaan De Meyer2022-07-132-0/+4
| |
* | Merge pull request #23817 from yuwata/sd-device-send-udev-database-versionZbigniew Jędrzejewski-Szmek2022-07-135-32/+57
|\ \ | | | | | | sd-device: send udev database version
| * | sd-device: send udev database versionYu Watanabe2022-07-082-0/+28
| | | | | | | | | | | | | | | | | | | | | Otherwise, sd-device object received through sd-device-monitor does not show current tags. Fixes #23799.
| * | sd-device: make device_get_properties_{nulstr,strv}() take NULL for result valueYu Watanabe2022-07-082-10/+10
| | | | | | | | | | | | | | | | | | In most cases, it is not necessary to call them without retrieving result. But, most of other getter functions for sd-device can take NULL. Let's follow the way for consistency.
| * | sd-device: change type of properties nulstr from uint8_t* to char*Yu Watanabe2022-07-085-24/+21
| | |