<?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=674&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Installing devuan to lvm partitions within dm-crypt container]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=674</link>
		<description><![CDATA[The most recent posts in Installing devuan to lvm partitions within dm-crypt container.]]></description>
		<lastBuildDate>Thu, 09 May 2019 13:44:11 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15963#p15963</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>BTW: this patch is not yet in the repos. The last cryptsetup update shipped yesterday? removed the patch again.</p><p>Rolf</p></div></blockquote></div><p>Thanks for the warning. I kept a copy of my modified cryptdisks-functions before upgrading, and the only differences between that and the latest version are my edits, so I only need to copy the modified file into place again.</p><p>Nobody has volunteered to adopt this package in devuan, and I believe this is a &#039;wontfix&#039; bug upstream. Keep a copy of your edits handy.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 09 May 2019 13:44:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15963#p15963</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15908#p15908</link>
			<description><![CDATA[<p>BTW: this patch is not yet in the repos. The last cryptsetup update shipped yesterday? removed the patch again.</p><p>Rolf</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Tue, 07 May 2019 08:56:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15908#p15908</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15901#p15901</link>
			<description><![CDATA[<p>What remains is: </p><div class="codebox"><pre><code>[ ok ] Unmounting local filesystems ... done
* ERROR: cryptdisks failed to stop
* ERROR: cryptdisks-early failed to stop</code></pre></div><p>I have got that in my 3 Beowulf installations (and ASCII too). I would expect that you see that too. </p><p>Rolf</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Mon, 06 May 2019 20:21:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15901#p15901</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15900#p15900</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>For Beowulf/Ceres:<br /><a href="https://dev1galaxy.org/viewtopic.php?id=2690" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=2690</a>, entry #7.</p><p>rolfie</p></div></blockquote></div><p>Is entry&#160; #7 quoted script the only required modification?</p><p>EDIT: I replaced </p><div class="quotebox"><blockquote><div><p>do_stop()</p></div></blockquote></div><p> with the one supplied in entry #7 and shutdown was quick.</p><p>I notice others are talking about this possibly isn&#039;t a solution due to errors? I didn&#039;t see any but not sure where to check logs at.</p>]]></description>
			<author><![CDATA[dummy@example.com (duck)]]></author>
			<pubDate>Mon, 06 May 2019 20:00:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15900#p15900</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15898#p15898</link>
			<description><![CDATA[<p>For Beowulf/Ceres:<br /><a href="https://dev1galaxy.org/viewtopic.php?id=2690" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=2690</a>, entry #7.</p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Mon, 06 May 2019 19:18:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15898#p15898</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15896#p15896</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>^ Copy the patch to a file at <strong>/tmp/cryptdisks.patch</strong>, remove the <strong>.orig</strong> bit in the first line and then run this command as root:</p><div class="codebox"><pre><code>cd /lib/cryptsetup &amp;&amp; patch -p1 &lt; /tmp/cryptdisks.patch</code></pre></div><p>Probably wise to backup the file first though:</p><div class="codebox"><pre><code># cp /lib/cryptsetup/cryptdisks.functions{,.bak}</code></pre></div><p>EDIT: ninja&#039;d by rolfie...</p></div></blockquote></div><p>Will this work for Ceres? I&#039;m not thinking it will. I glanced over it and they seem a bit different. </p><div class="codebox"><pre><code>cryptdisks.functions</code></pre></div><p> is also now named </p><div class="codebox"><pre><code>cryptdisks-functions</code></pre></div><p>.</p>]]></description>
			<author><![CDATA[dummy@example.com (duck)]]></author>
			<pubDate>Mon, 06 May 2019 18:14:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15896#p15896</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15671#p15671</link>
			<description><![CDATA[<p>thank you so much for both of us</p>]]></description>
			<author><![CDATA[dummy@example.com (pota)]]></author>
			<pubDate>Mon, 22 Apr 2019 17:32:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15671#p15671</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15668#p15668</link>
			<description><![CDATA[<p>^ Copy the patch to a file at <strong>/tmp/cryptdisks.patch</strong>, remove the <strong>.orig</strong> bit in the first line and then run this command as root:</p><div class="codebox"><pre><code>cd /lib/cryptsetup &amp;&amp; patch -p1 &lt; /tmp/cryptdisks.patch</code></pre></div><p>Probably wise to backup the file first though:</p><div class="codebox"><pre><code># cp /lib/cryptsetup/cryptdisks.functions{,.bak}</code></pre></div><p>EDIT: ninja&#039;d by rolfie...</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 22 Apr 2019 16:49:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15668#p15668</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15667#p15667</link>
			<description><![CDATA[<p>Open a terminal as root, go to /lib/cryptsetup. Use an editor you are familiar with and open cryptdisks.functions (I have used geany). Before you change something make a backup copy of the original file.</p><p>Scroll down to line 763. There you should find this code:</p><div class="codebox"><pre><code> # Removes all mappings in crypttab
 do_stop () {
      local dst src key opts opencount major minor</code></pre></div><p>Add <span class="bbc">vgs vg</span> to this line.<br />Between </p><div class="codebox"><pre><code>dmsetup mknodes
log_action_begin_msg &quot;Stopping $INITSTATE crypto disks&quot;</code></pre></div><p>add</p><div class="codebox"><pre><code>dmsetup mknodes
       if [ -x /sbin/lvm ]; then
        vgs=&quot;$(/sbin/lvm vgscan | sed -n &#039;/&quot;/s/^.*&quot;\([^&#039;\&#039;&#039;]*\)&quot;.*$/\1/p&#039;)&quot;
         if [ -n &quot;${vgs}&quot; ]; then
          for vg in ${vgs}; do
           /sbin/lvm vgchange -a n ${vg} &gt;/dev/null 2&gt;&amp;1 
          done 
         fi
        fi
log_action_begin_msg &quot;Stopping $INITSTATE crypto disks&quot;</code></pre></div><p> You can copy the text from #15, but remove the +- signs in front of the script text.</p><p>Rolf</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Mon, 22 Apr 2019 16:48:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15667#p15667</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15661#p15661</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>Look at the patch in #15, works fine.</p><p>Rolf</p></div></blockquote></div><p>I have no idea how to apply it.</p>]]></description>
			<author><![CDATA[dummy@example.com (pota)]]></author>
			<pubDate>Mon, 22 Apr 2019 16:18:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15661#p15661</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15652#p15652</link>
			<description><![CDATA[<p>Look at the patch in #15, works fine.</p><p>Rolf</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Mon, 22 Apr 2019 13:06:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15652#p15652</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15650#p15650</link>
			<description><![CDATA[<div class="quotebox"><cite>giorgiob wrote:</cite><blockquote><div><p>My encrypted partitions are working but I have a problem when shutting down the system: The console blocks and displays the message</p><div class="codebox"><pre><code>Stopping remaining crypt disks...sda2_crypt(busy)</code></pre></div><p>several times. After about one minute it displays an error message</p><div class="codebox"><pre><code>stopping early crypto disks failed.</code></pre></div><p>and the system is shut down.</p></div></blockquote></div><p>I have the same problem with ascii. Has it been solved in the meantime? What to do? thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (pota)]]></author>
			<pubDate>Mon, 22 Apr 2019 12:57:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15650#p15650</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11554#p11554</link>
			<description><![CDATA[<p>I can confirm this: the patch works perfectly well in ASCII. Although I had to vi the file in question (/lib/cryptsetup/cryptdisks.functions), since I couldn&#039;t figure out how to apply the patch using the patch command.<br />Thanks for the fix!! Happy Devuan.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 29 Aug 2018 06:06:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11554#p11554</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11548#p11548</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I guess it will work in jessie or ascii. The devuan bug report is on ascii, and I tested it on ascii (with cryptsetup 1.7). The debian bug report is from 2013 and is for cryptsetup 1.6. You might need to apply it manually on jessie if the files aren&#039;t exactly the same in jessie and ascii.</p></div></blockquote></div><p>I understood. Thanks for the reply.</p>]]></description>
			<author><![CDATA[dummy@example.com (Ogis1975)]]></author>
			<pubDate>Tue, 28 Aug 2018 17:49:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11548#p11548</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing devuan to lvm partitions within dm-crypt container]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11546#p11546</link>
			<description><![CDATA[<p>I guess it will work in jessie or ascii. The devuan bug report is on ascii, and I tested it on ascii (with cryptsetup 1.7). The debian bug report is from 2013 and is for cryptsetup 1.6. You might need to apply it manually on jessie if the files aren&#039;t exactly the same in jessie and ascii.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 28 Aug 2018 16:49:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11546#p11546</guid>
		</item>
	</channel>
</rss>
