<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=6038&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6038</link>
		<description><![CDATA[The most recent posts in OpenRC init script works fine on Gentoo and Artix – but not on Devuan.]]></description>
		<lastBuildDate>Thu, 26 Oct 2023 23:29:41 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45113#p45113</link>
			<description><![CDATA[<p>Question is if this is something one (Debian) could or wanted to &quot;fix&quot;, if the problem only arises because of a different implementation being used. Maybe they say &quot;We use &#039;our&#039; start-stop-daemon, we don&#039;t care about what those OpenRC guys do&quot;?!</p>]]></description>
			<author><![CDATA[dummy@example.com (l3u)]]></author>
			<pubDate>Thu, 26 Oct 2023 23:29:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45113#p45113</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44952#p44952</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>My comment was related exclusively to your asserting that Debian supports <em>all</em> packages in its repositories, installed by default or not.</p></div></blockquote></div><p>You are misinterpreting what I wrote. I attempted to clarify, there was no emphasis on &quot;all&quot; (which does not even exist in what I wrote), but should have been emphasis on &quot;by Debian&quot; - with an implied &quot;not Devuan&quot;, because Devuan only support the packages that they have created or modified - i.e. packages which do not exist in the Debian repositories, because they are only in the Devuan repositories.</p><p>To repeat: I mistakenly didn&#039;t put suitable emphasis on &quot;<em>by Debian</em>&quot;. What I apparently should have written there is:</p><div class="quotebox"><blockquote><div><p>Any package you find in the Debian Stable repositories is supported <em>by Debian</em> <ins>- where &quot;supported by Debian&quot; means it belongs in Debian&#039;s bug tracker not in Devuan&#039;s bug tracker</ins> - it doesn&#039;t matter if it is installed by default <ins>what matters is whether it was modified by Devuan or not; that is the factor which decides which bug tracker it goes in</ins>.</p></div></blockquote></div><p>How individual Debian maintainers may or not handle reports where the presence/absence of systemd affects an issue does not change this and is not relevant to the point I was making, which was about where to report issues.</p><p>-</p><p>To hopefully un-derail the thread, I&#039;ll note that I wrote what I did to reassert the point that ralph made, in response to the subsequent uncertainty of l3u:</p><div class="quotebox"><cite>l3u wrote:</cite><blockquote><div><p>I&#039;m not sure if the Debian guys would be very interested in me filing a bug about the (non-Systemd) start-stop-daemon should be the one from another Distribution that provides the init system not being used upstream …</p></div></blockquote></div><p>Bugs in a package should be reported to those who maintain that package.</p><p>Devuan users are more likely to use OpenRC, discussing OpenRC issues is on-topic here, but Devuan does not maintain the OpenRC package, so for bugs to be fixed they need to be reported to those that do maintain it.</p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Thu, 19 Oct 2023 21:49:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44952#p44952</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44951#p44951</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>boughtonp wrote:</cite><blockquote><div><p>... situation in that example is not the same as the situation here.</p></div></blockquote></div><p>Indeed ...<br />It did not cross my mind.<br />I&#039;m sorry if I explained myself incorrectly.</p><p>My comment was related exclusively to your asserting that Debian supports <em>all</em> packages in its repositories, installed by default or not.</p><p>My view of what transpired in the case I referenced is what I can understand from the maintainer&#039;s text <span class="bbu">within the context</span> of the problem exposed.</p><p>ie:<br />Worked <span class="bbu">as expected</span> with <span class="bbc">systemd</span> but <span class="bbu">did not</span> work with <span class="bbc">sysvinit</span>.<br />The main difference, exhaustively documented, being the init software used. </p><p>Was there another <em>gremlin</em> at work there?<br />We don&#039;t/won&#039;t know.</p><p>The maintainer refused to have a look on the grounds of Debian+<span class="bbc">sysvinit</span> not being a default configuration, his calification of the bug is of no import.</p><div class="quotebox"><blockquote><div><p>... sysvinit is not enabled by default in Debian ...<br />... do not consider this bug as release-critical.</p></div></blockquote></div><p>Given what the Debian devs/maintainers are doing with the init scripts lately ...<br />Can anyone be at all surprised? </p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 19 Oct 2023 20:41:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44951#p44951</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44949#p44949</link>
			<description><![CDATA[<p>The situation in that example is not the same as the situation here. Boyuan didn&#039;t request it be reported upstream because they were not interested in having the bug fixed, but only because they lacked the ability to diagnose the issue themself.</p><p>And since &quot;downgrading to normal&quot; is not &quot;closing as wontfix&quot; that example is not counter to the assertion, (even if it lacked suitable emphasis). There may well be other examples that are (such as when a package is orphaned), but the point is: software in the main Debian repository is, by its presence in that repo, supported <em>by Debian</em>.</p><p>Software which instead comes from the Devuan repos - because it has been modified by Devuan - is not supported by Debian, and should first be reported to Devuan (via <a href="https://bugs.devuan.org" rel="nofollow">bugs.devuan.org</a>) not to Debian. (If necessary, the Devuan team can refer it to the Debian maintainer of the unmodified package.)</p><p>In this example, given the issue appears to be with OpenRC, we know (by virtue of it being an independent init system) that there is no dependency on systemd, and thus it wont need a Devuan-specific package, and so the place to report it is to Debian&#039;s OpenRC maintainers, via <a href="https://bugs.debian.org/openrc" rel="nofollow">bugs.debian.org/openrc</a></p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Thu, 19 Oct 2023 19:40:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44949#p44949</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44938#p44938</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>boughtonp wrote:</cite><blockquote><div><p>Any package you find in the Debian Stable repositories is supported by Debian - it doesn&#039;t matter if it is installed by default.</p></div></blockquote></div><p>I would not be too sure about that.<br />ie: the &quot;<em>supported</em>&quot; and &quot;<em>it doesn&#039;t matter if it is installed by default</em>&quot; parts.</p><p>Some time ago there was a thread related to <span class="bbc">timeshift</span> with a <span class="bbc">LUKS</span> / <span class="bbc">btrfs</span> combination and how it worked properly in Debian and not in Devuan.</p><p>After a long exchange of ideas here at Dev1, a bug was reported to Debian by the OP.</p><p>Quite obviously, Devuan was <em>not</em> mentioned.</p><p>The bug was reported to because <span class="bbc">timeshift</span> (with the <span class="bbc">LUKS</span> / <span class="bbc">btrfs</span> combination) worked perfectly well with Debian+<span class="bbc">systemd</span> but <span class="bbu">not</span> with Debian+<span class="bbc">sysvinit</span>.</p><p>If interested, see bug <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034328" rel="nofollow">#1034328</a></p><p>The answer from Debian?</p><div class="quotebox"><cite>Boyuan Yang @bugs.debian.org wrote:</cite><blockquote><div><p>Since sysvinit is not enabled by default in Debian, I do not consider this<br />bug as release-critical. Downgrading the bug severity to &quot;normal&quot;.</p></div></blockquote></div><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 19 Oct 2023 15:39:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44938#p44938</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44936#p44936</link>
			<description><![CDATA[<p>Any package you find in the Debian Stable repositories is supported by Debian - it doesn&#039;t matter if it is installed by default.</p><p>Since OpenRC is available for Debian Stable and is not modified by Devuan, issues with it should be raised with Debian at <a href="https://bugs.debian.org/openrc" rel="nofollow">//bugs.debian.org/openrc</a></p><p><a href="https://packages.debian.org/bookworm/openrc" rel="nofollow">//packages.debian.org/bookworm/openrc</a><br /><a href="https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&amp;q=openrc=0.45.2-2" rel="nofollow">//pkginfo.devuan.org/cgi-bin/package-query.html?c=package&amp;q=openrc=0.45.2-2</a></p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Thu, 19 Oct 2023 14:04:56 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44936#p44936</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44860#p44860</link>
			<description><![CDATA[<p>This is only possibly a bug … the core problem is that Devuan (and most probably Debian) uses another start-stop-daemon implementation than Gentoo does use (it&#039;s not the OpenRC version after all). On Gentoo, there&#039;s no problem. Everything works as expected. But Devuan&#039;s (perhaps Debian&#039;s) start-stop-daemon apparently chokes on --exec if an interpreter (in this case python3) is used.</p><p>I&#039;m not sure if the Debian guys would be very interested in me filing a bug about the (non-Systemd) start-stop-daemon should be the one from another Distribution that provides the init system not being used upstream …</p>]]></description>
			<author><![CDATA[dummy@example.com (l3u)]]></author>
			<pubDate>Thu, 12 Oct 2023 22:55:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44860#p44860</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44687#p44687</link>
			<description><![CDATA[<p>It might be worth to clarify here that &quot;Devuan&quot; is not an organisation that wants you to run particular software.</p><p>Devuan&#039;s contribution to the Linux world is to provide a <span class="bbu">package repository</span> that includes all Debian packages as is, expect for those needing forking to avoid the <del>systemd</del> infestation.</p><p>If you find a bug in the openrc packages (which are not forked) you may report that to the Debian bugtracker.</p><p>Though your issue might rather be in the combination of packages you have installed and you are right to raise it here as this Devuan community may well include people who also use openrc packages.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 04 Oct 2023 23:08:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44687#p44687</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44685#p44685</link>
			<description><![CDATA[<div class="codebox"><pre><code>$ which python3
/usr/bin/python3</code></pre></div><p>The daemon does start without a problem. Nevertheless, the Devuan version of start-stop-daemon still doesn&#039;t works as expected …</p><p>At least, I found a workaround.</p><p>I&#039;m pretty sure this is due to Devuan allowing OpenRC to be installed, but not really integrating it deeply, or really relying on OpenRC. Like e. g. Artix does …</p>]]></description>
			<author><![CDATA[dummy@example.com (l3u)]]></author>
			<pubDate>Wed, 04 Oct 2023 22:09:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44685#p44685</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44683#p44683</link>
			<description><![CDATA[<p>Read the man page for <span class="bbc">env</span>.</p><div class="codebox"><pre><code>#!/usr/bin/env python3</code></pre></div><p>Will only work if python3 is in it&#039;s $PATH. Try <span class="bbc">which python3</span> to make sure it&#039;s installed on your system.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Wed, 04 Oct 2023 16:21:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44683#p44683</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44671#p44671</link>
			<description><![CDATA[<p><span class="bbc">/usr/bin/python</span> actually didn&#039;t exist, I didn&#039;t know about the <span class="bbc">python-is-python3</span> package yet; I&#039;m quite new to Devuan and also never used Debian before (you guys still handle both Python 2 and 3 after all these years?! ;-).</p><p>But that did not cause it. The shebang of my daemon starter is</p><div class="codebox"><pre><code>#!/usr/bin/env python3</code></pre></div><p>and this one exists.</p><p>Also, creating the missing &quot;python&quot; symlink also did, as expected, not fix the problem.</p><p>A (retired) Gentoo Dev on <a href="https://forums.gentoo.org/viewtopic-p-8803766.html" rel="nofollow">the Gentoo Forums</a> said:</p><div class="quotebox"><blockquote><div><p>The fundamental difference here is that Gentoo uses /sbin/start-stop-daemon from OpenRC while Devuan relies on the version in dpkg.<br />They are meant to be compatible, but something looks a bit different when processing arguments.</p><p>The biggest difference to the default stop() in /lib/rc/sh/start-stop-daemon.sh and your example is the passing of &quot;--exec ${command}&quot; in the former.<br />This is looking as it is processing the stop differently on Devuan because of this. Particularly if &quot;/proc/${pid}/exe&quot; != &quot;${command}&quot;</p><p>Workarounds include defining a stop() in your script or else adding supervisor=&quot;supervise-daemon&quot; which will use the same tool in all distros.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (l3u)]]></author>
			<pubDate>Wed, 04 Oct 2023 05:49:50 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44671#p44671</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44665#p44665</link>
			<description><![CDATA[<p>Afaict there are two packages competing about the <span class="bbc">/usr/bin/python</span> pathname, namely packages <span class="bbc">python-is-python2</span> and <span class="bbc">python-is-python3</span>.</p><p>I think the upshot for this was that python3 changed a lot in syntax as well as in data representations from python2 and at that time it was considered wrong to use the plain &quot;python&quot; in their she-bang. In support of that the python installations stopped committing to that version choice and instead offered the choice as different packages.</p><p>Apparently some desktop environment(s) might want to make that choice for us, but technically it remains a user choice in Devuan daedalus.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 03 Oct 2023 23:25:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44665#p44665</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44664#p44664</link>
			<description><![CDATA[<p>Only if your python installation is broken, or non-existent of course (see the link for <span class="bbc">/usr/bin/python</span>, etc. below):</p><div class="codebox"><pre><code>$ la /usr/bin/python*
lrwxrwxrwx 1 root root       7 Jan  8  2023 /usr/bin/python -&gt; python3
lrwxrwxrwx 1 root root      10 Apr  9 11:22 /usr/bin/python3 -&gt; python3.11
-rwxr-xr-x 1 root root 6831704 Mar 13  2023 /usr/bin/python3.11
lrwxrwxrwx 1 root root      34 Mar 13  2023 /usr/bin/python3.11-config -&gt; x86_64-linux-gnu-python3.11-config
-rwxr-xr-x 2 root root 4755312 Jul  9  2020 /usr/bin/python3.5
-rwxr-xr-x 2 root root 4755312 Jul  9  2020 /usr/bin/python3.5m
lrwxrwxrwx 1 root root      17 Apr  9 11:22 /usr/bin/python3-config -&gt; python3.11-config
$ neofetch
   ..,,;;;::;,..                   alexk@ng3 
           `&#039;:ddd;:,.              --------- 
                 `&#039;dPPd:,.         OS: Devuan GNU/Linux 5 (daedalus) x86_64 
                     `:b$$b`.      Model: 90BJ008CUK Lenovo H30-05 
                        &#039;P$$$d`    Kernel: 6.1.0-13-amd64 
                         .$$$$$`   Uptime: 1 day, 9 hours, 8 mins 
                         ;$$$$$P   Packages: 3062 (dpkg) 
                      .:P$$$$$$`   Shell: bash 5.2.15 
                  .,:b$$$$$$$;&#039;    Resolution: 1366x768 
             .,:dP$$$$$$$$b:&#039;      DE: Xfce 4.18 
      .,:;db$$$$$$$$$$Pd&#039;`         WM: Xfwm4 
 ,db$$$$$$$$$$$$$$b:&#039;`             WM Theme: Default 
:$$$$$$$$$$$$b:&#039;`                  Theme: Clearlooks-Phenix-Sapphire [GTK2] 
 `$$$$$bd:&#039;&#039;`                      Icons: oxygen [GTK2] 
   `&#039;&#039;&#039;`                           Terminal: xfce4-terminal 
                                   Terminal Font: Monospace 12 
                                   CPU: AMD A8-7410 APU with AMD Radeon R5 Graphics (4) @ 2.200GHz 
                                   GPU: AMD ATI Radeon R4/R5 Graphics 
                                   Memory: 2150MiB / 7356MiB</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Tue, 03 Oct 2023 22:31:25 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44664#p44664</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44663#p44663</link>
			<description><![CDATA[<p>It might be that the script has &quot;/usr/bin/python&quot; as interpreter, which might not exist on your Devuan system.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 03 Oct 2023 21:48:07 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44663#p44663</guid>
		</item>
		<item>
			<title><![CDATA[Re: OpenRC init script works fine on Gentoo and Artix – but not on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44661#p44661</link>
			<description><![CDATA[<p>Apparently, Devuan uses another start-stop-daemon as Gentoo does.</p><p>The code to be executed generated by OpenRC evaluates to</p><div class="codebox"><pre><code>start-stop-daemon --stop --exec /usr/bin/go-e-pvsd --pidfile /run/go-e-pvsd.pid</code></pre></div><p>and Devuan&#039;s start-stop-daemon seems to choke on the &quot;--exec&quot; argument.</p><p>So a workaround for Devuan would be to change</p><div class="codebox"><pre><code>command=&quot;/usr/bin/go-e-pvsd&quot;</code></pre></div><p>to</p><div class="codebox"><pre><code>command=&quot;/usr/bin/python3 /usr/bin/go-e-pvsd&quot;</code></pre></div><p>This makes it work. Still a bit weird …</p>]]></description>
			<author><![CDATA[dummy@example.com (l3u)]]></author>
			<pubDate>Tue, 03 Oct 2023 18:44:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44661#p44661</guid>
		</item>
	</channel>
</rss>
