Bug#928640: tiger: This makes the cronjob fail noisily every hour on my laptop

2019-08-16 Thread Günter Frenz
Hi,

Am Fri, 16 Aug 2019 09:46:51 -0700 kam folgendes bei mir an:

> On 2019-08-16 at 13:27:38, Günter Frenz wrote:
> > On Tue, 13 Aug 2019 23:13:38 -0700 Francois Marier
> >  wrote:  
> > >   /usr/sbin/tigercron: 127: /usr/lib/tiger/systems/default/config:
> > > expot: not found --ERROR-- [init001e] Don't have required command
> > > DIFF.  
> > 
> > on my system the proposed patch removes only the first line of the
> > hourly error-mail from cron. The script still complains about not
> > finding DIFF. /usr/bin/diff exists and is working as expected,
> > there is a second path to find it via the /bin symlink as
> > /bin/diff. I'm also running unstable on my system, just with German
> > localization.  
> 
> That second line can be fixed by adding a symlink in
> /usr/lib/tiger/systems/Linux/. See
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930340.

thanks, seems to work.

Günter

-- 
---
Günter Frenz
Börschgasse 16a, D-51143 Köln
(h) gu...@guefz.de, gu...@freenet.de
(w) f...@gso-koeln.de
---




pgpA2ZEfni8tB.pgp
Description: Digitale Signatur von OpenPGP


Bug#928640: tiger: This makes the cronjob fail noisily every hour on my laptop

2019-08-16 Thread Francois Marier
On 2019-08-16 at 13:27:38, Günter Frenz wrote:
> On Tue, 13 Aug 2019 23:13:38 -0700 Francois Marier
>  wrote:
> >   /usr/sbin/tigercron: 127: /usr/lib/tiger/systems/default/config:
> > expot: not found --ERROR-- [init001e] Don't have required command
> > DIFF.
> 
> on my system the proposed patch removes only the first line of the
> hourly error-mail from cron. The script still complains about not
> finding DIFF. /usr/bin/diff exists and is working as expected, there is
> a second path to find it via the /bin symlink as /bin/diff. I'm also
> running unstable on my system, just with German localization.

That second line can be fixed by adding a symlink in
/usr/lib/tiger/systems/Linux/. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930340.

Francois

-- 
https://fmarier.org/



Bug#928640: tiger: This makes the cronjob fail noisily every hour on my laptop

2019-08-16 Thread Javier Fernandez-Sanguino
Dear Francois,

On Wed, 14 Aug 2019 at 08:21, Francois Marier  wrote:

> Package: tiger
> Version: 1:3.2.4~rc1-1
> Followup-For: Bug #928640
>
> Every hour, I receive the following email from cron:
>
(...)

Thank you for the patch, I will try to tackle it with a new package upload
as soon as possible.

Best regards

Javier


Bug#928640: tiger: This makes the cronjob fail noisily every hour on my laptop

2019-08-16 Thread Günter Frenz
Hi,

On Tue, 13 Aug 2019 23:13:38 -0700 Francois Marier
 wrote:
> Package: tiger
> Version: 1:3.2.4~rc1-1
> Followup-For: Bug #928640
> 
> Every hour, I receive the following email from cron:
> 
>   /usr/sbin/tigercron: 127: /usr/lib/tiger/systems/default/config:
> expot: not found --ERROR-- [init001e] Don't have required command
> DIFF.
> 
> Attached is the patch I sent to the upstream developer. Note that
> there are two typos ("expot => export" and "MAILE => MAILER").

on my system the proposed patch removes only the first line of the
hourly error-mail from cron. The script still complains about not
finding DIFF. /usr/bin/diff exists and is working as expected, there is
a second path to find it via the /bin symlink as /bin/diff. I'm also
running unstable on my system, just with German localization.

The second line of error is written by /usr/lib/tiger/initdefs in the
function haveallcmds, but my knowledge of shell-scripting is not good
enough to see what is wrong.

Regards

Günter

-- 
---
Günter Frenz
Börschgasse 16a, D-51143 Köln
(h) gu...@guefz.de, gu...@freenet.de
(w) f...@gso-koeln.de
---




pgpbjln_wFDJz.pgp
Description: Digitale Signatur von OpenPGP


Bug#928640: tiger: This makes the cronjob fail noisily every hour on my laptop

2019-08-13 Thread Francois Marier
Package: tiger
Version: 1:3.2.4~rc1-1
Followup-For: Bug #928640

Every hour, I receive the following email from cron:

  /usr/sbin/tigercron: 127: /usr/lib/tiger/systems/default/config: expot: not 
found
  --ERROR-- [init001e] Don't have required command DIFF.

Attached is the patch I sent to the upstream developer. Note that there are
two typos ("expot => export" and "MAILE => MAILER").

Francois

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8), 
LANGUAGE=fr_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tiger depends on:
ii  binutils   2.32.51.20190727-1
ii  bsdmainutils   11.1.2+b1
ii  debconf [debconf-2.0]  1.5.73
ii  libc6  2.28-10
ii  net-tools  1.60+git20180626.aebd88e-1
ii  ucf3.0038+nmu1

Versions of packages tiger recommends:
ii  chkrootkit  0.52-3+b10
pn  john
ii  postfix [mail-transport-agent]  3.4.5-1
pn  tripwire | aide 

Versions of packages tiger suggests:
ii  lsof  4.91+dfsg-1+b1

-- debconf information:
* tiger/mail_rcpt: root
* tiger/policy_adapt:
>From 6ed09d5b458237c0cf43a06dec676e625c8e8059 Mon Sep 17 00:00:00 2001
From: Francois Marier 
Date: Tue, 13 Aug 2019 23:04:11 -0700
Subject: [PATCH] Fix tiger typos

This resolves the following error message:

/usr/sbin/tigercron: 127: /usr/lib/tiger/systems/default/config: expot: not found
--ERROR-- [init001e] Don't have required command DIFF.

---
 systems/default/config | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/systems/default/config b/systems/default/config
index e96a8bd..1912567 100644
--- a/systems/default/config
+++ b/systems/default/config
@@ -20,6 +20,7 @@
 # default/config - 04/15/2003 - jfs - Fixed typos and added necessary programs
 # default/config - 09/19/2003 - jfs - Added UUID and USERNAME
 # default/config - 02/10/2018 - jfs - Added MD5SUM. Export MAILER
+# default/config - 08/13/2019 - francois - Fixed typos
 #
 #-
 #
@@ -124,7 +125,7 @@ X=`$EGREP -s : /etc/passwd 2>&1 | $TAIL -1`
 export CAT LS LSGROUP LSLINK RM AWK GREP EGREP SGREP SED
 export SORT COMM TAIL MV TR JOIN GROUPSS FILECMD UNIQ BASENAME
 export CHMOD CHOWN LN PASTE ID CUT HEAD WC DIFF EXPAND LSOF
-expot  MAILE MD5SUM
+export MAILER MD5SUM
 #
 UNAME=`findcmd uname`
 HOSTNAME=`findcmd hostname`
-- 
2.23.0.rc1