[Bug 792178] New: libvirt should load tun module
https://bugzilla.novell.com/show_bug.cgi?id=792178 https://bugzilla.novell.com/show_bug.cgi?id=792178#c0 Summary: libvirt should load tun module Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KVM AssignedTo: kvm-bugs@forge.provo.novell.com ReportedBy: seife@novell.slipkontur.de QAContact: jdouglas@suse.com Found By: Third Party Developer/Partner Blocker: --- Some time ago, the tun module was automatically loaded during boot. Today, it is no more (systemd related change?). This is the result: susi:~ # virsh net-start default error: Failed to start network default error: Unable to open /dev/net/tun, is tun module loaded?: File not found. susi:~ # cat /etc/libvirt/qemu/networks/default.xml <network> <name>default</name> <uuid>8fcacdd7-1bbd-71f6-036b-fa3e1ec28c4d</uuid> <forward mode='nat'/> <bridge name='virbr0' stp='on' delay='0' /> <mac address='52:54:00:A2:7A:0B'/> <ip address='192.168.122.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.122.2' end='192.168.122.254' /> </dhcp> </ip> </network> So I'd guess that libvirt somehow needs to make sure tun is loaded, maybe by just dropping a config file into /usr/lib/modules-load.d. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792178 https://bugzilla.novell.com/show_bug.cgi?id=792178#c Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brogers@suse.com AssignedTo|kvm-bugs@forge.provo.novell |jfehlig@suse.com |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792178 https://bugzilla.novell.com/show_bug.cgi?id=792178#c1 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |seife@novell.slipkontur.de --- Comment #1 from James Fehlig <jfehlig@suse.com> 2012-12-07 04:21:14 UTC --- (In reply to comment #0)
Some time ago, the tun module was automatically loaded during boot. Today, it is no more (systemd related change?).
I'd like to know to know the answer to that question before making any changes to libvirt. But I'm not sure who to ask. Do you have any suggestions Stefan? Anyone else know who could explain why the tun module is no longer loaded, and best practices for apps to handle that? Perhaps I just need to add something to the libvirtd systemd service file?? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792178 https://bugzilla.novell.com/show_bug.cgi?id=792178#c2 Stefan Seyfried <seife@novell.slipkontur.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |coolo@suse.com, | |fcrozat@suse.com InfoProvider|seife@novell.slipkontur.de | --- Comment #2 from Stefan Seyfried <seife@novell.slipkontur.de> 2012-12-07 08:47:59 CET --- I'm adding the usual suspects coolo and Frederic :-) Maybe it was on-demand-loaded by /dev/net/tun being always there statically and triggering module load on access? I think that today /usr/lib/modules-load.d is the way to go if we want a module to be always loaded. *if* there is a useful libvirt setup that does not need tun, then modifying libvirt to check for availability of tun and loading it on demand would be an option, but I personally think that it is overkill. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792178 https://bugzilla.novell.com/show_bug.cgi?id=792178#c3 --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2012-12-07 08:22:42 UTC --- should be fixed in latest systemd/udev (sr #144473), udev was no longer reading modules.devname properly, therefore not creating /dev/net/tun at startup. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792178 https://bugzilla.novell.com/show_bug.cgi?id=792178#c4 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from James Fehlig <jfehlig@suse.com> 2012-12-07 15:41:38 UTC --- Thanks for the info Frederic! Closing now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com