Bug 55387

Summary: Reloading a "load-once" module doesn't work
Product: PulseAudio Reporter: Tanu Kaskinen <tanuk>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED INVALID QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tanu Kaskinen 2012-09-27 12:43:39 UTC
I tried this:

pactl load-module module-match
pactl unload-module module-match
pactl load-module module-match

The last command fails with this error in the pulseaudio log:

E: [pulseaudio] module.c: Module "module-match" should be loaded once at most. Refusing to load.
Comment 1 Tanu Kaskinen 2012-09-27 12:45:49 UTC
Oops, the issue seems to be that "pactl unload-module <module name>" is badly broken: it unloaded module-device-restore instead of module-match.
Comment 2 Tanu Kaskinen 2012-09-27 12:58:33 UTC
I can't reproduce this once I installed the latest development version. I didn't try reproducing with whatever I had installed previously either, which was 2.1 with a few patches. I guess I could investigate if this is reproducible with the 2.1+patches version, but I don't want to. Resolving as INVALID.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.