Ticket #179 (closed defect: fixed)
set-default-sink with wrong sink name fatal even when in .nofail section
| Reported by: | pixelpapst | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | daemon | |
| Keywords: | .nofail set-default-sink | Cc: |
Description
Hi all, my default.pa ends like this:
.nofail set-default-sink alsa_output.pci_1274_5880_alsa_playback_0
Now, after upgrade to 0.9.8, for some reason module-detect-hal loads the oss driver instead of alsa, so the sink name is different. However, the deamon aborts after ~1 sec. with:
E: main.c: daemon/main.c : Fatal error. Default sink name (alsa_output.pci_1274_5880_alsa_playback_0) does not exist in name register.
I would expect only a warning here. From the short delay and error message I assume that the name is cached and only looked up later - at which point the missing sink is fatal.
IMHO it would be better to implement some non-fatal error behaviour, since I also load module-rescue-streams for such occasions. :)
Change History
Note: See
TracTickets for help on using
tickets.
