summaryrefslogtreecommitdiffstats
path: root/src/rpm (unfollow)
Commit message (Collapse)AuthorFilesLines
3 daysudev: add input/by-{id,path} symlinks for hidraw devicesNick Rosbrook2-0/+27
Take some of the same rule structure from 60-persistent-input.rules, and apply it to hidraw devices in 60-persistent-hidraw.rules. Since one of the motivations for this is being able to easily reference FIDO tokens, add a special case when ID_FIDO_TOKEN==1, and add 'fido' to the symlink.
3 daysFix typover4a3-3/+3
3 daysAdds asus T103HAF rotation matrix to 60-sensor.hwdb (#36177)16mc1r1-0/+4
Rotation Matrix to enable correct auto-rotation with [iio-sensor-proxy](https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/) on an Asus Transformer Mini T103HAF with iio-sensor `HID-SENSOR-200073`. - Tested on KDE Plasma Mobile (Fedora 41), details see inxi report. Device Details: - low powered 2in1 convertible with 10.1" screen size, 4core atom cpu and 4gb ram. Usefull as x86 based tablet with stylus for annotation and reading. - [official asus website for the device](https://www.asus.com/us/laptops/for-home/everyday-use/asus-transformer-mini-t103/) #### inxi device report ```sh System: Host: ------ Kernel: 6.12.10-200.fc41.x86_64 arch: x86_64 bits: 64 Console: pty pts/3 Distro: Fedora Linux 41 (KDE Plasma Mobile) Machine: Type: Detachable System: ASUSTeK product: T103HAF v: 1.0 serial: J1N0CX212087050 Mobo: ASUSTeK model: T103HAF v: 1.0 serial: ---------- UEFI: American Megatrends v: T103HAF.306 date: 12/05/2017 CPU: Info: quad core model: Intel Atom x5-Z8350 bits: 64 Info: Memory: total: 4 GiB ``` ### udevadm info output for iio-device ```sh # iio-device / accelerometer P: /devices/pci0000:00/0000:00:0a.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:0001.0004/HID-SENSOR-200073.3.auto/iio:device0 M: iio:device0 R: 0 U: iio T: iio_device D: c 234:0 N: iio:device0 L: 0 E: DEVPATH=/devices/pci0000:00/0000:00:0a.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:0001.0004/HID-SENSOR-200073.3.auto/iio:device0 E: DEVNAME=/dev/iio:device0 E: DEVTYPE=iio_device E: MAJOR=234 E: MINOR=0 E: SUBSYSTEM=iio E: USEC_INITIALIZED=18119681 E: ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, -1 E: IIO_SENSOR_PROXY_TYPE=iio-poll-accel iio-buffer-accel E: SYSTEMD_WANTS=iio-sensor-proxy.service E: TAGS=:systemd: E: CURRENT_TAGS=:systemd: ``` ### Full `udevadm info --export-db` - as requested in [60-sensor.hwdb](https://github.com/systemd/systemd/blob/ba0266b376d7cc5205d8a4a3d999aec13c24fe5d/hwdb.d/60-sensor.hwdb#L35) - [udevadm-info_103HAF.txt](https://github.com/user-attachments/files/18550448/udevadm-info_103HAF.txt)
3 dayscore/dbus-manager: make output argument of transient_unit_from_message() ↵Yu Watanabe1-5/+5
optional
3 daysmkosi: Add VCS_TAG to PassEnvironment=Daan De Meyer1-0/+1
3 daysmkosi: Bump minimum version to 25Daan De Meyer1-1/+1
Let's require everyone to be on the now officially released mkosi 25.
3 daysmkosi: Update to latestDaan De Meyer2-2/+2
3 daysmachine: revert type change of "leader" in io.systemd.Machine.Register methodYu Watanabe2-11/+19
The varlink method io.systemd.Machine.Register() is in v256, hence type of "leader" cannot be changed. Let's revert the change by 755cb018c9b3e93245afb86ec94223756ddd70e4, and introduce another field "leaderProcessId", which takes detailed information of the process. Fixes a regression caused by 755cb018c9b3e93245afb86ec94223756ddd70e4. Fixes #36155.
3 daysjournal-remote: coding style fixletsYu Watanabe6-20/+20
Co-authored-by: Andrii Chubatiuk <andrew.chubatiuk@gmail.com>
3 daysman: insert missing varname tagIvan Trubach1-1/+1
4 daysstrv: drop redundant string_strv_hash_opsYu Watanabe1-4/+2
It is completely equivalent to string_hash_ops_free_strv_free.
4 dayssystemctl: fix memleakYu Watanabe1-0/+6
Fixes a bug introduced by adb6cd9be2b7e9e614d2b5835c7b70cf8eacc852. Fixes #36178.
4 dayshwdb: add MSI Claw 8 AT Keyboard Scancodes (#36180)honjow1-1/+2
This change maps the right face button to F15 and the left one to F16. Similar to #33669.
5 daysgetty-generator: port to get_kernel_consoles()Mike Yuan1-32/+24
5 daysgetty-generator: use generator_add_symlink() where appropriateMike Yuan1-36/+16
5 daystty-ask-password-agent: do not needlessly spawn subprocesses if there's only ↵Mike Yuan1-9/+21
one console
5 daysterminal-util: make get_kernel_consoles() return > 0 if /dev/console is resolvedMike Yuan1-8/+4
5 dayslogin/pam_systemd: drop redundant vtnr == 0 handlingMike Yuan1-2/+1
vtnr_from_tty() treats 0 as invalid.
5 daysterminal-util: stop doing 0/upper bound check in tty_is_vc()Mike Yuan1-14/+25
tty_is_vc() is more often than not used for simple "categorization" than validity check. E.g. in logind, we first recognize the tty "looks like vc", and then use vtnr_from_tty() where range check is performed and vtnr is extracted. In such cases, we want to reject invalid vtnr from clients rather than silently carry on, hence let's remove bound check in tty_is_vc(). Fixes #36166 Replaces #36167 and #36175
5 daysnetwork: fix offset of preference in backward compat optionYu Watanabe2-1/+1
Fixes a bug introduced by a10d6e0124bb6e202baef9170b019e2e6a7af1fd. Fixes oss-fuzz#391916479 (https://issues.oss-fuzz.com/issues/391916479). Fixes #36172.
5 daysboot: Improve log messageDaan De Meyer1-1/+1
6 daystools: add loongarch64 to debug-sd-boot scriptLuca Boccassi1-1/+1
6 daysukify: add riscv32 to --efi-archLuca Boccassi1-1/+1
It is supported in the arch mapping at the top and in elf2efi, so add it here too
6 daysukify: add loongarch64 to --efi-archLuca Boccassi1-1/+1
6 daysresolved: stop mdns/llmnr if no interface request it after bus methodYu Watanabe1-0/+9
6 daysresolved: do not disable mdns/llmnr globally if it's enabled on any linkYu Watanabe6-5/+36
Fixes a regression caused by 2976730a4d34749bfb7a88da341464f1834ab1c6. Fixes #36078. Fixes #36126. Co-authored-by: Luca Boccassi <luca.boccassi@gmail.com>
6 daysman: fix reference to non-existing ukify parameterLuca Boccassi1-1/+1
The --extend parameter was removed by https://github.com/systemd/systemd/pull/34608 and a --join-profile was added instead, fix leftover reference in manpage Follow-up for 3891d57c4f768cb648e1a85483216eadae0b101e
6 dayslibmount-util: introduce two helper functionsYu Watanabe10-21/+42
This introduces libmount_parse_mountinfo() and libmount_parse_with_utab(). The former one parses only mountinfo, but the latter one also parse utab. Hopefully this avoids pitfalls like issue #35949.
6 daysmount-util: make path_get_mount_info_at() also read utabYu Watanabe1-1/+3
As "_netdev" is only stored in utab. Fixes a bug introduced by 5261c521e3a98932241f36e91cf6f7823c578aca. Fixes #35949.
6 dayshomed: when setting up an idmapping map foreign UID range on itselfLennart Poettering1-0/+5
Now that nspawn can run unprivileged off directory trees owned by the new "foreign" UID range let's make sure homed actually allows files owned by that range in the home directories. This is not enough to make nspawn just work in homed home dirs unfortunately though. that's because homed applies an idmapping, and nspawn would need to then to take that idmapped mount and apply another one, and the kernel simply doesn't support stacked idmapped mounts. There's work ongoing to address that in the kernel. However, this is a first step, and should be enough to make things just work should the kernel eventually support stacked idmapped mounts.
6 dayssd-json: silence false positive warning by coverityYu Watanabe1-2/+3
An object json is a set of key and value pair, hence has its number of element is multiple of two, and we know at least two elements there. Follow-up for b6a2df630701de0bcf77850ced213d7fc3d0c4de. Fixes CID#1590724
6 daystree-wide: insert a space at the end of commentsYu Watanabe27-32/+32
6 daysHACKING: Drop run0 from mkosi boot invocationDaan De Meyer1-1/+1
mkosi will itself use run0 or sudo when not running as root to invoke systemd-nspawn, so no need to do it in HACKING.md.
6 daysHACKING: Move OBS section further downDaan De Meyer1-15/+15
HACKING.md should first and foremost tell someone how to hack on systemd, installing packages from OBS isn't the most likely section a new contributor will be interested in, so let's move it further down.
6 daysudev-rules: use sd_device_set_sysattr_value() to write sysfs attributeYu Watanabe1-20/+55
Then, we can avoid that files outside of sysfs are written by udev ATTR key. This also makes - logs failure in udev_resolve_subsys_kernel(), - failure in sd_device_get_syspath() critical, as that should not happen, - cache the value to be write when running on test mode, to make it shown by OPTIONS="dump" or obtained by ATTR match token.
6 dayssd-device: move the check if sysattr entry should be cached into ↵Yu Watanabe1-11/+16
device_cache_sysattr_value() No functional change. Preparation for the next commit.
6 dayssd-device: make device_get_cached_sysattr_value() staticYu Watanabe2-2/+1
6 dayshomectl: move --umask=/--access-mode= help/man sectionsLennart Poettering2-23/+24
These don't really have much to do about resource mgmt, but are more about security, hence let's move them away from the resource mgmt section.
6 daysman: add some sections to homectl man pageLennart Poettering2-2/+48
This adds the same sections we already have in the homectl --help blurb also to the man page. While we are at it, let's also add a new section for Authentication related switches.
6 daysdelta: add missing error checkYu Watanabe1-1/+5
Fixes CID#1590726.
6 daysdelta: use r for storing error codeYu Watanabe1-12/+11
6 daysmkosi: update debian commit referenceLuca Boccassi1-1/+1
* 4447d2974d Update changelog for 257.2-3 release * 4b1c65b905 libudev1: add udeb back to shlibs * 1974e3d06e systemd-boot: always check that the boot entry is set, even with Shim is already installed * 9a5eea9823 systemd-boot: use boot entry argument instead of installing as grub.efi on ESP * df6efeed46 libsystemd-dev/libudev-dev: depend on libcap-dev * 5673b771e1 signing template: add override for executable-not-elf-or-script * 3f109637c4 Update changelog for 257.2-2 release * 42f4afa605 Drop udeb packages * c04f7f2b16 signing template: always set urgency to 'high' * 9bd8b5228b Set SBAT info for upstream build * 257ba8563b udev: link to libsystemd-shared when building with noudeb profile * 8ca2b26678 Link systemctl against libsystemd-shared * 1a4a8af0c2 Install jq for pkg.systemd.upstream too since the template packages are now built * 6fd0d2698d signing template: fix Lintian warnings and errors * c79d10bbaa Build template packages for pkg.systemd.upstream profile, for OBS builds * 485a867438 d/t/upstream: take into account autopkgtest pinning * c1b6e565e3 Update README.source in the signing-template * 17d1b92d9f d/t/control: remove 'flaky' from tests-in-lxd * 2a36f6f5e1 Do not install sd-resolved and drop breaks-testbed from fast tests * a3cb52f8d0 Enable UEFI on loong64 * ad7a943023 Enable libseccomp on loong64 and hppa * 9d24f84ed5 Update changelog for 257.2-1 release * f47619c9f4 Drop all patches, merged upstream * d4aa6545a6 Install new files for upstream CI * 5775daa46e d/rules: support building in OBS from git
6 dayssd-device: fix typoYu Watanabe1-1/+1
Follow-up for 8d89667abaa8b569c2ac9e37752c404cebdfaaaa.
6 daysmntfsd: fix typoYu Watanabe1-1/+1
Follow-up for d6f8e1ae879ed1676406b61b6f4dba1bdd3749ae.
6 dayspam_systemd: fix typoYu Watanabe1-1/+1
Follow-up for 30de5691744781277f992a25afa268518f3fe711.
6 daysstrv: fix typoYu Watanabe1-1/+1
Follow-up for 5072f4268b89a71e47e59c434da0222f722c7f0e.
6 daysmkosi: Drop usage of _systemd_QUIET in arch build scriptDaan De Meyer1-1/+0
We dropped the variable in the packaging specs for Arch to keep the integration points as minimal as possible so let's stop using it in the build script as well.
6 daystest: split VM-only subtests from TEST-74-AUX-UTILS to new VM-only testLuca Boccassi12-180/+232
TEST-74-AUX-UTILS covers many subtests, as it's a catch-all job, and a few need a VM to run. The job is thus marked VM-only. But that means in settings where we can't run VM tests (no KVM available), the entire thing is skipped, losing tons of coverage that doesn't need skipping. Move the VM-only subtests to TEST-87-AUX-UTILS-VM that is configured to only run in VMs under both runners. This way we keep the existing tests as-is, and we can add new VM-only tests without worrying. This is how the rest of the tests are organized. Follow-up for f4faac20730cbb339ae05ed6e20da687a2868e76
7 daysupdate TODOLennart Poettering1-8/+0
7 daystest: add test case for tmpfs quota logic + PAMName= ask-password logicLennart Poettering1-0/+16