From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: germano.massullo@gmail.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id fb353dba for ; Fri, 1 Dec 2017 17:44:48 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 4efb3318 for ; Fri, 1 Dec 2017 17:44:48 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id g75so4997780wme.0 for ; Fri, 01 Dec 2017 09:51:05 -0800 (PST) Return-Path: Received: from [192.168.1.100] (host179-8-dynamic.56-79-r.retail.telecomitalia.it. [79.56.8.179]) by smtp.googlemail.com with ESMTPSA id x13sm5234684wre.65.2017.12.01.09.51.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Dec 2017 09:51:04 -0800 (PST) Subject: Re: Wireguard ceased to work after Fedora 26->27 upgrade From: Germano Massullo To: WireGuard mailing list References: Message-ID: <2d50500c-bebb-146d-fbfd-ab9e212101a4@gmail.com> Date: Fri, 1 Dec 2017 18:51:03 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , jdoss helped me in #wireguard IRC channel. I post the resolution, it could be useful for other Fedora users [18:28] sudo dnf remove wireguard-dkms wireguard-tools; sudo dnf install wireguard-dkms wireguard-tools [18:31] jdoss: dnf cannot remove wireguard-dkms, output below ============= Transazione in corso   Preparazione in corso                      :                                                                                                                   1/1   Esecuzione scriptlet in corso              : wireguard-dkms-1:0.0.20171127-1.fc27.noarch                                                                       1/1 errore: scriptlet %preun(wireguard-dkms-1:0.0.20171127-1.fc27.noarch) fallita, uscita con stato 3 Error in PREUN scriptlet in rpm package wireguard-dkms Error in PREUN scriptlet in rpm package wireguard-dkms wireguard-dkms-1:0.0.20171127-1.fc27.noarch doveva essere eliminato, ma non lo è stato!   Verifica in corso                          : wireguard-dkms-1:0.0.20171127-1.fc27.noarch                                                                       1/1   Non riuscito:   wireguard-dkms.noarch 1:0.0.20171127-1.fc27 Errore: Transazione non riuscita ============= [18:32] rpm -qa |grep wireguard [18:33] jdoss: wireguard-dkms-0.0.20171127-1.fc27.noarch [18:35] dkms remove -m wireguard -v 0.0.20171127 --all [18:36] jdoss: Error! There are no instances of module: wireguard       0.0.20171127 located in the DKMS tree. [18:37] That's a doozy [18:37] uh [18:37] sounds like your dkms went rogue or you removed wireguard outside of the RPM doing it's job [18:37] jdoss: no, I have never messed up with that stuff [18:38] I always used dnf and the copr repo [18:38] sudo dkms add -m wireguard -v 0.0.20171127 [18:38] jdoss: Creating symlink /var/lib/dkms/wireguard/0.0.20171127/source ->           /usr/src/wireguard-0.0.20171127          DKMS: add completed. [18:39] sudo dkms build -m wireguard -v 0.0.20171127; sudo dkms install -m wireguard -v 0.0.20171127 [18:40] the upgrade to 27 prob didn't care over well with dkms. [18:41] jdoss: output below ============= # dkms build -m wireguard -v 0.0.20171127; dkms install -m wireguard -v 0.0.20171127 Kernel preparation unnecessary for this kernel.  Skipping... Building module: cleaning build area... make -j4 KERNELRELEASE=4.13.16-300.fc27.x86_64 -C /lib/modules/4.13.16-300.fc27.x86_64/build M=/var/lib/dkms/wireguard/0.0.20171127/build....... cleaning build area... DKMS: build completed. wireguard: Running module version sanity check.  - Original module    - No original module exists within this kernel  - Installation    - Installing to /lib/modules/4.13.16-300.fc27.x86_64/extra/ Adding any weak-modules depmod...... DKMS: install completed. output below ============= [18:41] dkms status [18:41] jdoss: wireguard, 0.0.20171127, 4.13.16-300.fc27.x86_64, x86_64: installed [18:42] should be good now [18:42] I suppose that now I have to reinstall the other wireguard packages [18:42] yea reinstall wireguard-tools [18:43] jdoss: yeah, now everything works fine, thank you very much [18:43] no problem [18:44] jdoss: I am going to post the resolution to the mailing list, in case anyone else is affected by the same problem