<?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=6756&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Interesting comment about systemd in schroot script]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6756</link>
		<description><![CDATA[The most recent posts in Interesting comment about systemd in schroot script.]]></description>
		<lastBuildDate>Thu, 01 Aug 2024 18:42:14 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Interesting comment about systemd in schroot script]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51452#p51452</link>
			<description><![CDATA[<p>Systemd is such a disaster in so many ways, I&#039;m also very grateful Devuan exists.</p>]]></description>
			<author><![CDATA[dummy@example.com (quickfur)]]></author>
			<pubDate>Thu, 01 Aug 2024 18:42:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51452#p51452</guid>
		</item>
		<item>
			<title><![CDATA[Interesting comment about systemd in schroot script]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51451#p51451</link>
			<description><![CDATA[<p>I was looking over the setup scripts for schroot to get a better sense for how the system works, when I stumbled across this comment in the file /etc/schroot/setup.d/10mount:</p><div class="codebox"><pre><code># Work around systemd insanity.
#
# Mark this mountpoint as private; some systems have / as a shared mountpoint.
# As an example, assume /home/m/ch is the chroot directory.
# schroot will mount -o bind /home/m/ch to /var/lib/schroot/mount/ch-123
# Afterwards, it will bind-mount /dev to /var/lib/schroot/mount/ch-123.
# With shared mountpoints, that mount will also show up in the original
# /home/m/ch. This is a problem once schroot mounted /home: the following
# mount of /tmp will show up in /var/lib/schroot/mount/ch-123/tmp,
# /home/m/ch/tmp and /home/m/ch/home/m/ch/tmp (!), which leads to failure
# on unmounting.
if [ &quot;$(uname -s)&quot; = &quot;Linux&quot; ]; then
  mount --make-private &quot;$3&quot;
fi</code></pre></div><p>I had no idea systemd made everything a shared mount by default, but now I&#039;m wondering if it could have been the cause of some weird issues I had in the past. I guess it&#039;s another reason to be grateful I&#039;m not using systemd anymore.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Thu, 01 Aug 2024 18:02:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51451#p51451</guid>
		</item>
	</channel>
</rss>
