Re: [nft PATCH] datatype: rt_symbol_table_init() to search for iproute2 configs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 22, 2023 at 01:04:35PM +0100, Pablo Neira Ayuso wrote:
> Hi Phil,
> 
> On Fri, Dec 15, 2023 at 10:19:33PM +0100, Phil Sutter wrote:
> > There is an ongoing effort among various distributions to tidy up in
> > /etc. The idea is to reduce contents to just what the admin manually
> > inserted to customize the system, anything else shall move out to /usr
> > (or so). The various files in /etc/iproute2 fall in that category as
> > they are seldomly modified.
> > 
> > The crux is though that iproute2 project seems not quite sure yet where
> > the files should go. While v6.6.0 installs them into /usr/lib/iproute2,
> > current mast^Wmain branch uses /usr/share/iproute2. Assume this is going
> > to stay as /(usr/)lib does not seem right for such files.
> > 
> > Note that rt_symbol_table_init() is not just used for
> > iproute2-maintained configs but also for connlabel.conf - so retain the
> > old behaviour when passed an absolute path.
> 
> Fine with me. This defines a fallback which is backward compatible.

As an addedum, probably expose these definitions in nft describe? So
users don't have to do strace to guess this. Also display from what
file this is taken:

# nft describe rt classid
rt expression, datatype realm (routing realm) (basetype integer), 32 bits

shows nothing.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux