[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Pulseaudio not restarting after crash



On Tue, 2007-10-09 at 17:37 +0800, Hikaru Amano wrote:
> if the pulseaudio daemon crashed, it doesnt restart itself .. and it
> need to be manually restarted ... It would be nice to have it restarts
> after crash because normal users wont know how to restart it ..

It's not a bug that it doesn't restart. Many services don't do so.
Respawning a dying daemon is not a good idea, because in case of
exploitation of a security issues, it would effectively defeat
randomization giving the attacker more tries, etc. etc.

The real problem is the crash. Do you have a core dump? Or at least
relevant lines from the log file? Are you able to reproduce the problem?
Please do file a bug in case you do/are.

> plus .. if the folder /tmp/pulse-username exist, pulseaudio refuses to
> start and returns
> 
> E: pid.c: Daemon already running.
> E: main.c: pa_pid_file_create() failed.
> 
> but the daemon is not running so I had to delete the folder manually ..

This is the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=299131
I somehow had to delete that directory manually also, though I don't
remember the actual setting anymore. Probably it is derived from $USER
rather than from the effective id and gets created when you start the
daemon as another user or whatever. It is also a (though pretty low
severity) denial of service condition.
> 
-- 
Lubomir Kundrak (Red Hat Security Response Team)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]