From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2342 Path: news.gmane.org!.POSTED!not-for-mail From: Guillermo Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: nosh version 1.37 Date: Mon, 19 Feb 2018 00:12:46 -0300 Message-ID: References: <54430B41.3010301@NTLWorld.com> <76c00c13-4cc9-ed9c-f48f-81a3f050b80b@NTLWorld.com> <5e8454f7-8b8d-ae9f-5aca-3b1b5737f81a@NTLWorld.COM> <298aba59-cfda-5a51-0541-67720dd794b5@NTLWorld.COM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1519009865 28430 195.159.176.226 (19 Feb 2018 03:11:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2018 03:11:05 +0000 (UTC) To: Supervision Original-X-From: supervision-return-1933-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Feb 19 04:11:01 2018 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1enbqk-0005ud-DI for gcsg-supervision@m.gmane.org; Mon, 19 Feb 2018 04:10:42 +0100 Original-Received: (qmail 30258 invoked by uid 89); 19 Feb 2018 03:13:14 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 30251 invoked from network); 19 Feb 2018 03:13:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+JpRBRO5OkykT5gnglT9lgDI/H5eX/qt87CC2m7200c=; b=K2vlSl527M+ILCu4Xqv4j6PMRtyfABhlc8CK+u4z+ZdXtpu65CFSmTfSSpZB43WGro KoPOgY6ocFb2x9yOXptY0cAHjx0PYfZhdYSp8NLbpFJX8aj2xAg0N72F9utxCXpD3ARo 7CfqwX6Cv/j7rsJkDgjre+AVuaG35aGX5UsXgRDphZpPXOSplzRsvQSz8J1mXVHRGYMo AvWfl9RmgDpgTbttI6olHiKe/XS2H2e10OHF1MudV79a5bWN8iNSRr2FgL7ONZ0Hxgez IfY3FREz0k+tSWggbju45RPevu5afZp/eN32WnwNiJIWTUiZsj3w7a1Cw0vjNo4J7iVo Ptgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+JpRBRO5OkykT5gnglT9lgDI/H5eX/qt87CC2m7200c=; b=N0DjV+oN1fVWfMJczmutUiPfj3pe4ZxQpqCgIdXFkfB58+O7HNt/KseL90Glkdb4Sn 9nyxCOvj49bPWLgNyNbX5lI+HYoS5AdnRdPS8qQrFWv5yJTXcBuZRLtQVI70knTUvsgn wGXpg2P1iVf+rWH4ZGNMi8WksH7sc/CnyPB1h32cE6f737nq8/BXqftzpOk7D43WDbhj lI/dLTUlgHP3vQhTFK6PaSSOuntLu16WSNaGb2UG3DgGKccCE/obw36woP3vU3j9aT0B gt1xa8cUOn0wzNeRwuT07LQXIyRXzAyizac9qHOtLyMs7ZmeFGPYZJ3xKajcO/vk+iZt bcwA== X-Gm-Message-State: APf1xPDO05mE7VcqjMAx5AHlJmX64LshIZJFLJvG/6ZWgsD9qapdaxRr yBfpuwcX0kK5S6V85kv3Zvt3NeCTDXcLYNoUJcQ= X-Google-Smtp-Source: AH8x225M87HMwHuvK5xXD4uwdar7if6ESXQzu6ob6z8p9KuxfWjhf+PUB0IJ8h47yZzSTFqnIZYsbEfTGt9n8LWYNkg= X-Received: by 10.36.19.5 with SMTP id 5mr17997784itz.11.1519009966420; Sun, 18 Feb 2018 19:12:46 -0800 (PST) In-Reply-To: <298aba59-cfda-5a51-0541-67720dd794b5@NTLWorld.COM> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2342 Archived-At: 2018-02-18 20:05 GMT-03:00 Jonathan de Boyne Pollard: > > Guillermo: > >> This is going to happen for every [GNU/]Linux distribution that is not >> Debian, Arch, CentOS or RHEL. It does not... uh... look very portable :/ >> > > That is a reflection of reality. It isn't very portable. But you are > misidentifying what it is. > [...] > Guillermo: > >> Additionally, the convert/per-user/*.do scripts' 'read_os' function calls >> 'exec' via absolute path /bin/exec instead of relative path ../../exec, >> which is not going to work if nosh isn't already installed (chicken and >> egg). >> > > There's no chicken and egg problem. The external formats configuration > import requires (amongst others) the nosh-exec package. > [...] > Moreover that is not the relative path from your > $HOME/.config/service-bundles/convert/ directory to /bin. Not that there > of course *is* a stable single relative path for such a thing, given that > home directories can be anywhere from /export/home/guillermo to > /var/lib/mysql . Nor that, as mentioned, such a relative path is needed, > given that one installs the toolset before running the external > configuration import. But wait. You are talking here about run-time requirements / behaviour of the configuration import subsystem and the service bundles provided by nosh, after one installs (some equivalent of) the nosh-bundles or nosh-run-via-systemd packages for the target operating system. I accept that OS-specific patches might be required here and there to make them work for the reasons you mentioned. But the 7 .do scripts I talked about are executed (indirectly) by the package/compile script from the source package, and they just create symbolic links. To be precise, they are executed by the source/all.do script, because they are named in 'echo' commands that feed their output to the 'xargs -r redo-ifchange' invocation. As it is, on any [GNU/]Linux distribution that is not Debian, Arch, CentOS or RHEL, downloading the source package and building it slashpackage-style by executing package/compile will simply fail. There are warnings in the jdebp.eu webpage about package/stage, but my expectation was that package/compile would just work (even without a previous nosh installation), as it has for older versions, provided the required dependencies are installed (meaning redo, xmlto, ncurses, pax, etc.). I can work around this by just patching source/all.do so that it does not execute those .do scripts, or look at what they should do for Gentoo and patch them, or whatever, but I am sure quite a few people besides me are going to be surprised by package/compile failing for them. (You are right about relative path ../../exec being wrong, it should be relative to redo's working directory, i.e. ./exec) G.