From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [ulogd2 PATCH] ulogd2: add new config option: load_all_plugins Date: Sat, 30 Sep 2017 12:12:03 +0200 Message-ID: <20170930101203.GB2078@salvia> References: <150633836700.6370.2675458398740561976.stgit@nfdev2.cica.es> <20170929113949.GA28566@salvia> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Netfilter Development Mailing list To: Arturo Borrero Gonzalez Return-path: Received: from [213.95.27.120] ([213.95.27.120]:39989 "EHLO ganesha.gnumonks.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750933AbdI3KNV (ORCPT ); Sat, 30 Sep 2017 06:13:21 -0400 Content-Disposition: inline In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Sat, Sep 30, 2017 at 11:48:11AM +0200, Arturo Borrero Gonzalez wrote: > On 30 September 2017 at 11:43, Arturo Borrero Gonzalez > wrote: > > > > Ok, but how could we avoid putting there a complex, arch-dependant path? > > i.e, in Debian this means a path like: > > /usr/lib/mips64el-linux-gnuabi64/ulogd/ulogd_filter_IFINDEX.so > > so user should use /usr/lib/mips64el-linux-gnuabi64/ which is very ugly. > If the config file is copied to a machine with a different arch, amd64 > for example, then path should be modified to: > > /usr/lib/x86_64-linux-gnu/ulogd/ > > Complex and ugly. We should avoid that. I think we should offer a > default at build/configure time. I think @pkglibdir@ in ulogd.conf.in will set this to the corresponding arch-dependent folder at configure/build time, right?