<?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=5648&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / ZFS with openrc - conflict with "Breaks: openrc"]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5648</link>
		<description><![CDATA[The most recent posts in ZFS with openrc - conflict with "Breaks: openrc".]]></description>
		<lastBuildDate>Fri, 07 Apr 2023 05:57:46 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: ZFS with openrc - conflict with "Breaks: openrc"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41792#p41792</link>
			<description><![CDATA[<p>On further testing, I have tried removing <span class="bbc">openrc</span> from the &quot;Breaks&quot; list in <span class="bbc">/var/lib/dpkg/status</span>.</p><p><span class="bbc">openrc</span> then installs without complaint with ZFS installed.</p><p>On boot, it looks like the startup scripts for ZFS have started apart from <span class="bbc">zfs-import</span></p><p>running <span class="bbc">rc-status</span>:</p><div class="codebox"><pre><code>Runlevel: default
 rsyslog                                                                                              [  started  ]
 cron                                                                                                 [  started  ]
 fail2ban                                                                                             [  started  ]
 acpid                                                                                                [  started  ]
 ntp                                                                                                  [  started  ]
 sudo                                                                                                 [  started  ]
 qemu-guest-agent                                                                                     [  started  ]
 console-setup.sh                                                                                     [  started  ]
 ssh                                                                                                  [  started  ]
 dbus                                                                                                 [  started  ]
 bootlogs                                                                                             [  started  ]
 elogind                                                                                              [  started  ]
 rmnologin                                                                                            [  started  ]
 zfs-mount                                                                                            [  started  ]
 zfs-zed                                                                                              [  started  ]
 zfs-share                                                                                            [  started  ]
 stop-bootlogd                                                                                        [  started  ]
 rc.local                                                                                             [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 umountroot                                                                                           [  started  ]
 umountfs                                                                                             [  started  ]
 umountnfs.sh                                                                                         [  started  ]</code></pre></div><p><span class="bbc">rc-status zfs-import</span> shows:</p><div class="codebox"><pre><code>* runlevel `zfs-import&#039; does not exist</code></pre></div><p>I also had to run <span class="bbc">/sbin/modprobe zfs</span> manually after start or else the <span class="bbc">zfs</span> module is not loaded.</p><p>The module loading on boot can be fixed by editing <span class="bbc">/etc/modules</span> and adding the line:</p><div class="codebox"><pre><code>zfs</code></pre></div><p>Interestingly, when installing openrc, it finds a dependency loop which it cleans up, I guess this is causing the zfs module not to be loaded on boot:</p><div class="codebox"><pre><code> 
 * Found a solvable dependency loop: mountall-bootclean.sh p&gt; mountall-bootclean u&gt; zfs-import a&gt; checkfs n&gt; mounta
ll.sh p&gt; mountall n&gt; mountall-bootclean.sh.
 * Solving the loop by breaking mountall-bootclean u&gt; zfs-import.
 * Found a solvable dependency loop: mountall.sh p&gt; mountall u&gt; zfs-import a&gt; checkfs n&gt; mountall.sh.
 * Solving the loop by breaking mountall u&gt; zfs-import. </code></pre></div><p>I have also added an issue in the zfsonlinux packaging project: <a href="https://github.com/zfsonlinux/pkg-zfs/issues/238" rel="nofollow">https://github.com/zfsonlinux/pkg-zfs/issues/238</a></p>]]></description>
			<author><![CDATA[dummy@example.com (greenant)]]></author>
			<pubDate>Fri, 07 Apr 2023 05:57:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41792#p41792</guid>
		</item>
		<item>
			<title><![CDATA[Re: ZFS with openrc - conflict with "Breaks: openrc"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41783#p41783</link>
			<description><![CDATA[<p>p.s. I checked if the dependency on <span class="bbc">init-system-helpers</span> was an issue, but that doesn&#039;t seem to be the case, <span class="bbc">openrc</span> does not remove that package</p>]]></description>
			<author><![CDATA[dummy@example.com (greenant)]]></author>
			<pubDate>Thu, 06 Apr 2023 10:03:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41783#p41783</guid>
		</item>
		<item>
			<title><![CDATA[ZFS with openrc - conflict with "Breaks: openrc"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41782#p41782</link>
			<description><![CDATA[<p>I am trying to migrate some Devuan (Chimaera) systems from <span class="bbc">sysvinit</span> to <span class="bbc">openrc</span>.&#160; The main reason is to make installing <span class="bbc">k3s</span> easier (as it depends on <span class="bbc">openrc</span> or <span class="bbc">systemd</span>).</p><p>I have tested the basic process of switching to <span class="bbc">openrc</span> on a KVM machine and it went well with just:</p><div class="codebox"><pre><code>apt install openrc</code></pre></div><p>However, on my systems that have <span class="bbc">ZFS</span> installed, there is a conflict with <span class="bbc">zfsutils-linux breaks: openrc</span>.</p><p>So <span class="bbc">apt</span>/<span class="bbc">aptitude</span> refuses to install without removing <span class="bbc">ZFS</span>.</p><p>Since Devuan is using a backwards-compatible version of <span class="bbc">openrc</span>, I believe it should be fine to install while preserving ZFS.</p><p>I&#039;m not sure how to proceed.&#160; I guess a quick and dirty fix would be to edit the entry in <span class="bbc">/var/lib/dpkg/status</span> and remove the <span class="bbc">Breaks: openrc</span><br />Probably a better method is to recompile zfsutils-linux with <span class="bbc">checkinstall</span>.</p><p>Would be keen to hear suggestions of the best approach and if anyone knows why the conflict is present in the package description?</p><p>More info is provided with <span class="bbc">aptitude show zfsutils-linux</span>:</p><div class="codebox"><pre><code>Package: zfsutils-linux                  
Version: 2.0.3-9
State: installed
Automatically installed: no
Priority: optional
Section: contrib/admin
Maintainer: Debian ZFS on Linux maintainers &lt;pkg-zfsonlinux-devel@alioth-lists.debian.net&gt;
Architecture: amd64
Uncompressed Size: 1,533 k
Depends: libnvpair3linux (= 2.0.3-9), libuutil3linux (= 2.0.3-9), libzfs4linux (= 2.0.3-9), libzpool4linux (=
         2.0.3-9), python3, libblkid1 (&gt;= 2.16), libc6 (&gt;= 2.17), libuuid1 (&gt;= 2.16)
PreDepends: init-system-helpers (&gt;= 1.54~)
Recommends: lsb-base, zfs-modules | zfs-dkms, zfs-zed
Suggests: nfs-kernel-server, samba-common-bin (&gt;= 3.0.23), zfs-initramfs | zfs-dracut
Conflicts: zfs, zfs-fuse
Breaks: openrc, spl (&lt; 0.7.9-2), spl-dkms (&lt; 0.8.0~rc1), zfs-dkms (&gt; 2.0.3-9...), zfs-dkms (&lt; 2.0.3-9)
Replaces: spl (&lt; 0.7.9-2), spl-dkms
Provides: zfsutils
Description: command-line tools to manage OpenZFS filesystems
 OpenZFS is a storage platform that encompasses the functionality of traditional filesystems and volume managers.
 It supports data checksums, compression, encryption, snapshots, and more. 
 
 This package provides the zfs and zpool commands to create and administer OpenZFS filesystems.
Homepage: https://zfsonlinux.org/
Tags: admin::configuring, admin::filesystem, interface::commandline, role::program, scope::utility,
      use::configuring</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (greenant)]]></author>
			<pubDate>Thu, 06 Apr 2023 10:01:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41782#p41782</guid>
		</item>
	</channel>
</rss>
