[Bug 344252] New: VirtualBox misses commands VBoxAddIF and VBoxDeleteIF
https://bugzilla.novell.com/show_bug.cgi?id=344252 Summary: VirtualBox misses commands VBoxAddIF and VBoxDeleteIF Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joerg.von.frantzius@artnology.com QAContact: qa@suse.de Found By: --- In virtualbox-1.5.2-13.5 from BuildService, the commands VBoxAddIF and VBoxDeleteIF are missing. These are required for permanent host interfaces and bridging, as described in chapter "6.5.1.2 Bridging on openSUSE hosts". This is a requirement to be able to access the guest system via network. I haven't seen any mentioning of these commands being part of the commercial distribution only, so I assume they have been forgotten in the BuildService OSE distribution. -- 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=344252#c1 Mark Gordon <mtgordon@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtgordon@novell.com Status|NEW |NEEDINFO Info Provider| |joerg.von.frantzius@artnology.com --- Comment #1 from Mark Gordon <mtgordon@novell.com> 2007-11-27 14:21:42 MST --- http://en.opensuse.org/Virtualbox notes: "currently you can use: * home:/dirkmueller The other link: * Virtualization:/VirtualBox contains bad packages VirtualBox-kmp that are missing mandatory vboxdrv and have one more error, so if you want to remove it please use (for instance for VirtualBox-kmp-default): rpm -e --noscripts VirtualBox-kmp-default The other package VirtualBox is OK, but without kernel module it will refuse to start any virtual machine." A bit of browsing shows that the working version is virtualbox-20070822-8.5, and the broken version is virtualbox-1.5.2-13.5, the version you're using. Does Dirk's version work any better for you? -- 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=344252#c2 --- Comment #2 from Jörg von Frantzius <joerg.von.frantzius@artnology.com> 2007-11-28 04:55:00 MST --- I installed Dirk's version, but that doesn't contain the VBoxAddIF command either. -- 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=344252 Mark Gordon <mtgordon@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |dmueller@novell.com Status|NEEDINFO |NEW Info Provider|joerg.von.frantzius@artnology.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=344252#c3 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anschneider@novell.com AssignedTo|dmueller@novell.com |mkudlvasr@novell.com --- Comment #3 from Dirk Mueller <dmueller@novell.com> 2007-11-29 05:14:55 MST --- that was rather old in my home directory, I didn't do a whole lot for quite a while, so consider it broken. I know that virtualbox is currently broken with factory's kernel because the kmp does not compile. I'll reassign to the two people currently caring about it (afaik). -- 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=344252#c4 --- Comment #4 from Andreas Schneider <anschneider@novell.com> 2007-11-29 08:51:15 MST --- I've fixed compilation on factory 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.
https://bugzilla.novell.com/show_bug.cgi?id=344252 User anschneider@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=344252#c5 Andreas Schneider <anschneider@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |joerg.von.frantzius@artnology.com --- Comment #5 from Andreas Schneider <anschneider@novell.com> 2007-12-11 03:54:05 MST --- The scripts aren't really required. They just add tap devices which can be created manually too. Anyway, the scripts are packaged with the latest version in the Build Service. Please test. http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUS... -- 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=344252 User joerg.von.frantzius@artnology.com added comment https://bugzilla.novell.com/show_bug.cgi?id=344252#c6 Jörg von Frantzius <joerg.von.frantzius@artnology.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|joerg.von.frantzius@artnology.com | --- Comment #6 from Jörg von Frantzius <joerg.von.frantzius@artnology.com> 2007-12-13 06:07:58 MST --- The scripts are there now, but they don't work (for me). When I try "VBoxAddIF vbox0 jfrantzius br0" as root, I get this message: "Creating the permanent host networking interface "vbox0" for user jfrantzius. Failed to take down the old interface in order to replace it with the new one. The interface may still be in use, or you may not currently have sufficient permissions to do this. You can replace the interface manually using the VBoxTunctl command, or alternatively, the new interface will be created automatically next time you restart the host system." When I deinstall VirtualBox OSE and reinstall the distribution from virtualbox.org, the same command does work (with unchanged i.e. same configuration of br0). -- 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=344252 Jörg von Frantzius <joerg.von.frantzius@artnology.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |348365 -- 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=344252 User anschneider@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=344252#c7 Andreas Schneider <anschneider@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |joerg.von.frantzius@artnology.com --- Comment #7 from Andreas Schneider <anschneider@novell.com> 2007-12-13 06:56:30 MST --- Please try to find out what's wrong exactly, run it with 'bash -x /usr/bin/VBoxAddIF vbox0 jfrantzius br0' or add 'set -x' at the beginning of the bash script. -- 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=344252 User Bernhard.Donaubauer@Bayerwald-Online.com added comment https://bugzilla.novell.com/show_bug.cgi?id=344252#c8 Bernhard Donaubauer <Bernhard.Donaubauer@Bayerwald-Online.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Bernhard.Donaubauer@Bayerwald-Online.com Status|NEEDINFO |NEW Info Provider|joerg.von.frantzius@artnology.com | --- Comment #8 from Bernhard Donaubauer <Bernhard.Donaubauer@Bayerwald-Online.com> 2008-01-16 01:08:56 MST --- Hello! 1) VBoxAddIF needs the file /etc/vbox/interfaces if it does not exists it stops. This directory/file do not exist if Virtualbox is installed from the repository.
From VBoxAddIF 100 # Make sure that we can create files in the configuration directory 101 if [ ! -r /etc/vbox -o ! -w /etc/vbox -o ! -x /etc/vbox ] 102 then 103 echo 1>&2 "" 104 echo 1>&2 "This utility must be able to access the folder /etc/vbox/. Please" 105 echo 1>&2 "make sure that you have enough permissions to do this." 106 exit 1 107 fi 108 109 # Make sure that the configuration file is accessible and that the interface 110 # is not already registered. 111 if [ -f /etc/vbox/interfaces ] 112 then 113 # Make sure that the configuration file is read and writable 114 if [ ! -r /etc/vbox/interfaces -o ! -w /etc/vbox/interfaces ] 115 then 116 echo 1>&2 "" 117 echo 1>&2 "This utility must be able to read from and write to the file" 118 echo 1>&2 "/etc/vbox/interfaces. Please make sure that you have enough permissions to" 119 echo 1>&2 "do this." 120 exit 1 121 fi 122 fi
2) VBoxTunctl is in the directory /usr/lib/virtualbox where it can't be found by scripts like VBoxAddIF. Shouldn't it be better in /usr/bin like VBoxAddIF? 3) Init - script vboxnet has to be run in Runlevel 3 and 5. If NIS is used add ypbin to the Required-Start line. Regards, Bernhard Donaubauer -- 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=344252 User mkudlvasr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=344252#c9 Martin Kudlvasr <mkudlvasr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #9 from Martin Kudlvasr <mkudlvasr@novell.com> 2008-03-06 06:09:58 MST --- Hi Bernhard, 1) root is needed for running VBoxAddIf. The script will create /etc/vbox/interfaces if it does not exist. 2) fixed in factory 3) can you please further describe the NIS issue? -- 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=344252 User Bernhard.Donaubauer@Bayerwald-Online.com added comment https://bugzilla.novell.com/show_bug.cgi?id=344252#c10 --- Comment #10 from Bernhard Donaubauer <Bernhard.Donaubauer@Bayerwald-Online.com> 2008-03-14 01:15:58 MST --- Hello! 1) Ok this was my fault - didn't analyze enough. 2) Ok 3) My interfaces file containts this line vbox0 bdonauba br0 bdonauba is a NIS user. As far as I remember it stops here because at the time vbox0 is created the user bdonauba is not known to the system. So I added ypbin the the required line. Regards, Bernhard Donaubauer -- 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=344252 User mkudlvasr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=344252#c11 Martin Kudlvasr <mkudlvasr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Martin Kudlvasr <mkudlvasr@novell.com> 2008-10-27 14:22:02 MDT --- Usage of NIS can change (using/not using NIS). I think that packaging system should not be used to solve this issue. I added the NIS solution to the vbox documentation. -- 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=344252 User mkudlvasr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=344252#c12 --- Comment #12 from Martin Kudlvasr <mkudlvasr@novell.com> 2008-10-29 06:33:39 MDT --- Oh, I just learned about Should-Start . Really fixed this time. -- 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