[augeas-devel] Inetd and Solaris' RPC syntax

David Lutterkort lutter at redhat.com
Sat Mar 6 00:03:51 UTC 2010


>From bug #109, it appears that Solaris supports an 'RPC syntax' in
inetd.conf. Since I am neither an inetd user nor know much about
Solaris, I was wondering if anybody had any opinions on how to map such
lines to the tree.

The description from the inetd.conf from a random Solaris box says:

        RPC services syntax:
         <rpc_prog>/<vers> <endpoint-type> rpc/<proto> <flags> <user> <pathname> <args>
        
        <endpoint-type> can be either "tli" or "stream" or "dgram".
        For "stream" and "dgram" assume that the endpoint is a socket descriptor.
        <proto> can be either a nettype or a netid or a "*". The value is
        first treated as a nettype. If it is not a valid nettype then it is
        treated as a netid. The "*" is a short-hand way of saying all the
        transports supported by this system, ie. it equates to the "visible"
        nettype. The syntax for <proto> is:
            *|<nettype|netid>|<nettype|netid>{[,<nettype|netid>]}
        For example: 
          dummy/1	tli	rpc/circuit_v,udp	wait	root	/tmp/test_svc	test_svc

Does anybody have any opinion how that should be shown in the tree ? Or
maybe even a patch for inetd.aug to handle such lines ?

David
 




More information about the augeas-devel mailing list