WireGuard Archive on lore.kernel.org
 help / color / Atom feed
From: Michael <gravitygrazer@gmail.com>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: RHEL8 package install or build fail
Date: Fri, 28 Jun 2019 16:41:52 +0200
Message-ID: <CADXv92ZnXYbUYJOnA_xsr6Q4HCfSxFZaqLN0WXDLobCUjsJayg@mail.gmail.com> (raw)
In-Reply-To: <CAHmME9rNis62NiBZTyuaOjcxRtu2N9=90GaLR03_zQOPmYwFhg@mail.gmail.com>

[-- Attachment #1.1: Type: text/plain, Size: 1531 bytes --]

Hello Jason,
applying the patch for compat.h resolves - compiling works fine. However
the Netlink headers libmnl.h were missing, seems there is no standard
RHEL8-dev package for the library, had to take it from netfilter.org/Fedora.
Then OK:

[ 9386.069776] wireguard: WireGuard 0.0.20190601-7-g44070b9-dirty loaded.
See www.wireguard.com for information.

[root@paris src]# wg show
interface: wg0

-- Mike


On Fri, Jun 28, 2019 at 2:32 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:

> This commit fixes it and will be included in the next snapshot:
>
> https://git.zx2c4.com/WireGuard/commit/?id=80f006d3656ce2858675020a23879e916ea8a4fc
>
> [ec2-user@ip-172-31-24-82 ~]$ cat /etc/redhat-release
> Red Hat Enterprise Linux release 8.0 (Ootpa)
> [ec2-user@ip-172-31-24-82 ~]$ uname -a
> Linux ip-172-31-24-82.eu-west-1.compute.internal
> 4.18.0-80.4.2.el8_0.x86_64 #1 SMP Fri Jun 14 13:20:24 UTC 2019 x86_64
> x86_64 x86_64 GNU/Linux
> [ec2-user@ip-172-31-24-82 ~]$ sudo ip link add wg0 type wireguard
> [ec2-user@ip-172-31-24-82 ~]$ sudo wg
> interface: wg0
> [ec2-user@ip-172-31-24-82 ~]$ dmesg | grep wireguard
> [  693.365784] wireguard: loading out-of-tree module taints kernel.
> [  693.382433] wireguard: module verification failed: signature and/or
> required key missing - tainting kernel
> [  693.390216] wireguard: WireGuard 0.0.20190601-8-g9e71cce-dirty
> loaded. See www.wireguard.com for information.
> [  693.397561] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld
> <Jason@zx2c4.com>. All Rights Reserved.
>

[-- Attachment #1.2: Type: text/html, Size: 2394 bytes --]

<div dir="ltr"><div dir="ltr">Hello Jason,<div>applying the patch for compat.h resolves - compiling works fine. However the Netlink headers libmnl.h were missing, seems there is no standard RHEL8-dev package for the library, had to take it from <a href="http://netfilter.org/Fedora" target="_blank">netfilter.org/Fedora</a>. Then OK:<br></div><div><br></div><div>[ 9386.069776] wireguard: WireGuard 0.0.20190601-7-g44070b9-dirty loaded. See <a href="http://www.wireguard.com" target="_blank">www.wireguard.com</a> for information.<br></div><div><br></div><div>[root@paris src]# wg show<br>interface: wg0<br></div><div><br></div><div>-- Mike<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 28, 2019 at 2:32 PM Jason A. Donenfeld &lt;<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This commit fixes it and will be included in the next snapshot:<br>
<a href="https://git.zx2c4.com/WireGuard/commit/?id=80f006d3656ce2858675020a23879e916ea8a4fc" rel="noreferrer" target="_blank">https://git.zx2c4.com/WireGuard/commit/?id=80f006d3656ce2858675020a23879e916ea8a4fc</a><br>
<br>
[ec2-user@ip-172-31-24-82 ~]$ cat /etc/redhat-release<br>
Red Hat Enterprise Linux release 8.0 (Ootpa)<br>
[ec2-user@ip-172-31-24-82 ~]$ uname -a<br>
Linux ip-172-31-24-82.eu-west-1.compute.internal<br>
4.18.0-80.4.2.el8_0.x86_64 #1 SMP Fri Jun 14 13:20:24 UTC 2019 x86_64<br>
x86_64 x86_64 GNU/Linux<br>
[ec2-user@ip-172-31-24-82 ~]$ sudo ip link add wg0 type wireguard<br>
[ec2-user@ip-172-31-24-82 ~]$ sudo wg<br>
interface: wg0<br>
[ec2-user@ip-172-31-24-82 ~]$ dmesg | grep wireguard<br>
[  693.365784] wireguard: loading out-of-tree module taints kernel.<br>
[  693.382433] wireguard: module verification failed: signature and/or<br>
required key missing - tainting kernel<br>
[  693.390216] wireguard: WireGuard 0.0.20190601-8-g9e71cce-dirty<br>
loaded. See <a href="http://www.wireguard.com" rel="noreferrer" target="_blank">www.wireguard.com</a> for information.<br>
[  693.397561] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld<br>
&lt;<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>&gt;. All Rights Reserved.<br>
</blockquote></div></div>

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

  reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-26 13:18 Michael
2019-06-28 12:03 ` Jason A. Donenfeld
     [not found]   ` <CAKJniYQ-YcFrYm8hz2Q8aWaJf2jLTsa_g2VGy_UaqfEx2yBUtQ@mail.gmail.com>
2019-06-28 12:07     ` Jason A. Donenfeld
2019-06-28 12:32       ` Jason A. Donenfeld
2019-06-28 14:41         ` Michael [this message]
2019-06-28 14:52           ` Jason A. Donenfeld
2019-07-02 19:51             ` Joe Doss

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADXv92ZnXYbUYJOnA_xsr6Q4HCfSxFZaqLN0WXDLobCUjsJayg@mail.gmail.com \
    --to=gravitygrazer@gmail.com \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox