On Wed, Oct 18, 2006 at 01:57:10PM +0200, Roland Stigge wrote:
> Hi,
> 
> Thomas Anders wrote:
> >>> /MF (I do think Debian should stop violating RFC2741)
> >> Does it? Please point me to the respective areas.
> > 
> > I think Magnus refers to the AgentX socket path. From RFC2741:

I do.

> > 8.2.1. Well-known Values
> > 
> >    The master agent creates a well-known UNIX-domain socket endpoint
> >    called "/var/agentx/master".  (It may create other, implementation-
> >    specific endpoints.)
> > 
> >    This endpoint name uses the character set encoding native to the
> >    managed node, and represents a UNIX-domain stream (SOCK_STREAM)
> >    socket.
> > 
> > Debian has changed this path to /var/run/agentx (09_agentxpath.patch)
> > which is considered a violation of RFC2741. I propose to add a symlink
> > /var/agentx/master->../run/agentx at least.
> 
> It looks like someone had to choose between breaking the
> /var/agentx/master convention and the FHS (no new subdirectories under
> /var without FHS consultation). Besides, "It may create other,
> implementation-specific endpoints" was interpreted as a possible
> alternative implementation.

I would claim that this is bad reading of standardeese but I might be wrong.
My reading would be that if any set of unix end points are opened then
/var/agentx/master should be part of it.

> This way, both "standards" could be
> satisfied. As long as all respective programs (integrated in Debian or
> configurable to use the socket location) can use the /var/agentx/master,
> this looks like an acceptable approach (as practiced similarly
> throughout Debian).

The change was introduced by debian bug #120015.

In that bug report it is stated that you can't change where the library looks
for the agentx socket. This is corrected since then.

> If this imposes any kind of serious problem, please describe, or even
> better: File a bug against the net-snmp package in Debian. Then we can
> sort it out.

It is mostly a problem since any reasonable agentx implemntation would suppose
that the well known path is a good place to look for the master socket.
Obviously that means every implementation would need to be reconfigured to
use the debian specific location.

/MF

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to