[DSE-Dev] Bug#752337: setools: Logwatch script in wrong location, produces error when package is removed but not purged

Laurent Bigonville bigon at debian.org
Mon Dec 28 00:28:43 UTC 2015


On Sun, 22 Jun 2014 21:14:55 +0200 Willi Mann <willi at wm1.at> wrote:
 >
 > Hi,
 >
 > I think the script /etc/logwatch/scripts/services/seaudit-report-service
 > should be shipped in /usr/share/logwatch/scripts/services, unless it 
is really
 > expected to be modified by the user like a configuration file.
 >
 > Additionally, the script should exit silently if 
/usr/bin/seaudit-report does
 > not exist. This is especially bad as long as the script sits in /etc, 
since a
 > removal without purge of setools-gui will lead to an error message being
 > included in the logwatch output:
 >
 > --------------------- seaudit-report Begin ------------------------
 >
 > Date Range: yesterday
 > Detail Level: 0
 > Temp Dir: /tmp/logwatch.mTpaZLGy/
 > Debug Level: 0
 > /etc/logwatch/scripts/services/seaudit-report-service: line 14: 
/usr/bin/seaudit-report: No such file or directory
 > Failed while executing seaudit-report.\n
 >
 > ---------------------- seaudit-report End -------------------------

Shouldn't all the files in /etc/logwatch be moved to /usr/share/logwatch?

Cheers,

Laurent Bigonville



More information about the SELinux-devel mailing list