public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] arpwatch changed syntax?
@ 2020-07-01 16:38 Caveman Al Toraboran
  2020-07-01 23:17 ` David M. Fellows
  0 siblings, 1 reply; 2+ messages in thread
From: Caveman Al Toraboran @ 2020-07-01 16:38 UTC (permalink / raw
  To: Gentoo

hi.


background:
-----------

previously, i used to run it by this:

    > arpwatch -i enp7s0 -m caveman@domain.com -s /usr/sbin/sendmail

but now, after some update, apparently this
doesn't work any more.

what seems to have changed is:

    * "-m" is replaced by "-w" or "-W".
    * "-s" doesn't specify sendmail path, but is
      rather only a flag to suppress "reports sent
      by email".

if i update the command into:

    > arpwatch -i enp7s0 -w caveman@domain.com

then, it runs normally, but, it fails to send
emails, with this error:

    > execl: sendmail: No such file or directory

`whereis sendmail`:

    > sendmail: /usr/sbin/sendmail /usr/lib/sendmail /usr/lib64/sendmail /usr/share/man/man1/sendmail.1.bz2


questions:
----------

Q1: what happened that caused this syntax change?
    e.g. is it an update from upstream?  or is it
    a totally new app written by other devs?  or
    am i hallucinating (pretty sure it used to
    work tho)?

Q2: is there any better tool to monitor arps and
    to email me when interesting things happen?

thanks a lot for your time.

rgrds,
cm.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] arpwatch changed syntax?
  2020-07-01 16:38 [gentoo-user] arpwatch changed syntax? Caveman Al Toraboran
@ 2020-07-01 23:17 ` David M. Fellows
  0 siblings, 0 replies; 2+ messages in thread
From: David M. Fellows @ 2020-07-01 23:17 UTC (permalink / raw
  To: gentoo-user, Caveman Al Toraboran

>hi.
>
>
>background: -----------
>
>previously, i used to run it by this:
>
>    > arpwatch -i enp7s0 -m caveman@domain.com -s /usr/sbin/sendmail
>
>but now, after some update, apparently this doesn't work any more.
>
>what seems to have changed is:
>
>    * "-m" is replaced by "-w" or "-W". * "-s" doesn't specify sendmail
>    path, but is rather only a flag to suppress "reports sent by email".
>
>if i update the command into:
>
>    > arpwatch -i enp7s0 -w caveman@domain.com

No answers to your questions below, but you could try

  PATH=/usr/sbin:$PATH  arpwatch -i enp7s0 -w caveman@domain.com

and see if that solves your problem.

DaveF
>
>then, it runs normally, but, it fails to send emails, with this error:
>
>    > execl: sendmail: No such file or directory
>
>`whereis sendmail`:
>
>    > sendmail: /usr/sbin/sendmail /usr/lib/sendmail /usr/lib64/sendmail
>/usr/share/man/man1/sendmail.1.bz2
>
>
>questions: ----------
>
>Q1: what happened that caused this syntax change? e.g. is it an update
>from upstream? or is it a totally new app written by other devs? or am i
>hallucinating (pretty sure it used to work tho)?
>
>Q2: is there any better tool to monitor arps and to email me when
>interesting things happen?
>
>thanks a lot for your time.
>
>rgrds, cm.
>
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-01 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-01 16:38 [gentoo-user] arpwatch changed syntax? Caveman Al Toraboran
2020-07-01 23:17 ` David M. Fellows

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox