Scott wrote: >Subject: Re: [sipX-dev] sipxkeystoregen returns exit 1 > >On Wed, 2009-12-23 at 09:14 -0500, Mossman, Paul AVAYA >(CAR:9D30) wrote: >> Scott wrote: >> ... >> > > Scott, thanks. You are right. >> > > >> > > I have changed the permissions for the following: >> > > ssl-web.keystore, ssl.keystore, authorities.jks and >everything is fine. >> > >> > >> > Everyone... it may be that this happens because a developer runs >> > something as root that they really should not have. It >also may be >> > that some script we run in an automated setup is not getting the >> > permissions right. It's important that we figure this out, but >> > doing it by >> > inspection is pretty hard and uncertain. >> >> I observe the problem on another environment, which was just >re-built >> with EDE. (Mircea is probably running EDE too.) >> >> Upon exiting sipxecs-setup by electing *not* to start sipXecs, I >> observe that the ssl-web.keystore, ssl.keystore, & authorities.jks >> file are not present. >> >> Upon running "sudo INSTALL/etc/init.d/sipxecs start" I observe that >> those file are promptly created, and have root ownership. >> >> I suspect this problem is not EDE-specific, since it is >triggered from >> the startup script. Of course, EDE may be doing something >it shouldn't. >> Can someone non-EDE check with a fresh re-build? (I'll also >ask QA to >> test this problem with an ISO install.) > >file an issue on this... the startup script runs as root > >Probably the right fix is to have the script that generates >them detect that it's not running as the SIPXPBXUSER and >change the ownership after creating the files. > Assign it to me. I'll just add a check in the script on the user and
1. If its root, execute the command as SIPXPBXUSER. 2. If its SIPXPBXUSER just execute the command. 3. If neither root or SIPXPBXUSER exit with an error. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
