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!

/scripts/securetmp breaks logrotate

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

  1. MarlboroMan

    MarlboroMan Well-Known Member

    Joined:
    Dec 7, 2001
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    306
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice