<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4148&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Converting from Buster and usr merge]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4148</link>
		<description><![CDATA[The most recent posts in Converting from Buster and usr merge.]]></description>
		<lastBuildDate>Thu, 25 Feb 2021 19:36:44 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Converting from Buster and usr merge]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27727#p27727</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="quotebox"><cite>tlathm wrote:</cite><blockquote><div><p>That failed at first because I had /bin/sh as the users shell and needed to change that to /usr/bin/bash</p></div></blockquote></div><p>/bin/sh is linked to dash in Debian and Devuan. The usr merge does not break /bin/sh in any way — all of the system scripts have a /bin/sh shebang so nothing would work if the usr merge broke that.</p></div></blockquote></div><p>To clarify what actually happened to me there: I have a script that copies the minimum of executable programs and libraries I need in a users home to allow rsync to work in that chroot...and because of the nature of the usr merge and the way my script works I didn&#039;t have any /bin/sh in that chroot home.</p><p>Thanks for the replies! I don&#039;t think I&#039;ll attempt any conversion to the separate usr here, as the server&#039;s already in use and serving it&#039;s purpose just fine. Thanks!</p><p>Tom</p>]]></description>
			<author><![CDATA[dummy@example.com (tlathm)]]></author>
			<pubDate>Thu, 25 Feb 2021 19:36:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27727#p27727</guid>
		</item>
		<item>
			<title><![CDATA[Re: Converting from Buster and usr merge]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27688#p27688</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>1. I&#039;m assuming there&#039;s probably no way to change that...or at least nothing I&#039;d want to attempt(?).</p></div></blockquote></div><p>It&#039;s not too hard. You start by copying <span class="bbc">/usr/bin</span> into a new drectory <span class="bbc">/A</span>, then make that become <span class="bbc">/bin</span> by a careful juggle</p><div class="codebox"><pre><code>rm /bin &amp;&amp; /usr/bin/mv /A /bin</code></pre></div><p>Thereafter it&#039;s a matter of removing from <span class="bbc">/bin</span> and <span class="bbc">/usr/bin</span> those that are mentioned differently in the content lists of installed packages. (You must of course also make sure your PATH includes both <span class="bbc">/usr/bin</span> and <span class="bbc">/bin</span>)<br />For example, if living on the edge you would use the following command pipeline</p><div class="codebox"><pre><code> cat /var/lib/dpkg/info/*.list | \
    grep -E &#039;^(/usr)?/bin/&#039; | \
    sed &#039;s/^/\/usr/;s/^\/usr\/usr//&#039; | \
    xargs -r rm</code></pre></div><p>i.e. from the content lists reduce to the <span class="bbc">/bin/*</span> and <span class="bbc">/usr/bin/*</span> pathnames and change each pathname by adding prefix <span class="bbc">/usr</span> to it but then remove <span class="bbc">/usr/usr</span> if it becomes that, and then give these pathnames to <span class="bbc">rm</span></p><p>Then do the similar for <span class="bbc">/sbin</span> and <span class="bbc">/usr/sbin</span> (but using <span class="bbc">/bin/mv</span>).</p><p>I haven&#039;t looked into unmerging <span class="bbc">/usr/lib</span>. This might involve something more since there is a cache of pathnames for finding dynamic libraries and you wouldn&#039;t want to invalidate that willy nilly.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 24 Feb 2021 23:56:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27688#p27688</guid>
		</item>
		<item>
			<title><![CDATA[Re: Converting from Buster and usr merge]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27657#p27657</link>
			<description><![CDATA[<div class="quotebox"><cite>tlathm wrote:</cite><blockquote><div><p>That failed at first because I had /bin/sh as the users shell and needed to change that to /usr/bin/bash</p></div></blockquote></div><p>/bin/sh is linked to dash in Debian and Devuan. The usr merge does not break /bin/sh in any way — all of the system scripts have a /bin/sh shebang so nothing would work if the usr merge broke that.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 24 Feb 2021 15:57:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27657#p27657</guid>
		</item>
		<item>
			<title><![CDATA[Re: Converting from Buster and usr merge]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27653#p27653</link>
			<description><![CDATA[<p>Thanks! I&#039;m sure you&#039;re correct, and given that this was starting with a rackspace server I really have no option to do an install from scratch. Having said that, it&#039;s actually a rather simple LAMP server for the most part and I seriously doubt it would ever cause me any problems.</p><p>The only reason I noticed was that I set up a user specifically for rsync backups that&#039;s restricted to a chroot in it&#039;s home. That requires having a few binaries and libraries installed in the home. That failed at first because I had /bin/sh as the users shell and needed to change that to /usr/bin/bash.</p><p>Only the systemd and freedesktop.org asshats could manage to make such an asinine decision to screw with shit that&#039;s been in place as long as that. I use Gentoo on my own machines which, by default, doesn&#039;t do that BS either. Thank God for distros like that, and for the wonderful maintainers of Devuan!</p><p>Thanks<br />Tom</p>]]></description>
			<author><![CDATA[dummy@example.com (tlathm)]]></author>
			<pubDate>Wed, 24 Feb 2021 15:21:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27653#p27653</guid>
		</item>
		<item>
			<title><![CDATA[Re: Converting from Buster and usr merge]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27652#p27652</link>
			<description><![CDATA[<p>I cant answer you questions but here is a good read on the situtation from the debian side of things. I would say what is done is done in regards to your system unless you reinstall and choose the option not to merge.</p><p><a href="https://lists.debian.org/debian-devel/2018/11/msg00374.html" rel="nofollow">https://lists.debian.org/debian-devel/2 … 00374.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Wed, 24 Feb 2021 14:51:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27652#p27652</guid>
		</item>
		<item>
			<title><![CDATA[Converting from Buster and usr merge]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27648#p27648</link>
			<description><![CDATA[<p>I recently converted a Rackspace server from Buster to Beowulf mostly based on this:</p><p><a href="https://www.devuan.org/os/documentation/dev1fanboy/en/buster-to-beowulf.html" rel="nofollow">https://www.devuan.org/os/documentation … owulf.html</a></p><p>Worked really well. One thing I noticed is that this ends up with a usr merged system:</p><div class="codebox"><pre><code>ls -l /bin
lrwxrwxrwx 1 root root 7 Feb  6 05:30 /bin -&gt; usr/bin</code></pre></div><p>Two questions about this:</p><p>1. I&#039;m assuming there&#039;s probably no way to change that...or at least nothing I&#039;d want to attempt(?).</p><p>2. Are there any possible issues going forward because of that?...for example with updates etc.</p><p>Thanks!<br />Tom</p>]]></description>
			<author><![CDATA[dummy@example.com (tlathm)]]></author>
			<pubDate>Wed, 24 Feb 2021 13:19:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27648#p27648</guid>
		</item>
	</channel>
</rss>
