|
Bug#287025: asterisk -rx 'restart now' fails: msg#00165linux.debian.packages.voip.devel
On Tue, Jul 05, 2005 at 03:04:08AM +0300, Tzafrir Cohen wrote: > But is there a real reason for asterisk to re-setuid on restart? This > part could probably be skipped. On restart asterisk simply re-execs itself. So it just needs to know this was already done. The following patch "remembers" (through an environment variable) that asterisk has run setuid, and in that case won't try to do any operation that require extra priviliges. What do you think? -- Tzafrir Cohen icq#16849755 +972-50-7952406 tzafrir.cohen@xxxxxxxxxx http://www.xorcom.com
Pkg-voip-maintainers mailing list Pkg-voip-maintainers@xxxxxxxxxxxxxxxxxxxxxxx http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Bug#318742: marked as done (dependency problem): 00165, Steve Langasek |
|---|---|
| Next by Date: | Re: Bug#316800: zaptel package 1.0.9 ships headers: 00165, Jerome Warnier |
| Previous by Thread: | Bug#287025: asterisk -rx 'restart now' failsi: 00165, Tzafrir Cohen |
| Next by Thread: | Bug#255207: asterisk: sched_setscheduler() fails: 00165, Tzafrir Cohen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |