Would a better solution (longterm) be to have a new config file option
 "scriptsdir" which is a dir where scripts are written. If this does not
exist use TMPDIR environment variable and if that does not exist /tmp.

Also would it not be posible to generate a better error message or test
that the mount point of the specified directory is not mounted noexec ?

The system logrotate config could then specify "scriptsdir" as
/var/spool/logrotate/ (not checked the FHS but somewhere like that?) and
the package could install that empty directory so that the root logrotate
jobs would work.

The README.NEWS (or whatever the documentaiton file is called) could then
suggest that users that get the improved error message place a
"scriptsdir" directive in their logrotate.conf files.

Just some random thougts really but perhaps some of them are useful!
Alex Owen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to