[Serusers] Fw: Serweb problems - 0.8.12

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Thu Nov 27 00:50:50 CET 2003


On Nov 26, 2003 at 15:03, Jim Burwell <jimb at jsbc.cc> wrote:
> Ok.  I didn't know that SER had the ability to change the GID it runs 
> under (and therefore change the group owner of the FIFO hopefully).  
> This would solve the problem.  In my case I'd just set "group=serfifo".
> 
> HOWEVER, why I try this, I get: 
> 
>    {root at fs/pts/7}~# ser -P /var/run/ser.pid -dddd -g serfifo
>    Segmentation fault

Thanks. It seems I never tried group= myself :-)

It's fixed on the cvs (rel_0_8_11, rel_0_8_12 and HEAD), so either
update or apply the attacged patch.

Andrei
-------------- next part --------------
Index: main.c
===================================================================
RCS file: /cvsroot/ser/sip_router/main.c,v
retrieving revision 1.168
diff -u -r1.168 main.c
--- main.c	2003/10/12 15:09:08	1.168
+++ main.c	2003/11/26 23:34:48
@@ -1523,7 +1523,7 @@
 		}
 	}
 	if (group){
-		gid=strtol(user, &tmp, 10);
+		gid=strtol(group, &tmp, 10);
 		if ((tmp==0) ||(*tmp)){
 			/* maybe it's a string */
 			gr_entry=getgrnam(group);


More information about the sr-users mailing list