From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1C34139694 for ; Tue, 2 May 2017 14:38:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E6EEE0D20; Tue, 2 May 2017 14:38:45 +0000 (UTC) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD1C6E0BDF for ; Tue, 2 May 2017 14:38:44 +0000 (UTC) Received: by mail-io0-x243.google.com with SMTP id h41so30618144ioi.1 for ; Tue, 02 May 2017 07:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mD3Rw4Z4j1M9Wu2twp+PJ/3mvLGDzsnBkDI5B63PeOA=; b=rM6wF+I+XFORwX9QYklzncoiZosdfoa5mwhcAWQksn26o6XiabHU8DVwrq5s1VYwLu ltE3fkDj7nHPwgpjRwFwzIcocKIaJx3rtSXJqLSLWKJXZTN8zEM3NjfG6LPIq7h327b9 tSDGWy4rPAJgRL95z6K2Pd2VCA88/wElymKGwFjfJGzVGo51fzbJ8Y3h0npW2id79UX9 U/wodUks/sInTTdqt1B/1v1oiVK8IJUnLz5vl95VPOetwddi1l0YTQQL3sGd1lTzawQN 3x4YG9lPZjv06ENxxlVizlMh3HhoBLbnMS+vOKaBGp1/pY62nxHivMtyD4EgqbUijjeV 3IGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=mD3Rw4Z4j1M9Wu2twp+PJ/3mvLGDzsnBkDI5B63PeOA=; b=qWpv39oPy8U0ZKJF0Lm9KYC/Uu/FeW/nXaLZnlw+4OUygKkwCBPnZxYJPxuOsoQHHU 9lNObKCT3UnK5crcqLyFBvG4SgTeJsQZTu23RlNvRyL5L4vU6iSBP/avPlD9kFKMo1bV k/o9TsbuCk88PipFlNoPegeTBTtY6guYLJVz/PHnR5XQK/sLOAzRWUHQgq8NKicE20Jj XiqN6F1bfyf+2N31zSHj9vbBB7udCsvakw2RS7k0OtrE8nF9QC/EpRI3nRn9F1LgTPqk +vtzhQdgv/hEgQ5vVvLbD4w0XXrHPfE6ebSVXV9p22JuzRyVJZIAR9jw1tk1YsLU7V0K 20/A== X-Gm-Message-State: AN3rC/6QzeNyGBIwqp5Ey9BvyG3OhKIEvFzwse9UUiFz0WgWWdPa1DAN 8bLdBopI2tU0V/FS X-Received: by 10.157.41.198 with SMTP id g6mr8289331otd.34.1493735923912; Tue, 02 May 2017 07:38:43 -0700 (PDT) Received: from linux1 (cpe-66-68-34-247.austin.res.rr.com. [66.68.34.247]) by smtp.gmail.com with ESMTPSA id 10sm5333491otw.55.2017.05.02.07.38.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 May 2017 07:38:43 -0700 (PDT) Sender: William Hubbs Received: (nullmailer pid 22513 invoked by uid 1000); Tue, 02 May 2017 14:38:42 -0000 Date: Tue, 2 May 2017 09:38:42 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH 1/3] tmpfiles.eclass: Support using on non-Linux systems Message-ID: <20170502143842.GA22289@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20170430190655.9946-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20170430190655.9946-1-mgorny@gentoo.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: 4fa20dc5-c3a1-4204-9bc8-209ec7ef12e3 X-Archives-Hash: 2f86b2a81be422d8acb38b31684ad36f --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 30, 2017 at 09:06:53PM +0200, Micha=C5=82 G=C3=B3rny wrote: > Fix the eclass code to remove the misguided Linux conditionals. > The whole purpose of the eclass was to avoid having to implement > fallback logic for systems not having service manager tmpfiles.d > support. Making it conditional to Linux implied that for non-Linux > systems (Prefix, FreeBSD) we would have to implement explicit fallback > to create the necessary directories. >=20 > While systemd (and therefore systemd-tmpfilesd) is indeed > Linux-specific, the opentmpfiles implementation should be pretty > portable and there is no reason to restrict it to Linux only, or to > prevent using it on non-Linux OpenRC (and non-OpenRC) systems. Opentmpfiles can run right now on non-openrc systems, but it requires a linux host; that is why the Linux conditionals are there. We currently supp= ort selinux and even more specific linux code is coming with the btrfs subvolume support. The purpose of opentmpfiles is to provide a non-systemd program that mirrors the behavior of systemd-tmpfiles so that Linux users do not have to install systemd, but there are features that definitely would not work on other hosts. Also, the tmpfiles.d standard doesn't allow tmpfiles to do things based on operating systems, and the configuration search paths (particularly /run/tmpfiles.d and the non-support of /lib/tmpfiles.d) are linux specific. William --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCWQiZ7QAKCRBuVBb0MMRl OGUQAJ9woD5eS4i3nDvUJovepBGOCmS6tQCaA+zrj/g7y9uj3hSn46Jo7Ba7U/k= =9o69 -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--