[osiris] Re: why would 'purge database' not be working?

Gregor Mosheh gregor at hostgis.com
Tue Mar 13 11:59:32 EDT 2007


> Gregor Mosheh wrote:
>> Hi, all. I've been running this Orisis system for a month, and have
>> noticed that old databases are not being purged.

Dave Vasil wrote:
> This sounds like a permissions issue, or possibly a behavior of SELinux.
>  Make sure the osiris user is able to remove the databases from the
> command line by 'su - <osiris user>' and then trying to manually remove
> the database.

First off, thanks you for the quick reply. I posted this around 3am my
time, and wokr up the next morning to find the answer. That was
unexpected!

I did check the permissions, and it is the case that the files are owned
by root and mode 0600. So I think my real question now is: which process
deletes the db files as part of the purge, and which process deletes the
db files when I call rm-db from the osiris command line? Are those
processes not running as root? Is there a setuid() call somewhere that's
dropping privileges?


> Also, check to see if you have 'Keep Archives' set to 'yes' for your
> host config.  Keep Archives will keep all of the databases, even if no
> changes were detected.

Nope, archive scans = no






More information about the osiris mailing list