Arch Linux

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#19344 - [vde2] init script

Attached to Project: Arch Linux
Opened by Gwenn Gueguen (grumlygg) - Monday, 03 May 2010, 15:11 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 11 June 2010, 05:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Two small issues in the /etc/rc.d/vde script:

1 - The line to add the network option (-n) to the slirpvde commandl line based on $SLIRP_NETWORK is wrong and can prevent slirpvde from starting.

It looks like this:
[ -n "$SLIRP_NETWORK" ] && SP_OPTIONS="$SP_OPTIONS -n"

But should be like this (as -n requires a parameter):
[ -n "$SLIRP_NETWORK" ] && SP_OPTIONS="$SP_OPTIONS -n $SLIRP_NETWORK"


2 - If $VDE_SOCK and $VDE_SOCK_GROUP are set, the $VDE_SOCK/ctl socket will be created by vde_switch and owned by group $VDE_SOCK_GROUP but the $VDE_SOCK folder will be owned by root/root so members of $VDE_SOCK_GROUP won't have access to the socket. Maybe the script should change the group of $VDE_SOCK if both $VDE_SOCK and $VDE_SOCK_GROUP are defined.

Additional info:
* package version(s): extra/vde2 2.2.2-6

Attached file vde_init.patch as a proposed fix for review.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Friday, 11 June 2010, 05:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.2.3-1

Loading...