tmp filling up with root-tmp diretories
Hi,
My /tmp directory is being filled up with root-tmp.####. I suspect they are being created by bastille-tmpdir-defense.sh, but they do not seem to get removed. Anyone know why? Thanks Randy |
Hello,
What distro are you using? Not that it's that important since logrotate exists in most (if not all) Linux distros. That being said, do you have those logs rotated with logrotate? That's a great way to automatically clean up 'old' logs. If you're only generating logs, without doing some housecleaning then it's quite normal your /tmp is filling up. Kind regards, Eric |
I am running RHEL 4 update 7
|
Hi,
And did you set up logrotate to rotate the logs of the application you think is filling up your /tmp? Kind regards, Eric |
I do not think these are logs, I think Bastille is creating a private /tmp location for any user that requires the use of /tmp. It is for my own security.
|
Hi,
I'm sorry, I'm completely on the wrong track here. That happens when trying to multitask an old brain. Sorry for that. I looked some things up in Google and found that when running: Code:
bastille -c Code:
Would you like to install TMPDIR/TMP scripts? -> I don't know nor have any experience with Bastille, so just offering ideas. Kind regards, Eric |
thanks, I think your right, I did set Would you like to install TMPDIR/TMP scripts? to YES.
But I might just try to delete /etc/profile.d/bastille-tmpdir-defense.sh, rather than reinstall Bastille. Randy |
Hi,
OK, I hope it works out. Please let us know if it does. Kind regards, Eric |
All times are GMT -5. The time now is 12:59 PM. |