After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 108197 - esd doesn't terminate on GNOME exit
esd doesn't terminate on GNOME exit
Status: RESOLVED NOTABUG
Product: gnome-control-center
Classification: Core
Component: Sound
unspecified
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-03-12 15:01 UTC by sherw
Modified: 2005-01-06 15:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description sherw 2003-03-12 15:01:53 UTC
If you exit from GNOME desktop esd is still running, holding /dev/dsp open.

This cause problems with certain sound card dsp which can be open()ed not more than one time.

Scenario:
- User foo uses GNOME than exits
- esd is still running as user foo
- User bar starts GNOME, but /dev/dsp is busy -> no sound for user bar
Comment 1 Frederic Crozat 2003-03-13 08:48:56 UTC
Well, this is not really a bug..

Reporter, what is the content of /etc/esd.conf ?
Comment 2 sherw 2003-03-13 14:51:07 UTC
Why? Esd is started by GNOME and should terminated as soon as
GNOME exits.

AFAIK, GNOME starts esd with harcoded options, see Bug 97138, btw:

$ cat /etc/esound/esd.conf 
[esd]
auto_spawn=0
spawn_options=-terminate -nobeeps -as 5
spawn_wait_ms=100
Comment 3 Frederic Crozat 2003-03-13 15:09:15 UTC
esd is not a GNOME program, it is just a daemon..

And if it is autospawned, it will terminate automatically after a
timeout..

Anyway, it is a duplicate of 97138..

*** This bug has been marked as a duplicate of 97138 ***
Comment 4 sherw 2003-03-13 16:38:37 UTC
Esd is launched by GNOME if you select "enable sound server on startup" in order to play sound for events. There is no autospawn here.

It is used by GNOME, that should terminate it. And no, this is not a duplicate of Bug 97138.

I don't think this is a bug in esd, my bug was initially filed again gnome-session (though I'm not sure who is responsable of cleaning up things on GNOME exit)
Comment 5 Frederic Crozat 2003-03-13 16:47:37 UTC
This is clearly not a esound problem at all.. I guess it is more a
gnome-settings-daemon prb..
Comment 6 cwlambert76 2003-03-21 05:48:32 UTC
the way gnome starts esd is with the -terminate switch which is
supposed to make esd terminate after all client connections are
closed. So this is only a gnome bug if gnome is failing to close all
the client connections
Comment 7 cwlambert76 2003-03-21 19:00:04 UTC
i moved this to sound cause that's what esd is, and i changed it to
high becuase if it is a bug its been here since GNOME 1.4
Comment 8 Andrew Sobala 2003-03-21 21:02:51 UTC
Marking as normal priority because it's just not important enough in
the whole scheme of things for high priority
Comment 9 Vincent Untz 2004-03-14 15:00:25 UTC
On my computer, IIRC, esd seems to stop when I log out. I can't test
right now, though.
Comment 10 Kjartan Maraas 2005-01-06 15:06:05 UTC
Closing. If the distro/GNOME starts it with -terminate it will terminate when
not used for a period of time. This is how it's supposed to be.