daemon-reload runs alsa-restore.service and others
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | systemd |
Fix Released
|
Medium
|
||
| | systemd (Debian) |
Fix Released
|
Unknown
|
||
| | systemd (Ubuntu) |
Medium
|
Martin Pitt | ||
Bug Description
When systemd is reloaded (manually, upgrades), the volume is reset, likely using alsa-restore.
|
|
#11 |
qwe.socket does not exist, but it does not matter. Probably systemctl disable reloads target including alsa-* services.
|
|
#12 |
May be the prolem is related to alsa:
/usr/lib/
alsa-restore.
alsa-state.service -> ../alsa-
How to fix this issue properly?
Could you please turn on debug mode in PID with "systemd-analyze set-log-level debug". Then please reproduce the issue and attach the logs generated from PID 1 about this. Thanks!
|
|
#14 |
Should be fixed with http://
(In reply to Zbigniew Jedrzejewski-Szmek from comment #4)
> Should be fixed with
> http://
Thanks for finally reviewing it :)
Is it going to be backported?
|
|
#16 |
That's really up to distributions. For Fedora, most likely.
(In reply to Zbigniew Jedrzejewski-Szmek from comment #6)
> That's really up to distributions. For Fedora, most likely.
I've meant the stable branches (systemd-stable).
|
|
#18 |
(In reply to Ivan Shapovalov from comment #7)
> (In reply to Zbigniew Jedrzejewski-Szmek from comment #6)
> > That's really up to distributions. For Fedora, most likely.
>
> I've meant the stable branches (systemd-stable).
Yes.
| Martin Pitt (pitti) wrote : | #1 |
This can be seen in journalctl -f when doing daemon-reload:
Mär 12 08:33:48 donald systemd[1]: Reloading.
Mär 12 08:33:48 donald systemd[1]: Unit type .busname is not supported on this system.
Mär 12 08:33:48 donald systemd[1]: Started Set Up Additional Binary Formats.
Mär 12 08:33:48 donald systemd[1]: Mounted Configuration File System.
Mär 12 08:33:48 donald systemd[1]: Started Commit a transient machine-id on disk.
Mär 12 08:33:48 donald systemd[1]: Started Various fixups to make systemd work better on Debian.
Mär 12 08:33:48 donald systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
Mär 12 08:33:48 donald systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
Mär 12 08:33:48 donald systemd[1]: Started Manage Sound Card State (restore and store).
Mär 12 08:33:48 donald systemd[1]: Starting Restore Sound Card State...
Mär 12 08:33:48 donald systemd[1]: Started Recovery mode menu.
| summary: |
- restores volume on daemon-reexec + daemon-reload runs alsa-restore.service and others |
| Changed in systemd (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → Medium |
| assignee: | nobody → Martin Pitt (pitti) |
| Changed in systemd (Debian): | |
| status: | Unknown → New |
| tags: | added: systemd-boot |
| Changed in systemd (Ubuntu): | |
| status: | Triaged → In Progress |
| importance: | Medium → High |
| Martin Pitt (pitti) wrote : | #2 |
After that happens, can you please give me the output of "systemctl status alsa-restore.
| Unit 193 (unit193) wrote : | #3 |
● alsa-restore.
Loaded: loaded (/lib/systemd/
Active: inactive (dead) since Fri 2015-03-13 05:18:58 EDT; 11s ago
Process: 20877 ExecStart=
Main PID: 20877 (code=exited, status=0/SUCCESS)
Mar 13 05:18:58 Alpha systemd[1]: Starting Restore Sound Card State...
Mar 13 05:18:58 Alpha systemd[1]: Started Restore Sound Card State.
total 20
drwxr-xr-x 2 root root 4096 Mar 12 18:27 .
drwxr-xr-x 76 root root 4096 Mar 7 21:27 ..
-rw-r--r-- 1 root root 6849 Mar 12 18:27 asound.state
-rw-r--r-- 1 root root 11 Aug 20 2014 asound.state.lock
Last bit is interesting.
| Martin Pitt (pitti) wrote : | #4 |
For the record, I don't see the behaviour from comment 1 with current systemd any more.
| Martin Pitt (pitti) wrote : | #5 |
I tried with apt-get install --reinstall systemd udev, several "systemctl daemon-reexec" and "daemon-reload", but I just don't get this bug any more. Unit193, do you?
| Changed in systemd (Ubuntu): | |
| status: | In Progress → Incomplete |
| importance: | High → Medium |
| Joe Barnett (thejoe) wrote : | #6 |
I still see the green screen problem (marked as dup of this bug). although it happens on non-systemd upgrades...
| Martin Pitt (pitti) wrote : | #7 |
@Joe: unduplicating then, following up on your original bug
| Unit 193 (unit193) wrote : | #8 |
I see this on neither of the two systems I had seen it on. Looks like a recent upload fixed it.
| Martin Pitt (pitti) wrote : | #9 |
Thanks for confirming. Tentatively closing for now. If anyone still sees this, please yell.
| Changed in systemd (Ubuntu): | |
| status: | Incomplete → Fix Released |
| Changed in systemd (Debian): | |
| status: | New → Confirmed |
| Changed in systemd: | |
| importance: | Unknown → Medium |
| status: | Unknown → Fix Released |
| Changed in systemd (Debian): | |
| status: | Confirmed → Fix Released |


Steps to reproduce:
- became root
- run alsamixer, change master volume
- in another terminal run "systemctl disable qwe.socket"
master volume changes back.
It looks like systemctl disable qwe.socket cause systemctl start alsa-restore. service
Changing sound volume is not what I expected when disabling .socket)
ArchLinux x86_64, kernel 3.18.2-2, systemd 218-1.