Package: smcroute
Version: 0.94-1
Severity: important

Hello:

This bug is closely related to http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=560154 which is archived, but I'd say this it's the root 
cause of that.

When I try to manually start smcroute I get:
$ smcroute -d
ERRO: open(/proc/sys/net/ipv6/conf/all/mc_forwarding); Errno(13): Permission 
denied

This error comes from mroute-api.c:277 in function enableMRouter6, excerpt:
275:
  {
    int    fd;
    char * file = "/proc/sys/net/ipv6/conf/all/mc_forwarding";
    
    fd = open( file, O_WRONLY );
    if ( fd < 0 )  
      smclog( LOG_ERR, errno, "open(%s)", file);  

    (void) write( fd, "1", 1 );
    (void) close( fd );
  }
  return 0;
287:

This function has by the way, an unrelated minor bug, when fd is actually <0 
it should return or skip execution of write and close with invalid fd.

More information:

$ ll /proc/sys/net/ipv6/conf/all/mc_forwarding
-r--r--r-- 1 root root 0 ene 12 12:49 
/proc/sys/net/ipv6/conf/all/mc_forwarding

$ cat /proc/sys/net/ipv6/conf/all/mc_forwarding
0

# echo "1" > /proc/sys/net/ipv6/conf/all/mc_forwarding
bash: /proc/sys/net/ipv6/conf/all/mc_forwarding: Permission denied

# sysctl -w net.ipv6.conf.all.mc_forwarding=0
error: permission denied on key 'net.ipv6.conf.all.mc_forwarding'

scmroute process is not running.

Taking this all into account, I'd say it's a kernel issue which I'm 
investigating. Note that multicast routing support for ipv6 is experimental, 
at least in current squeeze version (2.6.30)

I could make scmroute work again downgrading to lenny 0.93 which doesn't have 
ipv6 support.

HTH,


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (80, 'unstable'), (10, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smcroute depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries

smcroute recommends no packages.

smcroute suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to