Date: Thu, 13 Feb 2020 10:07:45 +0100 From: koczan@poczta.onet.pl To: theis@gmx.at Cc: ports@FreeBSD.org Subject: FreeBSD Port: py37-fail2ban-0.11.1 issue Message-ID: <249275405-865277abf8bf1d04f4ec22e469db2c36@pmq2v.m5r2.onet>
next in thread | raw e-mail | index | archive | help
Hi there =F0=9F=98=8A =C2=A0 I have found issue with fail2ban FreeBSD port and reported it to GitHub, bu= t it was closed as external issue: /var/run/fail2ban in not created during port start - FreeBSD #2634 /var/run/fail2ban folder is necessary for fail2ban start. I am using tmpfs = (ramdisk) as /var/run which can be beneficial in my use case so after reboo= t all data inside /var/run are gone. /var/run/fail2ban is created during po= rt install - ad I know it should be recreated during script start. Just simple fix in rc script is needed: /usr/local/etc/rc.d/fail2ban is missing start_precmd=3D"install -d -m 640 /var/run/fail2ban" or something more sophisticated? Environment: =C2=B7=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Fail2Ban version (including any = possible distribution suffixes): 0.11.1 =C2=B7=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 OS, including release name/versi= on: FreeBSD 12.1 p2 =C2=B7=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0Fail2Ban installed via OS/= distribution mechanisms =C2=B7=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0You have not applied any a= dditional foreign patches to the codebase =C2=B7=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0Some customizations were d= one to the configuration (provide details below is so) The issue: fail2ban is not starting when /var/run/fail2ban folder is missing Steps to reproduce delete /var/run/fail2ban and try to start fail2ban Expected behavior /var/run/fail2ban is recreated by rc script https://github.com/fail2ban/fail2ban/issues/2634 =C2=A0 Pozdrawiam / Best regards, =C2=A0 Florian Koczan From owner-freebsd-ports@freebsd.org Thu Feb 13 13:42:27 2020 Return-Path: <owner-freebsd-ports@freebsd.org> Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 28E1625721F for <freebsd-ports@mailman.nyi.freebsd.org>; Thu, 13 Feb 2020 13:42:27 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "saper.info", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48JHkT21hDz3xlp for <freebsd-ports@freebsd.org>; Thu, 13 Feb 2020 13:42:24 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383:0:0:0:0]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id 01DDgG0q050427 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 13 Feb 2020 13:42:16 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1581601336; bh=5GQlAiQArkETF+Dh8eFM1XtFgf0sXd6mQwX25GREfnk=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=O8E3Q23OamJ36PAbZwk4re9sMBu5MuvVorxfsCUe1IwXT2ZLdIZFM3ZK84LLXaqD+ vhZ+9DFGxYfrjFHjAWuqd3D4VuzZXMVGf9UhWDsJhcCK9WRUGeZ8IxKZtf2/daexve pKt/+pTfK76luObrCgu2EAGzUozIyvWkOIWZ1iOM= Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id 01DDgFQ5050424; Thu, 13 Feb 2020 13:42:16 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Thu, 13 Feb 2020 13:42:15 +0000 From: Marcin Cieslak <saper@saper.info> To: Stefan Bethke <stb@lassitu.de> cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Debugging build with gmake, running npm toolchain In-Reply-To: <777440C7-7E56-4DEA-A2EE-2550EBDC3706@lassitu.de> Message-ID: <nycvar.OFS.7.76.44444.807.2002131335480.61731@z.fncre.vasb> References: <777440C7-7E56-4DEA-A2EE-2550EBDC3706@lassitu.de> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="1563967779-684029971-1581601336=:61731" X-Rspamd-Queue-Id: 48JHkT21hDz3xlp X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=saper.info header.s=Sep2014 header.b=O8E3Q23O; dmarc=none; spf=none (mx1.freebsd.org: domain of saper@saper.info has no SPF policy when checking 2a01:4f8:a0:7383::) smtp.mailfrom=saper@saper.info X-Spamd-Result: default: False [-7.18 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[saper.info:s=Sep2014]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ATTACHMENT(0.00)[]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[saper.info]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[saper.info:+]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.78)[ip: (-9.78), ipnet: 2a01:4f8::/29(-2.52), asn: 24940(-1.55), country: DE(-0.02)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 13 Feb 2020 13:42:27 -0000 --1563967779-684029971-1581601336=:61731 Content-Type: text/plain; charset=US-ASCII; format=flowed On Wed, 12 Feb 2020, Stefan Bethke wrote: > The second issue is that npm install is invoked, which will most likely prevent the port to be built as a package. Is there a way to handle the download of the package-lock.json dependencies in the fetch stage? I have some hack in my private node-sass port: https://github.com/saper/ports-exp/tree/master/textproc/node-sass jrm@ has solved this in the late net-im/mastodon port by simply putting all JavaScript together in one tarball: https://svnweb.freebsd.org/ports/head/net-im/mastodon/?pathrev=472547 https://ftfl.ca/blog/2017-05-23-mastodon-freebsd.html The port got removed in https://svnweb.freebsd.org/ports?view=revision&revision=474751 saper --1563967779-684029971-1581601336=:61731 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: BASE64 Content-Description: S/MIME Cryptographic Signature Content-Disposition: attachment; filename=smime.p7s MIIOSwYJKoZIhvcNAQcCoIIOPDCCDjgCAQExDzANBglghkgBZQMEAgEFADAL BgkqhkiG9w0BBwGgggqQMIIElzCCA3+gAwIBAgIOSBtqCKJEiNNcmz3JSA0w DQYJKoZIhvcNAQELBQAwTDEgMB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENB IC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2JhbFNp Z24wHhcNMTYwNjE1MDAwMDAwWhcNMjQwNjE1MDAwMDA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GtdVO5/Usug1ZKQaa7m1AONWLqo6KKho2bN+lhe4RNC7VkcG/yLS3Js+W OXWyYdrTy4WC01V0N4EbqwB68zgJza8wVxJXDuq+abG1TSttPh7OtF22g4mH BpmrBIfLKvfdHe7US7LULH8NHXJx+ZxVZx/jWK333G0YPC36ehvXnSERjoZY t7LnYJkGfCggjbvH1Dv6RZKeWV7Nx3nSpebFVUp0SR9saj/H5HrMXj/X5Of4 3LX3JerC0L4JMtmqlRD8PjruEvuutIwkcv/CQetM9dKY/2R7xRWewLQNb3b0 0nPvY517CTLZvES9e/h9hgm0Irpb8EF8rU1A1IujUwLE4CtPry+ok/c8/07l jj2ccCFh6gKcZ0M3G4sykaRM --1563967779-684029971-1581601336=:61731--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?249275405-865277abf8bf1d04f4ec22e469db2c36>