summaryrefslogtreecommitdiffstats
path: root/src/resolve (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-10TEST-06-SELINUX: Various fixesDaan De Meyer6-16/+21
- Stop installing the policy in the initramfs as it's not really supported anyway (https://github.com/fedora-selinux/selinux-policy/issues/2221) - Stop relabeling on first boot and prefer to do it at image build time - Disable mkosi relabeling by default but enable it in CI - Build image as root in CI so the SELinux relabeling works properly
2024-07-10mkosi: Don't fail if /var/log/journal does not existDaan De Meyer1-1/+1
2024-07-10test: Switch to ncat instead of ncDaan De Meyer14-25/+27
ncat is available in CentOS Stream 9 without having to enable EPEL.
2024-07-10TEST-55-OOMD: Switch to stress-ngDaan De Meyer8-15/+8
stress-ng is available in OpenSUSE and in CentOS Stream without needing EPEL so let's switch to it instead of stress.
2024-07-10mkosi: Update to latestDaan De Meyer1-1/+1
2024-07-10man: some fixesLennart Poettering1-4/+4
Addons are called addons, say so. And some other fixes.
2024-07-10mkosi: Check for configured build directory if WIPE=1Daan De Meyer4-4/+4
Otherwise trying to use --wipe might fail if the build directory has not been configured but is not empty either.
2024-07-09man: fix typo in unit options sectionKuntal Majumder1-1/+1
Fixes #32918
2024-07-09test: install split-out sshd-session binary if presentLuca Boccassi2-0/+2
Archlinux split out one ssh binary, install it in the legacy test setup if present for the tests that need ssh
2024-07-09fsck: do not pull down mount units on soft-rebootLuca Boccassi1-1/+2
Otherwise they will pull down the disk too, which we don't want on soft-reboot
2024-07-09logind-dbus: set gc_mode to USER_GC_BY_PIN when disable lingerTom Yan1-1/+4
The mode switch from any to pin is currently done in create_session(). However, if no (pinning) session is created before (or after) linger is disabled, the user will not be gc'd after that. Therefore, also perform the mode switch when linger is being disabled.
2024-07-09Add or fix mount matrix for multiple handhelds. (#33586)Derek J. Clark1-4/+36
- Breaks AYANEO AIR family into different entries as not all are mounted the same. - Corrects AYANEO AIR mount matrix. - Adds mount matrices for AYANEO device families: 2021, AYANEO 2, AYANEO GEEK, and AYANEO FLIP - Adds mount matrix for GPD WinMax2 - Adds mount matrix for OrangePi NEO
2024-07-09man: fix typo in the alias symlink nameZHANG Yuntian1-5/+5
Symlink created by Alias will use the value as the file name.
2024-07-09Add MSI Claw AT Keyboard Scancodes.Derek J. Clark1-0/+5
2024-07-09mkosi: Fix git commitDaan De Meyer1-1/+1
In https://github.com/systemd/systemd/pull/33659 the commit was updated to point to my fork without changing it back after the mkosi PR was merged so let's change it back to point to the official repository.
2024-07-09mkosi: Adapt configuration to take into account configuration reworkDaan De Meyer84-211/+144
In https://github.com/systemd/mkosi/pull/2847, the '@' specifier is removed, CLI arguments take priority over configuration files again and the "main" image is defined at the top level instead of in mkosi.images/. Additionally, not every setting from the top level configuration is inherited by the images in mkosi.images/ anymore, only settings which make sense to be inherited are inherited. This commit gets rid of all the usages of '@', moves the "main" image configuration from mkosi.images/system to the top level and gets rid of various hacks we had in place to deal with quirks of the old configuration parsing logic. We also remove usages of Images= and --append as these options are removed by the mentioned PR.
2024-07-08mkosi: policykit-1 was renamed to polkitdLuca Boccassi1-1/+1
2024-07-08vmspawn: define default machines for mips targetsHenry Chen1-0/+2
All mips variants of qemu-system default to malta. Signed-off-by: Henry Chen <henry.chen@oss.cipunited.com> Signed-off-by: Henry Chen <chenx97@aosc.io>
2024-07-08Update 60-sensor.hwdbcsp5me1-0/+4
This update has been tested on the 2023 Chuwi Freebook N100. The hwdb entry has been verified using these commands: cat /sys/`udevadm info -q path -n /dev/iio:device0`/../modalias acpi:MDA6655:MDA6655: cat /sys/class/dmi/id/modalias dmi:bvnAmericanMegatrendsInternational,LLC.:bvrDNN20AV1.03:bd12/29/2023:br1.3:efr0.7:svnCHUWIInnovationAndTechnology(ShenZhen)co.,Ltd:pnFreeBook:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct10:cvrDefaultstring:skuDefaultstring: The correct offset orientation has been tested with: monitor-sensor Waiting for iio-sensor-proxy to appear +++ iio-sensor-proxy appeared === Has accelerometer (orientation: normal) === No ambient light sensor === No proximity sensor
2024-07-08path: drop IN_ATTRIB from parent directory watchesRonan Pigott1-1/+1
When watching a given pathspec, systemd unconditionally installs IN_ATTRIB watches to track the link count of the resolved file. This way, we are notified if the watched path disappears, even if the resolved file inode is not removed. Similarly, systemd installs inotify watches on each parent directory, to be notified when the specified path appears. However, for these watches IN_ATTRIB is an unnecessary addition to the mask. In inotify, IN_ATTRIB on a directory is emitted whenever the attributes of any child changes, which, for many paths, has the potential to cause a high number of spurious wakeups in systemd. Let's remove IN_ATTRIB from the mask when installing watches on the parent directories of the specified path.
2024-07-08firstboot: Make the option list fit 80 columnsFabian Vogt1-1/+1
22 characters in three colums + overhead slightly exceeds the available width on terminals with 80 columns, causing each row to wrap to two lines. Reduce the item width to 20 to fit even the list of ~600 timezones.
2024-07-08stub: Add support for .ucode EFI addonsTobias Fleig4-53/+144
This extends #31872 to also load microcode from addon files.
2024-07-08mkosi: Use the "default" root filesystem for each distributionDaan De Meyer3-4/+11
Let's not insist on btrfs everywhere. 93440db8b5eae1244aaf5fecfa68050a8b26f3e3 switched us back to btrfs as we wanted to rely on the fact it records timestamps properly. Since we now prefer to do incremental builds on the host with "mkosi -t none" we don't mind anymore that timestamps are not recorded properly so we're not forced to use btrfs anymore. This also increases test coverage as we'll now test with different root filesystems.
2024-07-0770-mouse.hwdb: Added Glorious Model O DPIRiku1-0/+8
This rule might also apply to the regular Model O (no minus), which has the same specifications.
2024-07-06Remove extra period at the end of systemd-bsod's unit description. (#33632)fwfy1-1/+1
* Remove extra period at end of unit description. Having an extra period at the end of this unit description makes log entries pertaining to it appear weirdly, as it seems the default expectation is that there is not to be a period at the end of a unit description. e.g.: `systemd[1]: Started Displays emergency message in full screen..`
2024-07-06test: Set priority for TEST-73-LOCALEDaan De Meyer1-0/+1
I don't know why yet, but TEST-73-LOCALE can take more than 10 minutes. Until we figure out why, let's give it a higher priority so it doesn't bottleneck the test run.
2024-07-05TEST-06-SELINUX: Disable RuntimeBuildSources=Daan De Meyer2-1/+4
Otherwise fixfiles will try to relabel it which could potentially lead to disaster. We also change the recommendation in HACKING.md to set the default so that TEST-06-SELINUX can override it.
2024-07-05mkosi: Make .autorelabel file emptyDaan De Meyer1-1/+0
The contents of this file are passed as arguments to fixfiles so let's remove the comment as otherwise fixfiles just crashes.
2024-07-05mkosi: use apt pinning for locally built debian/ubuntu packagesLuca Boccassi2-0/+6
This ensures that even in case the distro repository has newer versions, the locally built packages are preferred and installed, even to the point of downgrading already installed ones. This is needed especially for future stable branches, when the distros will have a newer version.
2024-07-05mkosi: Update to latestDaan De Meyer1-1/+1
2024-07-05test: Add missing --no-rebuild to docDaan De Meyer1-4/+4
Otherwise meson will try to rebuild all targets.
2024-07-05hwdb: Added StarLabs StarLite position sensor mappingGwynBleidD1-0/+7
Default mapping for position sensor in StarLabs StarLite does not match screen orientation. Added fixed mapping matrix.
2024-07-05Fix key toggle touchpad button for multilaser ul154 (#33630)Edson Juliano Drosdeck1-0/+7
2024-07-04workflows/labeler: do not set labels on stable backport PRsMike Yuan1-1/+1
2024-07-04labeler: match all mkosi filesMike Yuan1-1/+1
2024-07-04labeler: remove matches for dropped files (Makefile)Mike Yuan1-2/+2
2024-07-04systemctl: do not try to acquire triggering units for template unitsMike Yuan1-4/+9
2024-07-04systemctl: skip triggering unit warning if unit vanishedMike Yuan1-2/+2
2024-07-04man/systemctl: --no-reload is honored by mask/unmask/preset tooMike Yuan1-3/+3
2024-07-04hwdb: add more AV controllersDavide Cavalca1-0/+36
2024-07-04stub: mem fixes in devicetree addon handling (#33624)tfg131-3/+3
* stub: mem fixes in devicetree addon handling Two bugs here: The elements are of size `DevicetreeAddon`, not `size_t`, and `[]` binds stronger than `*`. This means the first element is ok, but the second corrupts the stack. Found this while refactoring #32463
2024-07-04vmm: make sure we can handle smbios objects without variable partLennart Poettering1-2/+11
An smbios object with no variable part is a special case, it's just suffixed with two NUL btes. handle that properly. This is inspired by a similar fix from https://github.com/systemd/systemd/pull/29726
2024-07-04meson: Fix various versionsDaan De Meyer5-16/+17
Follow up for 8b3b01c4b7e0fde39b4be354990ee68f5e612c52 We switch to PROJECT_VERSION instead of PROJECT_VERSION_FULL where we report our version and which is likely being parsed to avoid breaking compat. If we didn't, the output would change from systemd 255 to systemd 255.1 which could break various tools.
2024-07-04README: update requirements for signed dm-verityLuca Boccassi1-2/+3
The newest kconfig enabling DB-verified dm-verity images is queued for 6.11: https://patchwork.kernel.org/project/dm-devel/patch/20240617220037.594792-1-luca.boccassi@gmail.com/
2024-07-04sysusers: handle NSS errors gracefullyLuca Boccassi2-6/+30
If the io.systemd.DynamicUser or io.systemd.Machine files exist, but nothing is listening on them, the nss-systemd module returns ECONNREFUSED and systemd-sysusers fails to creat the user/group. This is problematic when ran by packaging scripts, as the package assumes that after this has run, the user/group exist and can be used. adduser does not fail in the same situation. Change sysusers to print a loud warning but otherwise continue when NSS returns an error.
2024-07-04man: fully adopt ~/.local/state/Lennart Poettering1-1/+5
The XDG base dir spec adopted ~/.local/state/ as a thing a while back, and we updated our docs in b4d6bc63e602048188896110a585aa7de1c70c9b, but forgot to to update the table at the bottom to fully reflect the update. Fix that.
2024-07-04man: mention that distinction between /usr/lib/ and /usr/share/ is really ↵Lennart Poettering1-7/+12
about shared *ownership*
2024-07-04man: drop version info from file hiearchy man pageLennart Poettering2-301/+185
This file doesn't document features of systemd, but is more a of a general description that generalizes/modernizes FHS. As such, the items listed in it weren't "added" in systemd versions, they simply reflect general concepts independent of any specific systemd version. hence let's drop this misleading and confusing version info. Or in other words, the man page currently claims under "/usr/": "Added in version 215." – Which of course is rubbish, the directory existed since time began. This also rebreaks all paragaphs this touches. No content changes.
2024-07-04os-util: avoid matching on the wrong extension-release fileLuca Boccassi2-8/+13
The previous commit tries to extract a substring from the extension-release suffix, but that is not right, it's only the images that need to be versioned and extracted, use the extension-release suffix as-is. Otherwise if it happens to contain a prefix that matches the wrong image, it will be taken into account. Follow-up for 37543971aff79f3a37646ffc2bb5845c9394797b
2024-07-04mkosi: Build a disk image by default againDaan De Meyer2-22/+4
Now that we have a way to rebuild and reinstall systemd without having to rebuild the image, let's default to building a disk image again.