[DSE-Dev] Bug#752337: setools: Logwatch script in wrong location,	produces error when package is removed but not purged
    Willi Mann 
    willi at wm1.at
       
    Sun Jun 22 19:14:55 UTC 2014
    
    
  
Package: setools-gui
Version: 3.3.8-3
Severity: normal
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 ------------------------- 
thanks
Willi
(with my logwatch maintainer's hat on)
-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
    
    
More information about the SELinux-devel
mailing list