FS#61942 - [openvpn] Stops working until reboot after every kernel upgrade
Attached to Project:
Arch Linux
Opened by Valentin (Valentin) - Thursday, 07 March 2019, 20:22 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 07 March 2019, 23:40 GMT
Opened by Valentin (Valentin) - Thursday, 07 March 2019, 20:22 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 07 March 2019, 23:40 GMT
|
Details
Every time my kernel is upgraded by pacman (the `linux`
package) openvpn is no longer able to connect with this
error message:
sudo openvpn my-config-file ... ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19) It works again after reboot. It should work even without reboot. I have found a forum thread on this topic as well https://bbs.archlinux.org/viewtopic.php?id=163377 . |
This task depends upon
FS#16702the updated kernel package does not supply a compatible version of the tun kernel module so it can not be loaded after the old kernel has been removed.You can avoid the issue by ensuring all required modules are loaded before kernel update or only performing kernel updates when you are able to power cycle the system.