Greetings Chris, and thank you for your quick answer. I confirm that, when I resumed my hibernated Linux, your patched version of Mumble did not flood my partition. But it still smelled on the ALSA side: no sound in Mumble, trying to change the settings froze it. So I had to kill Mumble, unload the sound module and reload it.
For reference, here is the hook I now use for systemd, in /etc/systemd/system/root-suspend.service: ``` [Unit] Description=Suspend hook Before=sleep.target [Service] Type=simple ExecStart=-/usr/bin/pkill mumble [Install] WantedBy=sleep.target ``` Hook enabled with `systemctl enable root-suspend`, then `systemctl hibernate` will kill Mumble. This workaround is okay, I just need to launch it on resume. -- François Le 2015-03-07, Chris Knadle <chris.kna...@coredump.us> a écrit : > Greetings François. > > On 03/05/2015 06:27 AM, François Gannaz wrote: > > Package: mumble > > Version: 1.2.8-2 > > Severity: important > > Tags: upstream > > > > Dear Maintainer, > > > > when running Mumble with an ALSA backend, after hibernation, resuming > > the system causes Mumble to flood ~/.xsession-errors with ALSA > > warning messages. In a few minutes, several GB of text are written, > > until the partition is full. > > Yikes. Yes obviously this is an issue I want to fix. > > > The bug was notified upstream by someone else, with a proposed patch: > > https://github.com/mumble-voip/mumble/issues/1381 > > > > I marked the bug as "important" because the flooding of the home > > partition can cause important nuisances. The first time I encountered > > this bug, I lost some data in other applications that had opened files. > > This time, I lost Mumble's configuration (empty .config file). > > I think the "important" severity is correct, IMHO. (If not higher, > as it can cause data loss as you experienced.) > > From the upstream response it sounds like they plan to use a broader > fix than the currently proposed patch, so for Debian proper I'm more > likely going to wait for their chosen fix. > > For Jessie (which is what t looks like you're mainly using) any fix > will have to wait for a point release, which happens about every three > months after the release. > > That's too long to wait IMHO so I have an alternative available if > you want to try it. Besides maintaining the Mumble package in Debian > I also maintain a "fully embedded codec" version in my own personal > repository of Debian packages -- and I've included the current patch > for this problem in that package for version 1.2.8-2+0cdu0 (for Sid > and Jessie so far), if you want to try it. > > http://debian-packages.coredump.us/ > > to load the package without installing the repo, the Mumble packages > are here: > > http://debian-packages.coredump.us/debian/pool/main/m/mumble/ > > > Up to now, I was using kill hooks with pm-hibernate, but it seems that > > `systemctl hibernate` does not run them, so my ugly hack is no more a > > solution. > > If you let me know the hook you used with pm-hibernate before I'll > see if I can find a similar trick for doing it under systemd. > > -- Chris > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org