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

    Joined:
    Dec 7, 2001
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
Loading...

Share This Page