Bug 2129387
Summary: | Systemd causes PC Speaker to emit a loud beep during reboot/poweroff, after suspend&resume | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kamil Páral <kparal> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 37 | CC: | awilliam, bcotton, edgar.hoch, fedoraproject, filbranden, flepied, lnykryn, msekleta, ryncsn, ssahani, s, systemd-maint, travneff, yuwatana, zbyszek |
Target Milestone: | --- | Flags: | bcotton:
fedora_prioritized_bug+
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedFreezeException | ||
Fixed In Version: | systemd-251.6-609.fc37 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-10-17 22:55:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2009540 |
Description
Kamil Páral
2022-09-23 14:43:17 UTC
I don't expect people to want to block Fedora 37 on this problem, but I'll at least propose it for a freeze exception, in case the freeze starts before this is resolved. I also nominate this as a Prioritized Bug, because I think many of our users will be extremely annoyed if we release in this state. The solution likely includes a revert in systemd to no longer send the VT announce messages, or possibly blacklisting the pcspkr kernel module (at least on desktops), as an alternative. Funny thing is, I seem to remember this always used to happen *before* systemd. So it might be that this is sort of restoring an old behaviour rather than a new one. I agree it's kinda annoying and probably silly, though. For desktops at least. +4 in https://pagure.io/fedora-qa/blocker-review/issue/921 , marking accepted. Hmm, so the patches from https://github.com/systemd/systemd/issues/23520 are already included in v251.2, and Kamil reported the issue with systemd-251.4-53.fc37.x86_64. So the that fix is clearly not enough. In https://github.com/systemd/systemd/issues/23520#issuecomment-1141290377 the following was recommended: busctl set-property org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager EnableWallMessages b false Can somebody who can reproduce the issue test if this fixes it? If yes, then most likely we need to disable those messages altogether by default. I finally found the reproducer! The beep doesn't occur when I cleanly boot my system and restart it. But when I SUSPEND AND RESUME it, it then beeps during reboot/poweroff! So whatever fix was applied earlier, it doesn't persist through suspend&resume.
> busctl set-property org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager EnableWallMessages b false
This indeed silences the beep, and it persists through suspend&resume.
In today's Prioritized Bugs meeting, we accepted this as a Prioritized Bug. @zbyszek.pl Can we please get a patch in F37 quickly, now that it's fixed in upstream? It would be great to have this fixed in F37 Final. Thanks! FEDORA-2022-bb55f82158 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb55f82158 (In reply to Fedora Update System from comment #8) > FEDORA-2022-bb55f82158 has been submitted as an update to Fedora 37. > https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb55f82158 Beeping is gone! :-) Beep! I mean thanks for checking. So… the update has been "pending→stable" for the last three days. Do I need to do something to push it out? FEDORA-2022-bb55f82158 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. (In reply to Zbigniew Jędrzejewski-Szmek from comment #11) > So… the update has been "pending→stable" for the last three days. Do I need > to do something to push it out? To explain: This was because we're in a Final freeze, and during freeze, QA takes care of pushing things stable if they have an approved freeze exception. We wait a while to confirm that it's working well and also consider the risk of breaking something important. So everything was working as intended. |