RE: chown issues in /etc/init.d/tomcat4

2002-05-06 Thread GOMEZ Henri

>Yep, I do. Just make my own directories in those locations.

ok

>I'm just making comments as I run through the install and I notice 
>issues. Currently I end up runing a config script of my own to 
>configure 

Hum custom install...

>tomcat after the rpm is installed. This is to prepare tomcat for our 
>software installation. I catch alot of this stuff in there. If 
>it seems 
>like a good idea or an issue that could be solved in the rpm/scripts 
>then I pass suggestions on to you guy's.

Yep, and it will in next rpm release of TC 4 is people agree to
use a FHS layout for TC 4.x

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: chown issues in /etc/init.d/tomcat4

2002-05-06 Thread GOMEZ Henri

>This reminds me.  The current tomcat 4 RPMs were made prior to 
>the attempt to move towards FHS-ness (I think) and have conf, 
>logs, etc. underneath /var/tomcat4.  Henri, are you planning 
>on fixing that for the tomcat 4.0.4/4.1.x RPMs?  I can offer 
>some RPM assistance if you need it (or just another set of eyes).

The tomcat 3.3 rpm is FHS compliant, and if people agree on having
TC 4 FHS compliant (via symlink in some case, no problems for me).

And thanks to check the rpm as soon it's ready


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: chown issues in /etc/init.d/tomcat4

2002-05-03 Thread Mark Diggory



GOMEZ Henri wrote:

>>I noticed a problem with /etc/init.d/tomcat4 script and 
>>CATALINA_TMPDIR...
>>
>>I've been testing out the CATALINA_TMPDIR setting in this 
>>script and it 
>>appears very bad to have this set outside of the /var/tomcat4 
>>directory 
>>because you "chown" the CATALINA_TMPDIR directory to tomcat user:group.
>>
>>For example: If I set CATALINA_TMPDIR to /tmp instead of 
>>/var/tomcat4/temp now my /tmp is chowned to tomcat4 (which 
>>really sucks).
>>
> 
> exact, and that's why I propose you to make a new directory,
> ie /var/spool/tomcat4 ;)
> 

Yes, a plus might be a comment to this effect in the 
/etc/tomcat4/conf/tomcat4.conf file to save people from discovering this 
first hand. :-)


> 
>>I issue as well applies to any other case where a directory is 
>>set which 
>>may be used by other programs/users. For example if I decided 
>>to send my 
>>logs to /var/log instead of /var/tomcat4/log and CATALINA_LOG got 
>>chowned, then my logging would be really screwed up. Luckly, I didn't 
>>chown it.
>>
> 
> Ditto, FHS recommand /var/log/tomcat4
> 
> But since you're adjusting the normal location, I'm sure you
> known what you do ;]
> 

Yep, I do. Just make my own directories in those locations.

I'm just making comments as I run through the install and I notice 
issues. Currently I end up runing a config script of my own to configure 
tomcat after the rpm is installed. This is to prepare tomcat for our 
software installation. I catch alot of this stuff in there. If it seems 
like a good idea or an issue that could be solved in the rpm/scripts 
then I pass suggestions on to you guy's.

thanks,
Mark


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: chown issues in /etc/init.d/tomcat4

2002-05-03 Thread Jason Corley


This reminds me.  The current tomcat 4 RPMs were made prior to the attempt to move 
towards FHS-ness (I think) and have conf, logs, etc. underneath /var/tomcat4.  Henri, 
are you planning on fixing that for the tomcat 4.0.4/4.1.x RPMs?  I can offer some RPM 
assistance if you need it (or just another set of eyes).
Thanks,
Jason

-Original Message-
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 5:28 PM
To: Tomcat Developers List
Subject: RE: chown issues in /etc/init.d/tomcat4



>I noticed a problem with /etc/init.d/tomcat4 script and 
>CATALINA_TMPDIR...
>
>I've been testing out the CATALINA_TMPDIR setting in this 
>script and it 
>appears very bad to have this set outside of the /var/tomcat4 
>directory 
>because you "chown" the CATALINA_TMPDIR directory to tomcat user:group.
>
>For example: If I set CATALINA_TMPDIR to /tmp instead of 
>/var/tomcat4/temp now my /tmp is chowned to tomcat4 (which 
>really sucks).

exact, and that's why I propose you to make a new directory,
ie /var/spool/tomcat4 ;)

>I issue as well applies to any other case where a directory is 
>set which 
>may be used by other programs/users. For example if I decided 
>to send my 
>logs to /var/log instead of /var/tomcat4/log and CATALINA_LOG got 
>chowned, then my logging would be really screwed up. Luckly, I didn't 
>chown it.

Ditto, FHS recommand /var/log/tomcat4

But since you're adjusting the normal location, I'm sure you
known what you do ;]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: chown issues in /etc/init.d/tomcat4

2002-05-03 Thread GOMEZ Henri


>I noticed a problem with /etc/init.d/tomcat4 script and 
>CATALINA_TMPDIR...
>
>I've been testing out the CATALINA_TMPDIR setting in this 
>script and it 
>appears very bad to have this set outside of the /var/tomcat4 
>directory 
>because you "chown" the CATALINA_TMPDIR directory to tomcat user:group.
>
>For example: If I set CATALINA_TMPDIR to /tmp instead of 
>/var/tomcat4/temp now my /tmp is chowned to tomcat4 (which 
>really sucks).

exact, and that's why I propose you to make a new directory,
ie /var/spool/tomcat4 ;)

>I issue as well applies to any other case where a directory is 
>set which 
>may be used by other programs/users. For example if I decided 
>to send my 
>logs to /var/log instead of /var/tomcat4/log and CATALINA_LOG got 
>chowned, then my logging would be really screwed up. Luckly, I didn't 
>chown it.

Ditto, FHS recommand /var/log/tomcat4

But since you're adjusting the normal location, I'm sure you
known what you do ;]

--
To unsubscribe, e-mail:   
For additional commands, e-mail: