Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2011 22:13:37 +0200
From:      Przemyslaw Frasunek <przemyslaw@frasunek.com>
To:        freebsd-net@freebsd.org
Subject:   Re: mpd5/Netgraph issues after upgrading to 7.4
Message-ID:  <4D9F6C71.1040209@frasunek.com>
In-Reply-To: <4D947756.6050808@freebsd.lublin.pl>
References:  <4D947756.6050808@freebsd.lublin.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
[...]
> Mar 31 13:48:06 lsm-gw mpd: [B-150] Bundle: Interface ng149 created
> Mar 31 13:48:06 lsm-gw mpd: [B-150] can't create ppp node at ".:"->"b150":
> Operation not permitted
[...]

I'm still looking for a help in investigating this issue. The problem appears on
two 7.4 boxes, while 7.3 are working OK. Ktrace shows, that indeed some of
sendto() calls on netgraph control socket are failing with EPERM:

  1246 mpd5     CALL  sendto(0x5,0x2886e020,0x98,0,0xbf7fc9b2,0x5)
  1246 mpd5     RET   sendto -1 errno 1 Operation not permitted

but few seconds later, sendto() called on the same socket succeeds:

  1246 mpd5     CALL  sendto(0x5,0x286487c0,0x38,0,0xbf9feae2,0x6)
  1246 mpd5     GIO   fd 5 wrote 56 bytes
       0x0000 0800 0000 0000 0000 0100 0000 0000 0000  |................|
       0x0010 b2b1 c600 1e51 c643 636d 6431 0000 0000  |.....Q.Ccmd1....|
       0x0020 0000 0000 0000 0000 0000 0000 0000 0000  |................|
       0x0030 0000 0000 0000 0000                      |........|

I looked at the netgraph code and I couldn't find any place where it returns EPERM.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D9F6C71.1040209>