netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 11447] New: /proc/sys/net/ipv4/route/flush not found
       [not found] <bug-11447-10286@http.bugzilla.kernel.org/>
@ 2008-08-28 20:18 ` Andrew Morton
  2008-08-28 20:29   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2008-08-28 20:18 UTC (permalink / raw)
  To: francois.valenduc; +Cc: bugme-daemon, netdev, Al Viro


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Thu, 28 Aug 2008 11:06:22 -0700 (PDT)
bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=11447
> 
>            Summary: /proc/sys/net/ipv4/route/flush not found
>            Product: Networking
>            Version: 2.5
>      KernelVersion: 2.6.27-rc4-git7
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: IPV4
>         AssignedTo: shemminger@linux-foundation.org
>         ReportedBy: francois.valenduc@tvcablenet.be
> 
> 
> Latest working kernel version: 2.6.27-rc4
> Earliest failing kernel version: probably 2.6.27-rc4-git7
> Distribution: Gentoo
> Hardware Environment:
> Software Environment:
> Problem Description:
> 
> When the lo interface is initialized, the following error occurs:
> can't open /proc/sys/net/ipv4/route/flush: no such file.
> After a bisection, it appears that the following commit is the first bad
> commit:
> 
> commit 2f4520d35d89ca6c5cd129c38e3b11f0283b7d1b
> Author: Al Viro <viro@zeniv.linux.org.uk>
> Date:   Mon Aug 25 15:17:44 2008 -0700
> 
>     ipv4: sysctl fixes
> 
>     net.ipv4.neigh should be a part of skeleton to avoid ordering problems
> 
>     Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
>     Signed-off-by: David S. Miller <davem@davemloft.net>
> 
> If I revert it, the problem doesn't occur.
> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bugme-new] [Bug 11447] New: /proc/sys/net/ipv4/route/flush not found
  2008-08-28 20:18 ` [Bugme-new] [Bug 11447] New: /proc/sys/net/ipv4/route/flush not found Andrew Morton
@ 2008-08-28 20:29   ` David Miller
  2008-08-29 16:35     ` François Valenduc
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2008-08-28 20:29 UTC (permalink / raw)
  To: akpm; +Cc: francois.valenduc, bugme-daemon, netdev, viro

From: Andrew Morton <akpm@linux-foundation.org>
Date: Thu, 28 Aug 2008 13:18:24 -0700

> 
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).

Should be fixed in Linus's tree as of an hour ago, it was a
permissions issue:

commit d994af0d50efc96b2077978fe9f066992639d525
Author: Hugh Dickins <hugh@veritas.com>
Date:   Wed Aug 27 02:35:18 2008 -0700

    ipv4: mode 0555 in ipv4_skeleton
    
    vpnc on today's kernel says Cannot open "/proc/sys/net/ipv4/route/flush":
    d--------- 0 root root 0 2008-08-26 11:32 /proc/sys/net/ipv4/route
    d--------- 0 root root 0 2008-08-26 19:16 /proc/sys/net/ipv4/neigh
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Acked-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index e91bafe..6ee5354 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -3121,9 +3121,9 @@ static struct ctl_table empty[1];
 static struct ctl_table ipv4_skeleton[] =
 {
 	{ .procname = "route", .ctl_name = NET_IPV4_ROUTE,
-	  .child = ipv4_route_table},
+	  .mode = 0555, .child = ipv4_route_table},
 	{ .procname = "neigh", .ctl_name = NET_IPV4_NEIGH,
-	  .child = empty},
+	  .mode = 0555, .child = empty},
 	{ }
 };
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Bugme-new] [Bug 11447] New: /proc/sys/net/ipv4/route/flush not found
  2008-08-28 20:29   ` David Miller
@ 2008-08-29 16:35     ` François Valenduc
  0 siblings, 0 replies; 3+ messages in thread
From: François Valenduc @ 2008-08-29 16:35 UTC (permalink / raw)
  To: David Miller; +Cc: akpm, bugme-daemon, netdev, viro

David Miller a écrit :
> From: Andrew Morton <akpm@linux-foundation.org>
> Date: Thu, 28 Aug 2008 13:18:24 -0700
>
>   
>> (switched to email.  Please respond via emailed reply-to-all, not via the
>> bugzilla web interface).
>>     
>
> Should be fixed in Linus's tree as of an hour ago, it was a
> permissions issue:
>
> commit d994af0d50efc96b2077978fe9f066992639d525
> Author: Hugh Dickins <hugh@veritas.com>
> Date:   Wed Aug 27 02:35:18 2008 -0700
>
>     ipv4: mode 0555 in ipv4_skeleton
>     
>     vpnc on today's kernel says Cannot open "/proc/sys/net/ipv4/route/flush":
>     d--------- 0 root root 0 2008-08-26 11:32 /proc/sys/net/ipv4/route
>     d--------- 0 root root 0 2008-08-26 19:16 /proc/sys/net/ipv4/neigh
>     
>     Signed-off-by: Hugh Dickins <hugh@veritas.com>
>     Acked-by: Al Viro <viro@zeniv.linux.org.uk>
>     Signed-off-by: David S. Miller <davem@davemloft.net>
>
> diff --git a/net/ipv4/route.c b/net/ipv4/route.c
> index e91bafe..6ee5354 100644
> --- a/net/ipv4/route.c
> +++ b/net/ipv4/route.c
> @@ -3121,9 +3121,9 @@ static struct ctl_table empty[1];
>  static struct ctl_table ipv4_skeleton[] =
>  {
>  	{ .procname = "route", .ctl_name = NET_IPV4_ROUTE,
> -	  .child = ipv4_route_table},
> +	  .mode = 0555, .child = ipv4_route_table},
>  	{ .procname = "neigh", .ctl_name = NET_IPV4_NEIGH,
> -	  .child = empty},
> +	  .mode = 0555, .child = empty},
>  	{ }
>  };
>  
>
>
>   
This commit indeed solves the problem.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-29 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-11447-10286@http.bugzilla.kernel.org/>
2008-08-28 20:18 ` [Bugme-new] [Bug 11447] New: /proc/sys/net/ipv4/route/flush not found Andrew Morton
2008-08-28 20:29   ` David Miller
2008-08-29 16:35     ` François Valenduc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).