New logwatch module not working in cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wrote a new logwatch module for vnstat and put it in 
/etc/logwatch/scripts/services. If I run logwatch from the command line, 
it works fine. When cron runs it, the vnstat module doesn't run. The 
module is extremely simple - all it does is run the vnstat command. 
There are no errors being reported. All I get is an empty begin/end 
section for vnstat in the email from logwatch.

I know it's not selinux because I originally had problems with that and 
I fixed that with a local selinux module for vnstat. I also specifically 
have the full path to the vnstat command in the logwatch vnstat script.

Anyone have any clues on fixing this?

Gordon

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux