Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8584

AW: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for log checking, log analysis

Path csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Fiedler Roman <Roman.Fiedler@ait.ac.at>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject AW: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for log checking, log analysis
Date Thu, 09 Jun 2016 16:10:02 +0200
Message-ID <rI8OK-7qM-9@gated-at.bofh.it> (permalink)
References <rI7zj-6pj-3@gated-at.bofh.it> <rI7IZ-6uB-11@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jun 9 14:08:20 2016
Old-Return-Path <Roman.Fiedler@ait.ac.at>
X-Amavis-Spam-Status No, score=1.394 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, MDO_CABLE_TV4=0.5, MURPHY_DRUGS_REL8=0.02, NEXTPART=2.5, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426, THREADTOPIC=2, XMSATT=2] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -6.1
Thread-Topic Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for log checking, log analysis
Thread-Index AdHCTRbRJ01IIsjOSQyhlNgZ/Ro9Bf//4TwA///SrrA=
Accept-Language en-US, de-AT
Content-Language de-DE
X-Ms-Has-Attach yes
X-Originating-IP [172.30.249.121]
Content-Type multipart/signed; micalg=SHA1; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_00F4_01D1C269.10EF7C20"
MIME-Version 1.0
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:,, definitions=2016-06-09_05:,, signatures=0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13915
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/2ECE9D9EEF1F524185270138AE23265954F8E269@S0MSMAIL112.arc.local
Approved robomod@news.nic.it
Lines 172
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 9 Jun 2016 14:07:48 +0000
X-Original-Message-ID <2ECE9D9EEF1F524185270138AE23265954F8E269@S0MSMAIL112.arc.local>
X-Original-References <2ECE9D9EEF1F524185270138AE23265954F8E084@S0MSMAIL112.arc.local> <20160609125726.GV23182@sar0.p1otr.com>
Xref csiph.com linux.debian.maint.python:8584 linux.debian.bugs.dist:744822

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

> Von: Piotr Ożarowski [mailto:piotr@debian.org]
> 
> [Fiedler Roman, 2016-06-09]
> > > is AMiner and AMinerRemoteControl symlinked in /usr/bin/?
> > > (you can use debian/logdata-anomaly-miner.links to do that)
> >
> > Currently they are not symlinked. I took the same approach as with
> > e.g. /usr/lib/apt/methods/http or /usr/lib/eject/dmcrypt-get-device
> > where those binaries are usually not intended to be called by user
> > directly. Meanwhile this has changed, e.g. AMinerRemoteControl is more
> > or less now OK for cmd-line use. So I would add the symlinks. Or would
> > moving of the files be more Debianic?
> 
> dh_python2 doesn't add interpreter to Depends for scripts that are not
> in $PATH. That's why lintian complains. You can:
> * symlink them in /usr/bin/ (or any other appropriate path)

I did that, modification:

$ cat debian/logdata-anomaly-miner.links 
/usr/lib/logdata-anomaly-miner/AMiner /usr/bin/AMiner
/usr/lib/logdata-anomaly-miner/AMinerRemoteControl /usr/bin/AMinerRemoteControl

> * drop executable bit from these scripts, if they're not meant to be
>   execute....  (IIRC lintian ignores shebangs in non-executable files)

not an option

> * or if they're meant to be executed, but you don't want them to be
>   available out of the box, add "python" to Suggests or Recommends

There are some usecases for users to call them, so let's have them available also.

Still lintian will complain about this file, current header:

#!/usr/bin/python2 -BEsSt

But as patching that to 2.7 will make the warnings go away, from my point of view, that workaround is sufficient for me.

New package is uploaded.

Are there any other open points I shall address?

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Fiedler Roman <Roman.Fiedler@ait.ac.at> - 2016-06-09 14:50 +0200
  Re: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Piotr Ożarowski <piotr@debian.org> - 2016-06-09 15:00 +0200
    AW: Bug#813096: ITP: logdata-anomaly-miner -- lightweight tool for  log checking, log analysis Fiedler Roman <Roman.Fiedler@ait.ac.at> - 2016-06-09 16:10 +0200

csiph-web