From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.msu.ru; s=dkim; h=Subject:In-Reply-To:Content-Type:MIME-Version:References:Message-ID :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=koUo0/TYijeoOOWrsFVRodp9b9Nl6ZluHmI00q45SY0=; b=olvdjKQUWshbECV4jfctQ1Xx5D sFyHQYm5vfzXAh4ewACfHMxqC/YaVSnHuAUfzMzYhxeZmCMPo7Dm6Wc9gYFWRGAyZxyUPcEinfmzd dnIO5txt0r4H5jKrnWTRe65v5aSoJ7XcGSQh1L2+qzmHfRRRyN/TdGFpCPO39QAWZctHUo6sQLhpd Bv4hrrh3M+JAq5us3Sgagx178Om3SFOgB2KROgz2HfbUY80lp0dhq2VvsGPHWAbzOHlS8sptk/xXT uU0jmyDnxAW3tjEXIGjYBXkvOib3Gcb8gtdL+9fHIsAq0q3w5f/s0St9k7ejiDbaz9Sc8ucxmcymF o+gSsZnA==; Date: Fri, 18 Sep 2020 15:24:43 +0300 From: Arseny Maslennikov To: ALT Linux Team development discussions Message-ID: <20200918122443.GB295960@cello> References: <9bca7626b593f896de4283cba2d6290ec99eb4f2.1576183643.git.legion@altlinux.org> <20200917131236.GK286846@cello> <20200918113311.GD29951@altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <20200918113311.GD29951@altlinux.org> OpenPGP: url=http://grep.cs.msu.ru/~ar/pgp-key.asc X-SA-Exim-Connect-IP: 37.204.119.143 X-SA-Exim-Mail-From: ar@cs.msu.ru X-SA-Exim-Version: 4.2.1 X-SA-Exim-Scanned: Yes (on mail.cs.msu.ru) Cc: Alex Gladkov Subject: Re: [devel] [PATCH hasher-priv v1 1/3] Makefile X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 12:24:48 -0000 Archived-At: List-Archive: List-Post: --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 18, 2020 at 02:33:12PM +0300, Dmitry V. Levin wrote: > On Thu, Sep 17, 2020 at 04:12:36PM +0300, Arseny Maslennikov wrote: > > On Fri, Dec 13, 2019 at 12:42:03PM +0100, Alex Gladkov wrote: > [...] > > > @@ -21,6 +21,7 @@ man5dir =3D $(mandir)/man5 > > > man8dir =3D $(mandir)/man8 > > > configdir =3D $(sysconfdir)/$(PROJECT) > > > helperdir =3D $(libexecdir)/$(PROJECT) > > > +socketdir =3D /var/run > >=20 > > Why /var/run and not /run, especially in a new project? >=20 > It's the same thing nowadays, isn't it? Short answer: That's why I asked the question. Long answer: Depends on what you mean by "thing". It is true that these two paths point to the same place now, but /var/run is only kept for compatibility with software that expects this path to be available, so we, the packagers, don't have to patch all of it now. The mountpoints, however, have an obvious but important difference: /var/run requires /var to be mounted first to work correctly, and /run does not =E2=80=94 so the latter path is more simple and thus preferable, a= nd the former path was a mistake. >=20 > > Even further, I would suggest that we store the socket in > > /run/hasher-priv or something, setgid hashman, with 0710 rights. The > > major service managers can create the directory on startup for us: > > there's mkdir(1), there's RuntimeDirectory=3D and RuntimeDirectoryMode= =3D. >=20 > I distinctly remember we discussed this the last autumn or winter. The discussion probably went over my head then, or was private. --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE56JD3UKTLEu/ddrm9dQjyAYL01AFAl9kpwUACgkQ9dQjyAYL 01CRKxAAiXbAd6EBXuybcSNO7enooTxBXpfR3jcah7jxtihC1ZZH4ekupAE4byj1 nitnRExylSNfTKkMAynim5BM1o2BxjKwYeKzvnvxqfOJmMMSAhit31PYHa+QD6pD 0Q2eVlRIWzwQUycaZAKUjXBY8tl14Xg9xeyGPaBJrRHg1z8QvCPfMmVCx02s7sgC u17/TDqpDWzZ8g8ZVVfChDRPnMg2Cv4WvzAHaiV0TkTkL9+1NAcUkJ0MKqAmAdM3 p7DQ8WALSNJ6z+4HwO+55FEuoU1VHvirfkfa/5QokcOlAL/KhP5Rcv3jzIooBX+r SWJRiKOcsnlA4nWC9mvqUufikAjlzLVm4Ay6n6+soPSCpbf3/bgiHWkZ2MbYbgKy XO6OPP/Aq7garDv6EPUlsvQhFsY9V4I6B1EIAMsz9aVxf/qCrOClTm8yw7abJ9O0 u6rhYIh1pzlvnDYcgb5zZqXHQAsbyTNkHPdjkjhUWoCH6BN5YtTTzOKVnqzHuzwH T7Xe4WVKHmX3VwPjBm1G5zvlT/SKWlqOe5EvJqKLd4MPsE0y36XbOBVnblEpYjjT nmv+l4IczxfmwGOMlHahHMfFAxpt/t6p+oiXMXfChIa2mAXJn6x+fI5tJuA06oCq BFiBYcDKQ8nyGFwv13i5F8O2tCwiwH0IoXeod4/R3gwDFhJmEaM= =2EVB -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--