[Bug 669055] New: Virtual Box's DHCP Server fails with Internal Network adapter setting for VMs
https://bugzilla.novell.com/show_bug.cgi?id=669055 https://bugzilla.novell.com/show_bug.cgi?id=669055#c0 Summary: Virtual Box's DHCP Server fails with Internal Network adapter setting for VMs Classification: Internal Novell Products Product: openSUSE Build Service Version: master Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: build process AssignedTo: mls@novell.com ReportedBy: cshorler@googlemail.com QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13 - Virtual Box 4.0.2 (From Factory or Build Service), this may also happen with v3 as included with openSUSE 11.3 - I haven't tested that. - VM based on openSUSE 11.3 (although I doubt that makes any difference given the nature of the problem). Reproducible: Always Steps to Reproduce: To reproduce: - Use VBoxManage to set up a DHCPServer for "intnet" (this is essential) (I used private range 10.0.0.2 - 10.0.0.254, ip of DHCP 10.0.0.1, netmask/24) - Create a VM (I used an image I have on SUSE Studio) - Ensure the VM is configured to Internal Network (intnet), not NAT - Start the VM and configure the guest OS for DHCP Actual Results: DHCPCD never acquires an IP. Cause / Solution: Look at the running processes on the host - the IPC is failing for the DHCP Server and the guest is not getting it's DHCP allocated IP. The problem is due to wrong permissions of the binary that is launched via IPC. The VBoxSVC starts VBoxNetDHCP which promptly becomes a zombie! If you browse the source code to src/VBox/NetworkServices/DHCP you'll find the cause of the problem. Because we are compiling with 'Hardened security' this binary (VBoxNetDHCP) needs to be SetUID (Similar to some of the other binarys). The reason it works when the adapter is set to NAT is because the implementation code is called directly from a binary that is SetUID in that case. I've tested setting the permissions to 4750 and it seems to work. Also, I think that /etc/permissions.easy and secure would need amending so chkconfig would work correctly if run in set mode. I haven't investigated a patch yet, but looking at the spec file it looks as if some comments can be removed to fix part of the problem and editing /etc/permissions.xxxx and running chkconfig/suseconfig should fix the rest? Note: - There are quite a lot of comments on permissions in the spec file, they don't appear to concern this file (I only looked briefly). Expected Results: Virtual Box DHCP Server works with VMs set to Internal Network. -- 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=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c1
--- Comment #1 from Christopher HORLER
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c
Christopher HORLER
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c2
--- Comment #2 from Christopher HORLER
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c3
Michal Seben
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c4
--- Comment #4 from Christopher HORLER
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c5
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c6
--- Comment #6 from Thomas Biege
Hi Michal / 'Security'!
Re security / permissions, I expected that would be the case - so I patched permissions and submitted a Request yesterday referencing this bug. Request #60178
You submitted it to Factory. Did older versions need this update too? -- 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=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c7
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c8
--- Comment #8 from Thomas Biege
(In reply to comment #4)
Hi Michal / 'Security'!
Re security / permissions, I expected that would be the case - so I patched permissions and submitted a Request yesterday referencing this bug. Request #60178
You submitted it to Factory. Did older versions need this update too?
I was too heady... audit still needed. -- 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=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c9
--- Comment #9 from Christopher HORLER
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c10
--- Comment #10 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c11
--- Comment #11 from Sebastian Krahmer
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c12
--- Comment #12 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c13
--- Comment #13 from Christopher HORLER
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c14
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c15
--- Comment #15 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c16
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c17
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c18
--- Comment #18 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c19
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=669055 https://bugzilla.novell.com/show_bug.cgi?id=669055#c Bug 669055 depends on bug 679785, which changed state. Bug 679785 Summary: virtualbox build fail http://bugzilla.novell.com/show_bug.cgi?id=679785 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Status|NEW |RESOLVED Resolution| |FIXED -- 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=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c20
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=669055
https://bugzilla.novell.com/show_bug.cgi?id=669055#c21
--- Comment #21 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com