[Bug 487114] Review Request: gvrpcd - A program for announcing VLANs using GVRP.
bugzilla at redhat.com
bugzilla at redhat.com
Thu Mar 5 13:13:04 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
--- Comment #7 from Jasper Capel <capel at stone-it.com> 2009-03-05 08:13:02 EDT ---
(In reply to comment #6)
> > gvrpcd.x86_64: W: incoherent-subsys /etc/rc.d/init.d/gvrpcd $prog
> A false positive as explained by rpmlint -i. If you have strong feelings about
> it, you can define
> directly after the exec=/prog= definitions. I mean, it's not that you would
> change this value often, so reusing $prog during definition of lockfile is not
> much of a benefit.
True, I'll change it so rpmlint will shut up. :)
> About the defaults in the initscript, this is less than ideal. Currently, there
> are _three_ places where configuration values are defined:
> 1) the daemon's built-in defaults (time=3, eth0, /proc/...)
> 2) your initscript defaults (time=3, eth0, /proc/...)
> 3) the sysconfig file (commented out)
> Isn't that overhead? Wouldn't it be better to use the daemon's defaults and let
> /etc/sysconfig/gvrpcd contain only
> GVRPCD_OPTIONS="-i eth0"
> plus a comment on "gvrpcd -h" (or a future manual page)? In the initscript,
> you would simply source /etc/sysconfig/gvrpcd and add $GVRPCD_OPTIONS to the
> daemon's required -d arg. Much more simpler to rely on the daemon's defaults
> (also explained in -h output), which may change. You would not have multiple
> places that refer to different defaults.
Ok, makes sense to me.
It should be noted that upstream adapted my previous init-scripts to support
spawning multiple daemons (one for each interface you want the daemon to send
on). It does this, by making $INTERFACES a list. I think we'll want to support
this as well. The reason I haven't yet, is because I still have to figure out
the way in which this is acceptable in Fedora. To keep this option open, I
think we should go for setting $INTERFACES, and putting the other parameters in
> > Usage: gvrpcd [-dvh] [-f configfile] [-d iface] [-i time]
> This is wrong. Should be: ... [-i iface] [-t time]
I'll patch it and send it upstream.
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review