Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14051 - vde2-2.2.2-2 ususable for running qemu as a user + minor mistakes in packaging

Attached to Project: Community Packages
Opened by Jan Spakula (bender02) - Wednesday, 01 April 2009, 07:37 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 02 April 2009, 11:02 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After installing without any modifications to the package, when qemu is run without root privileges (ie. as any other user), the network does not work (permission problem). Running as root, or modifying the startup script of vde which allows more loose permissions on /var/run/vde.ctl/* fixes the problem, the network in qemu works as it should.

As for mistakes in packaging:
--- the ones that try/pretend to fix the above problem:
1) chmodding of (/var/run/vde.ctl) in the the install script does nothing since that directory (/var/run/vde.ctl) is recreated on every start of the daemon and deleted on stopping the daemon.
2) chmodding to 755 in rc.d/vde is not sufficient for running qemu with network as a user. Works only as root, and if that's your intention, then no chmodding is necessary. For users, chmod to 777.
--- the other ones
3) the message in the install file points to a wrong file for iptables configuring
4) the message is unnecessarily long and it contains portions of config files (I suggest that they'd be moved to separate files, and the message would just point to them)
5) there are unnecessary 'sleep 3' in /etc/rc.d/vde script

Additional info:
* package version(s): 2.2.2-2

Steps to reproduce:
Install the package; run 'vdeq qemu <whatever>' as a user and try the network.

Proposed fix:
- Fixes are obvious. Patch that fixes all of the above is attached. Please review.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 02 April 2009, 11:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  updated to vde2-2.2.2-3.pkg.tar.gz,
thanks

Loading...