Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/scripts/securetmp breaks logrotate

Discussion in 'General Discussion' started by MarlboroMan, Jan 9, 2005.

  1. MarlboroMan

    MarlboroMan Well-Known Member

    Dec 7, 2001
    Likes Received:
    Trophy Points:
    It seems that using /scripts/securetmp breaks logrotate's ability to run the prerotate/postrotate scripts, as logrotate writes the scripts to /tmp before executing them. Since /tmp is set to noexec after /scripts/securetmp is ran, this breaks the scripts, preventing services from being restarted after logs have rotated.

    Anyone know of any fix/workaround for this?

Share This Page