Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 230105

Summary: net-misc/radvd - sysctl instead of sysctl -w used in init script
Product: Gentoo Linux Reporter: impulze
Component: Current packagesAssignee: Peter Johanson (RETIRED) <latexer>
Status: RESOLVED FIXED    
Severity: minor CC: wschlich
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description impulze 2008-06-29 22:21:23 UTC
see summary :p

appearently the procps version of sysctl doesn't complain if used wrong but still..

line 28 and 56:
  sysctl "${SYSCTL_FORWARD}=1" >/dev/null
should be
  sysctl -w "${SYSCTL_FORWARD}=1" >/dev/null

line 46:
  sysctl "${SYSCTL_FORWARD}=0"
should be
  sysctl -w "${SYSCTL_FORWARD}=0"

Reproducible: Always

Steps to Reproduce:
activate forwarding in /etc/conf.d/radvd and invoke /etc/init.d/radvd start on a busybox system for example

Actual Results:  
sysctl won't update the forwarding entry because it is used wrong
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-29 22:34:41 UTC
metadata.xml holds  latex_t_er@gentoo.org as alias.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-19 00:00:20 UTC
Fixed in CVS.