Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582208 - net-misc/openvpn should check CONFIG_TUN
Summary: net-misc/openvpn should check CONFIG_TUN
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-05 21:14 UTC by Jesús P Rey (Chuso)
Modified: 2016-05-13 21:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús P Rey (Chuso) 2016-05-05 21:14:39 UTC
net-misc/openvpn init script tries to load tun kernel module, so I think that the ebuild should check if this module was compiled by checking CONFIG_TUN value in kernel config.

# /etc/init.d/openvpn start
 * Caching service dependencies...                    [ ok ]
 * Starting openvpn ...
modprobe: FATAL: Module tun not found.
 * TUN/TAP support is not available in this kernel
 * ERROR: openvpn failed to start
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-05-07 06:23:21 UTC
Not sure why you assigned this to me, Manuel has been the maintainer for a while now.
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2016-05-13 21:46:43 UTC
commit 608825b4ea83ee825771131d8414c9877d6d93a5
Author: Manuel Rüger <mrueg@gentoo.org>
Date:   Fri May 13 23:34:31 2016 +0200

    net-misc/openvpn: Security bump to 2.3.11, Check kernel options
    
    Gentoo-Bug: #582902
    Gentoo-Bug: #582208
    
    Package-Manager: portage-2.2.28