<?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=3668&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / php7.4-fpm has a dependency on systemd]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=3668</link>
		<description><![CDATA[The most recent posts in php7.4-fpm has a dependency on systemd.]]></description>
		<lastBuildDate>Sun, 12 Jul 2020 15:02:44 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: php7.4-fpm has a dependency on systemd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=23387#p23387</link>
			<description><![CDATA[<div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>Pulling in over a million lines of code to create a single directory. <img src="http://dev1galaxy.org/img/smilies/roll.png" width="15" height="15" alt="roll" /><br />Do we need a better example of the install-bloat and complexity-creep problems systemd creates?</p></div></blockquote></div><p><em>There&#039;s none so blind as those who will not see.</em></p>]]></description>
			<author><![CDATA[dummy@example.com (szutt)]]></author>
			<pubDate>Sun, 12 Jul 2020 15:02:44 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=23387#p23387</guid>
		</item>
		<item>
			<title><![CDATA[Re: php7.4-fpm has a dependency on systemd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=23364#p23364</link>
			<description><![CDATA[<div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.</p></div></blockquote></div><p>Repeated for truth.&#160; Best signature ever!</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Fri, 10 Jul 2020 18:58:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=23364#p23364</guid>
		</item>
		<item>
			<title><![CDATA[Re: php7.4-fpm has a dependency on systemd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=23363#p23363</link>
			<description><![CDATA[<div class="quotebox"><cite>rwc265 wrote:</cite><blockquote><div><p>It seems like the only thing holding it up is because they think that using a systemd tool to manage what looks like <em>one</em> temp file is a good idea.</p></div></blockquote></div><p>Pulling in over a million lines of code to create a single directory. <img src="http://dev1galaxy.org/img/smilies/roll.png" width="15" height="15" alt="roll" /><br />Do we need a better example of the install-bloat and complexity-creep problems systemd creates?</p><div class="quotebox"><cite>rwc265 wrote:</cite><blockquote><div><p>I heard about something called opentmpfiles that might be able to manage this. All that would be needed then is a dummy systemd-tmpfiles packages to allow the Debian package to be installed, <em>if</em> it&#039;s truly a drop-in replacement.</p></div></blockquote></div><p>As a stopgap until this is patched out in the devuan repos, you can whip up such a package with equivs and a symlink. Or just use the POC helpfully provided <a href="https://github.com/oerdnj/deb.sury.org/issues/1354#issuecomment-597537555" rel="nofollow">here</a>.<br />It&#039;s quicker than patching and rebuilding php-fpm locally anyway <img src="http://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Opentmpfiles <em>should</em> be a drop-in, so long as systemd and the freedesktop crowd actually adhere to their own standards...</p><p>From his response to the various bug reports on this, and his and flat refusal to consider such a trivial change even when provided a patch, I guess Ondřej Surý is going on my personal &quot;do not bother contacting, has irreconcilable attitude problems&quot; list. <br />So long and thanks for all the fish, deb.sury.org. It was convenient while it lasted.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Fri, 10 Jul 2020 18:19:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=23363#p23363</guid>
		</item>
		<item>
			<title><![CDATA[Re: php7.4-fpm has a dependency on systemd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=23357#p23357</link>
			<description><![CDATA[<p>Yup, it seems like this has been an issue for a while. Fortunately both the patch I linked and just using the old init script from 7.3 works. It seems like the only thing holding it up is because they think that using a systemd tool to manage what looks like <em>one</em> temp file is a good idea.</p><p><a href="https://pkgs.tdrnetworks.com/apt/devuan/" rel="nofollow">https://pkgs.tdrnetworks.com/apt/devuan/</a> was linked in that thread, and I added that to my sources.list file. I upgraded using that repo, and PHP-FPM is still working according to rc-service and the PHP test page. I also ran apt download on the package, and judging by the file in /etc/init.d, they used the method I first used: pull the old init script from 7.3 and maintain it for 7.4. According to tdrnetworks on the thread, they said they would upkeep that repo.</p><p>It&#039;s just nice to not have to do it myself each time I upgrade.</p><p>Aside from systemd-tmpfiles, I heard about something called opentmpfiles that might be able to manage this. All that would be needed then is a dummy systemd-tmpfiles packages to allow the Debian package to be installed, <em>if</em> it&#039;s truly a drop-in replacement.</p><p><strong>EDIT:</strong> It&#039;s worth noting that I mixed tdrnetwork&#039;s Beowulf Repo with my Ceres install and it didn&#039;t seem to conflict. YMMV.</p>]]></description>
			<author><![CDATA[dummy@example.com (rwc265)]]></author>
			<pubDate>Fri, 10 Jul 2020 02:40:02 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=23357#p23357</guid>
		</item>
		<item>
			<title><![CDATA[Re: php7.4-fpm has a dependency on systemd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=23349#p23349</link>
			<description><![CDATA[<p>Hello ! Maybe that thread can interest you : <a href="https://dev1galaxy.org/viewtopic.php?id=3331" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=3331</a></p>]]></description>
			<author><![CDATA[dummy@example.com (szutt)]]></author>
			<pubDate>Thu, 09 Jul 2020 06:51:12 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=23349#p23349</guid>
		</item>
		<item>
			<title><![CDATA[php7.4-fpm has a dependency on systemd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=23343#p23343</link>
			<description><![CDATA[<p>Hello</p><p>I&#039;m a new Devuan user, and I&#039;m looking to move my main system to a Devuan Ceres installation. I need Devuan Ceres because I game on Linux and want the latest versions of Mesa available. I think it&#039;s also worth saying that even though Ceres/sid is supposedly &quot;unstable&quot;, I haven&#039;t seen it at all so far. I set up a Virtualbox machine to sort of &quot;simulate&quot; what steps I have to take and to make any blunders before I work on my real hardware.</p><p>Disclaimer: I have very little idea how deb packages work</p><p>I was setting up my LAMP stack and was in the middle of configuring Apache for use with PHP, when I noticed that Synaptic had marked &quot;libelogind&quot; as broken when I selected &quot;php7.4-fpm&quot;. Upon running </p><div class="codebox"><pre><code>sudo apt install php7.4-fpm</code></pre></div><p> in a terminal, it tells me that libsystemd0 conflicts &quot;libelogind&quot;. So I downloaded the deb file for &quot;php7.4-fpm&quot;, and looked in the &quot;DEBIAN/control&quot; file in the deb file. Sure enough, it lists &quot;systemd | systemd-tmpfiles&quot; as a dependency. Looking in the control file for &quot;php7.4-fpm&quot; from Debian Sid reveals that it has the same dependency (no surprise there).</p><p>To work around this, I started by removing the systemd part of the &quot;Depends&quot; line in &quot;DEBIAN/control&quot;, and repackaging it. This allowed it to be installed. But there&#039;s another problem: the traditional &quot;/etc/init.d&quot; script provided <em>still</em> depends on systemd, apparently because someone <em>just</em> needed to use systemd to manage a temp file S-)</p><p>The offending line in the init script provided is on line 99: </p><div class="codebox"><pre><code>systemd-tmpfiles --remove --create /usr/lib/tmpfiles.d/php7.4-fpm.conf</code></pre></div><p>. Checking the init script from &quot;php7.3-fpm&quot; from Debian Buster reveals that there is no systemd in the &quot;Depends&quot; line in &quot;control&quot;, and the init script for 7.3 has its own temp file function it seems. I copied and pastes the contents of 7.3&#039;s init script into 7.4&#039;s init script file, and did a find-and-replace for 7.3 -&gt; 7.4. Using the modified version of the older script, &quot;service php7.4-fpm start&quot; succeeded, and even enabling it on bootup worked.</p><p>Only after going through all that did I discover that there&#039;s already a Debian bug report on this: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959174" rel="nofollow">https://bugs.debian.org/cgi-bin/bugrepo … bug=959174</a></p><p>And in Message 52 (<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959174#52" rel="nofollow">https://bugs.debian.org/cgi-bin/bugrepo … =959174#52</a>), there&#039;s a alternative patch for the init script that I tested. It works, and I think it might be better than using my method of using the old init script. Unless Debian decides to use it, I think Devuan would need to patch it on their own.</p>]]></description>
			<author><![CDATA[dummy@example.com (rwc265)]]></author>
			<pubDate>Wed, 08 Jul 2020 21:02:12 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=23343#p23343</guid>
		</item>
	</channel>
</rss>
