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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Doug Newgard (Scimmia)
Thursday, 07 March 2019, 23:40 GMT
Reason for closing:  Not a bug
Comment by loqs (loqs) - Thursday, 07 March 2019, 21:58 GMT
 FS#16702  the 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.

Loading...