On Tue, Mar 30, 2010 at 08:29:45AM -0400, Joshua Roys wrote:
> 
> The main purpose of the systemlogs directory is to contain various
> logs from systems (namely the audit.log files) and the
> audit-review.log record-keeping file.  I decided yesterday to have
> the default be /var/satellite/systemlogs irrespective of the
> 'mount_point' variable. The two reasons behind this are:
>  - the AuditManager class uses a different variable,
> web.audit.logdir, to find the systemlogs directory.
>  - when users would paste their spacewalk-setup output for help on
> spacewalk-list, I kept seeing chown errors; the directory /needs/ to
> be owned by tomcat now, and if spacewalk-setup made the directory
> but failed the chown, the audit code wouldn't be happy without
> manual intervention.
> 
> This way, it can be assumed that everything is setup as needed-
> although moving the systemlogs directory would require a bit of
> knowledge at this point.  Two things come out of this: first, I
> should probably write an spacewalk-audit-setup script, or somesuch,
> to facilitate moving the directory around and setting up various
> things.  Secondly, and more long-term, I think it would be nice to
> have the audit records optionally be in the database (I say
> optionally because of the 4G limit of XE - but hopefully the psql
> port will eventually take care of that).
> 
> What do you think?  Do you agree?  Or was it better how it was before?

The problem is: traditionally, /var/satellite as the default values of
the mount point was never maintained by the rpm database. There are
use cases where people mount the /var/satellite over NFS or share
among Satellites, etc.

By now putting the rpm-managed /var/satellite/systemlogs directory
there, I fear we might experience bad side-effects.

I'm not opposed to having the directory for systemlogs rpm-managed,
I'd just like it to be different directory than something withing the
default mount point path. Maybe /var/spacewalk or /var/rhn or
something similar?

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to