Re: [nft PATCH] Makefile: Fix for 'make distcheck'

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

 



On Tue, Aug 26, 2025 at 09:41:27PM +0200, Pablo Neira Ayuso wrote:
> On Tue, Aug 26, 2025 at 07:06:43PM +0200, Phil Sutter wrote:
> > Make sure the files in tools/ are added to the tarball and that the
> > created nftables.service file is removed upon 'make clean'.
> > 
> > Fixes: c4b17cf830510 ("tools: add a systemd unit for static rulesets")
> > Signed-off-by: Phil Sutter <phil@xxxxxx>
> 
> Reviewed-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>

I was preparing the release, however, this fix is not enough.

When I run:

        make distcheck

 /usr/bin/mkdir -p '/lib/systemd/system'
 /usr/bin/install -c -m 644 tools/nftables.service '/lib/systemd/system'
/usr/bin/install: cannot create regular file '/lib/systemd/system/nftables.service': Permission denied

This is not regarding the _inst directory, ie. nftables-x.y.z/_inst/
that make distcheck creates as non-root.

This needs a fix.




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

  Powered by Linux