summaryrefslogtreecommitdiffstats
path: root/rules.d/50-udev-default.rules.in (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-12stub: const'ify a few parametersLennart Poettering1-6/+6
2024-07-12signal-util: use common definitions for ignore + default "struct sigaction"Lennart Poettering5-37/+25
We use this at various places, let's unify this in one global constant. This changes flags in crash-handler.c in a tiny irrelevant way: we ask syscalls to be continued on signal arrival, which we previously didn't. But that shouldn't change anything, the only thing we'll do in the relevant process is call raise(), and that's it, hence there definitely are no syscalls to restart or not to restart.
2024-07-12bootspec: correct log level for fatal errorsLennart Poettering1-4/+4
2024-07-12bootspec: implement sorting by tries left/done, to match what sd-boot doesLennart Poettering1-1/+18
2024-07-12boot: compare filename suffixes without caseLennart Poettering1-1/+1
This is VFAT world after all.
2024-07-12vmspawn: get rid of an unnecessary local variableLennart Poettering1-7/+3
2024-07-12vmspawn: rework how AF_VSOCK/SOCK_STREAM notifications are readLennart Poettering1-42/+97
Stream sockets are stream sockets, i.e. they won#t give us the full data right-away, we must buffer locally and read until we hit EOF. Hence do so. moreover, make sure to close the fd once we are done, otherwise the sender might block on us.
2024-07-12manager: move is-system check into manager_enable_special_signals()Lennart Poettering1-6/+3
It's usually how we do this: make the functions robust to be called in any context, and validate the context in the functions themselves early, instead of in the caller.
2024-07-12import-creds: when we hit ENOENT on SMBIOS 11 do not even debug logLennart Poettering1-2/+3
We'll *always* hit ENEOENT when iterating through SMBIOS type #11 fields, on the last one. it's very confusing to debug log about that, let's just not do it.
2024-07-11core/execute-serialize: drop duplicate serialization of _ignore flagsMike Yuan1-30/+6
These are indicated by the leading '-' in corresponding label fields already.
2024-07-11core/meson.build: move various -setup sources out of libcoreMike Yuan1-8/+11
They're only used in main.c, i.e. pid1.
2024-07-11mkosi: Switch back to code.opensuse.org for opensuseDaan De Meyer1-3/+3
The commits on src.opensuse.org keep disappearing so let's switch back to code.opensuse.org.
2024-07-11po: Translated using Weblate (French)Léane GRASSER1-4/+5
Currently translated at 100.0% (233 of 233 strings) Co-authored-by: Léane GRASSER <leane.grasser@proton.me> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/ Translation: systemd/main
2024-07-10mkosi: update opensuse commit referenceDaan De Meyer1-1/+1
* 8c025c3bdf Accepting request 1184267 from Base:System |\ | * 735f8c4ba4 - Import commit 5a8eadd0c021758337a020c423f25a353bdb9b3c (merge of v255.8) For a complete list of changes, visit: https://github.com/openSUSE/systemd/compare/603cd1d4d81147d4f2eccd5e352064a4215119b4...5a8eadd0c021758337a020c423f25a353bdb9b3c - Drop 5003-Revert-run-pass-the-pty-slave-fd-to-transient-servic.patch as v255.8 contains the workaround (commit 639c922ede9485) for the broken commit 28459ba1f4df. * | 37853fecc3 Accepting request 1183029 from Base:System |/ * 638de11012 - Don't automatically clean unmodified config files up (bsc#1226415) * 369c023c24 reorder one more time... * ffa9f0ac80 reorder the runtime deps of the testsuite package so the format_spec_file thingy stop screwing up the spec file... * 12c1190a79 fix rev 1529: the devel packages are really needed by the testsuite script to install the dlopened libs into the image * ca8e7f54ce - systemd.spec: move a misplaced %endif in the testsuite sub-package. * b7944f5b14 - Merge systemd-coredump back into the main package (bsc#1091684) * 3fa0dea84a - Don't pull the devel packages in when installing the testsuite package.
2024-07-10tools/update-distro-hash: Fix pathDaan De Meyer1-1/+1
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-10docs: Simplify update commands in HACKING.mdDaan De Meyer1-7/+7
Let's make use of mkosi ssh to give everyone a one liner to run instead of having to execute two commands (one outside the VM, one inside).
2024-07-10mkosi: Update to latestDaan De Meyer1-1/+1
2024-07-10mkosi: Build a sysext if SYSEXT=1 is specifiedDaan De Meyer5-1/+59
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-10mkosi: Install erofs-utilsDaan De Meyer1-0/+1
2024-07-10update TODOLennart Poettering1-0/+16
2024-07-10mount-tool: show diskseq in --list outputLennart Poettering2-2/+18
Let's expose the diskseq a bit more prominently.
2024-07-10mount-tool: use the usual coloring in --help textLennart Poettering1-1/+3
2024-07-10mount-tool: add support for a --json= output modeLennart Poettering3-8/+14
Let's add a JSON output mode, like we have it for so many of our tools.
2024-07-10mount-tool: use lowercase table column namesLennart Poettering1-1/+1
The "systemd-mount" tool is the one outlier in our codebase to specify upper case column names. And it's quite pointless given that our table output logic uppercases this anyway on output. Hence, let's fix that. (This would be a compat break, if we'd support JSON output of this table, but we do not currently. JSON fields use the literal column name after all.)
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-09systemctl-enable: support reenable --nowMike Yuan2-19/+51
Also, instead of silently continuing when template units are specified with enable --now, print a warning and skip them. Closes #31541
2024-07-09systemctl-enable: some cleanupsMike Yuan1-38/+39
- Drop one more use of basename() - Clean up logging in normalize_*() - Use assertions where appropriate
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..`