Re: tomcat4 write in conf files which is not FHS compliant

2002-10-09 Thread Costin Manolache

I'm not sure about this. AFAIK on RedHat and Mandrake ( and probably
any other distro ) there are tools that are modifying config 
files ( in etc ). I don't know how the FHS can request 'read only'
status.

jk2.properties saving can be disabled. Right now the feature is not
completely implemented - we still need the java interface ( JMX proxy )
and documentation. So disabling it for now is fine.

But from all I know, the configuration is RW.

Costin

jean-frederic clere wrote:

 Henri Gomez wrote:
 Hi to all,
 
 Tomcat 4 make write access to 2 files in the conf directory,
 jk2.properties and tomcat-users.xml (and may be others).
 
 The problem is that FHS indicate that a conf directory should
 be read only.
 
 I have the same problem with /opt where I am installing Tomcat.
 
 
 For instance, tomcat4 rpm install the conf directory in /etc/tomcat4
 and use symlink to map it to /var/tomcat4/conf.
 
 What could be done to have a behaviour following FHS recommandations ?
 
 Could we imagine having jk2.properties and tomcat-users.xml (and other
 files in conf which may be updated by tomcat4) in another directory,
 ie work/conf ?
 
 I am using catalina-home and catalina-base.
 catalina-home contains the fixed data.
 catalina-base contains the instance data.
 
 I have the following (opt/SMAWoIS/jakarta-tomcat-4.1.12 is catalina-home):
 +++
 # ls -l /opt/SMAWoIS/jakarta-tomcat
 total 12
 drwxr-xr-x   2 root other512 Oct  8 11:34 bin
 drwxr-xr-x   2 nobody   other512 Oct  8 11:31 conf
 drwxr-xr-x   4 root other512 Oct  3 10:32 conf.save
 drwxr-xr-x   2 nobody   other512 Oct  8 11:31 logs
 lrwxrwxrwx   1 root other 42 Oct  8 11:31 webapps -
 /opt/SMAWoIS/jakarta-tomcat-4.1.12/webapps
 drwxr-xr-x   3 nobody   other512 Oct  3 12:04 work
 +++
 
 The user nobody needs to write in conf because of these 2 files.
 
 That is the same  for logs because the log files are not created at the
 right place in time (I am using daemon to start the Tomcat).
 
 conf.save is a save of the conf directory.
 
 
 
 Regards
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


-- 
Costin



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




tomcat4 write in conf files which is not FHS compliant

2002-10-08 Thread Henri Gomez

Hi to all,

Tomcat 4 make write access to 2 files in the conf directory,
jk2.properties and tomcat-users.xml (and may be others).

The problem is that FHS indicate that a conf directory should
be read only.

For instance, tomcat4 rpm install the conf directory in /etc/tomcat4
and use symlink to map it to /var/tomcat4/conf.

What could be done to have a behaviour following FHS recommandations ?

Could we imagine having jk2.properties and tomcat-users.xml (and other
files in conf which may be updated by tomcat4) in another directory,
ie work/conf ?

Regards


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




Re: tomcat4 write in conf files which is not FHS compliant

2002-10-08 Thread jean-frederic clere

Henri Gomez wrote:
 Hi to all,
 
 Tomcat 4 make write access to 2 files in the conf directory,
 jk2.properties and tomcat-users.xml (and may be others).
 
 The problem is that FHS indicate that a conf directory should
 be read only.

I have the same problem with /opt where I am installing Tomcat.

 
 For instance, tomcat4 rpm install the conf directory in /etc/tomcat4
 and use symlink to map it to /var/tomcat4/conf.
 
 What could be done to have a behaviour following FHS recommandations ?
 
 Could we imagine having jk2.properties and tomcat-users.xml (and other
 files in conf which may be updated by tomcat4) in another directory,
 ie work/conf ?

I am using catalina-home and catalina-base.
catalina-home contains the fixed data.
catalina-base contains the instance data.

I have the following (opt/SMAWoIS/jakarta-tomcat-4.1.12 is catalina-home):
+++
# ls -l /opt/SMAWoIS/jakarta-tomcat
total 12
drwxr-xr-x   2 root other512 Oct  8 11:34 bin
drwxr-xr-x   2 nobody   other512 Oct  8 11:31 conf
drwxr-xr-x   4 root other512 Oct  3 10:32 conf.save
drwxr-xr-x   2 nobody   other512 Oct  8 11:31 logs
lrwxrwxrwx   1 root other 42 Oct  8 11:31 webapps - 
/opt/SMAWoIS/jakarta-tomcat-4.1.12/webapps
drwxr-xr-x   3 nobody   other512 Oct  3 12:04 work
+++

The user nobody needs to write in conf because of these 2 files.

That is the same  for logs because the log files are not created at the right 
place in time (I am using daemon to start the Tomcat).

conf.save is a save of the conf directory.


 
 Regards
 
 
 -- 
 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]