Repository navigation
Conversation
releng's livecd-alsa-unmuter.service wants systemd-udev-settle and is enabled from sound.target, so any sound card starts settle, and the unit's ConditionKernelCommandLine=accessibility=on is only checked once the dependency is already queued. sysinit.target then waits for every device: 3.54 s on an MSI Z690, ending when snd-usb-audio finished with the board's USB audio. Order after sound.target only.
Install test passed
Boots are loader, kernel and userspace, without the VM's firmware. Install phases, x86_64
Install phases, aarch64
|
sound.target starts when the first sound card appears, and livecd-sound unmutes and offers only the cards in /proc/asound/cards at that moment, so ordering the unmuter after sound.target alone can leave out a card that probes later: a USB headset, or a board whose analog codec is USB, like the MSI Z690's. Without settle a screen reader user can be left with speech on the HDMI card only. Run `udevadm settle` as the unit's ExecStartPre. The accessibility condition gates it like the rest of the unit, so only those boots wait, and normal boots still never start systemd-udev-settle (checked in QEMU on this branch's ISO: the unmuter is skipped and settle never starts; with accessibility=on the unit runs settle, then livecd-sound).
Contributor
Author
[Medium impact] The PR appears safe to merge. SummaryThe PR keeps the device wait inside the accessibility-only sound service instead of pulling it into every live boot.
Reviews (3) · Last reviewed commit: "Unmute the screen reader's sound even wh..." · Reviewed by Greptile |
emirb
marked this pull request as ready for review
October 22, 2026 20:44
A udevadm settle that times out on some unrelated slow device failed the unit, so livecd-sound -u never ran and every card stayed muted, leaving the screen reader silent. releng's Wants= on systemd-udev-settle.service never stopped the unmute that way. Ignore the wait's exit status; a settle that succeeds still runs first. Checked under systemd 257 with settle replaced by a command that exits 1: without the change the unit fails and nothing is unmuted, with it the unit succeeds and the unmute runs.
emirb
marked this pull request as draft
October 22, 2026 21:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
releng's
livecd-alsa-unmuter.servicehasWants=/After=systemd-udev-settle.serviceand is enabled fromsound.target, so any sound card starts settle. ItsConditionKernelCommandLine=accessibility=onis only checked once the dependency is queued (systemd.unit(5): conditions don't gate dependencies), so the unit skips whilesysinit.targetwaits for every device. On the Z690 settle ran from 6.0 to 10.84 s andsysinit.targetcame at 10.82-10.85 s; without it, 4.3-5.7 s. This orders the unit aftersound.targetonly; the screen reader still gets its sound card.Measured on an MSI MAG Z690 Tomahawk (i5-12600K) booting a SanDisk Extreme Pro, 3 boots per ISO, seconds since kernel start. The four live-boot changes (this one and the other drafts) were measured together, kernel start to installer splash 17.88-17.93 s before and 7.75-7.91 s after, with 0 failed units on every boot; the numbers here come from this phase's own timestamps.