<?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=7346&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Devuan Excalibur + Shepherd]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=7346</link>
		<description><![CDATA[The most recent posts in Devuan Excalibur + Shepherd.]]></description>
		<lastBuildDate>Sun, 14 Sep 2025 09:17:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Devuan Excalibur + Shepherd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=58000#p58000</link>
			<description><![CDATA[<p>Well, since I proposed looking into it, I decided it wouldn&#039;t hurt to see if I could get it to work on Excalibur.<br />I set up a virtual machine, got the latest netinstall rc1 image, installed the system with the default XFCE desktop environment and got to tinkering with it.<br />First I ran <span class="bbc">apt install shepherd</span> which pulled a few dependencies with it too. Then, I installed the <em><a href="https://www.opopop.net/Debian_Bookworm_with_Mate_and_the_shepherd_init_system/shepherd-debian_1.5-2_amd64.deb" rel="nofollow">shepherd-debian 1.5-2 amd64.deb</a></em> package from the link I provided.<br />This includes a bunch of scripts to get many services and daemons running so you have a working OS, as well as a configuration file called /etc/shepherd.scm<br />In the config file I changed udevd to point from <span class="bbc">/lib/systemd/systemd-udevd</span> to <span class="bbc">/sbin/udevd</span><br />Then, under root, I did:</p><div class="codebox"><pre><code>nano /etc/default/grub</code></pre></div><p>And there I modified the following:</p><div class="codebox"><pre><code>GRUB_CMDLINE_LINUX_DEFAULT=&quot;init=/usr/bin/shepherd&quot;</code></pre></div><p>And then did <span class="bbc">sudo update-grub</span><br />Unfortunately, the system did not boot and gave an error saying:<br />shepherd: error: &quot;/etc/shepherd.scm&quot;: exception thrown while loading configuration file<br />When adding shepherd.debug into the grub config I got this output:</p><div class="codebox"><pre><code>shepherd[1]: while loading configuration file &#039;/etc/shepherd.scm&#039; &quot;no code for module (system ffi-help-rt)</code></pre></div><p>Apparently, the shepherd packaged in Debian/Devuan is not a dynamic executable and it doesn&#039;t include extensions like the Guile FFI which allow it to make system calls for functions like mount, umount, stat, and kill, as well as handle errors and signals.</p><p>Later I found out the Debian/Devuan shepherd package also included its own two example configs in <span class="bbc">usr/share/doc/shepherd/examples/</span>.<br />At this point, I thought awesomeadam.scm was the most promising way to get a working system and I decided to try to adapt it for Devuan.<br />Here are the changes I&#039;ve done:<br />1) Update all <span class="bbc">/usr/local/etc/init.d/</span> paths to point to <span class="bbc">/etc/init.d/</span><br />2) Removed the systemd- prefix for the udev services.<br />3) Changed the path from <span class="bbc">/lib/systemd/systemd-udevd</span> to <span class="bbc">/sbin/udevd</span><br />4) Changed the line from <span class="bbc">#:start (make-forkexec-constructor &#039;(&quot;/lib/apparmor/apparmor.systemd&quot; &quot;reload&quot;))</span> to <span class="bbc">#:start (make-forkexec-constructor &#039;(&quot;/etc/init.d/apparmor&quot; &quot;start&quot;))</span><br />5) Changed from lightdm:</p><div class="codebox"><pre><code>(define lightdm
  (service &#039;(lightdm display-manager)
	   #:requirement &#039;(dbus)
	   #:documentation &quot;The lightdm service provides the Light Display Manager.&quot;
	   #:start (make-forkexec-constructor &#039;(&quot;/usr/local/etc/init.d/lightdm&quot;))
	   #:stop (make-kill-destructor)
	   #:respawn? #t))</code></pre></div><p>to slim:</p><div class="codebox"><pre><code>(define slim
  (service &#039;(slim display-manager)
	   #:requirement &#039;(dbus)
	   #:documentation &quot;The slim service provides the Simple Login Manager.&quot;
	   #:start (make-forkexec-constructor &#039;(&quot;/etc/init.d/slim&quot;))
	   #:stop (make-kill-destructor)
 	   #:respawn? #t))</code></pre></div><p>And updated the register-services and start-service lists to use slim instead of lightdm.<br />Then, I renamed the file to shepherd.scm and put it into /etc</p><p>At this point, I updated GRUB to boot with shepherd again and got vmgwfx errors saying my configuration was likely broken and my hypervisor was unsupported and I didn&#039;t get to the slim login screen.<br />At this point, without any clear information on what was going on, I got stuck.<br />Well, at least it understands what to do when you press Ctrl+Alt+Del and now I know the scripts turned out to be useless. <img src="http://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (ffp)]]></author>
			<pubDate>Sun, 14 Sep 2025 09:17:54 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=58000#p58000</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan Excalibur + Shepherd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=57811#p57811</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I don&#039;t see scripts on that page, just deb packages. And they aren&#039;t the same ones that are in debian/devuan. The versions of guile don&#039;t match the current versions in bookworm/daedalus. You&#039;re probably better off installing the packages from the repo.</p></div></blockquote></div><p>If you extract the shepherd-debian 1.5-2 amd64.deb package on the blog I linked to, you&#039;ll see that it consists of scripts that are installed in /etc/shepherd.d and a shepherd configuration file which can run said scripts and deal with shutting down or rebooting the system among other things.<br />I did not say you need to install the init from this blog, what I said was the scripts this user created could potentially work for Excalibur as well. They are just scripts after all.<br />That said, I am not a developer so take my words with a pinch of salt. Would love to hear more thoughts on the viability of implementing shepherd in Devuan.</p>]]></description>
			<author><![CDATA[dummy@example.com (ffp)]]></author>
			<pubDate>Thu, 04 Sep 2025 08:55:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=57811#p57811</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan Excalibur + Shepherd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=57807#p57807</link>
			<description><![CDATA[<p>I don&#039;t see scripts on that page, just deb packages. And they aren&#039;t the same ones that are in debian/devuan. The versions of guile don&#039;t match the current versions in bookworm/daedalus. You&#039;re probably better off installing the packages from the repo.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 03 Sep 2025 20:20:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=57807#p57807</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan Excalibur + Shepherd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=57799#p57799</link>
			<description><![CDATA[<p>Hi fsmithred, thank you very much for replying to my message!<br />Yes, I understand that now the package is included in Devuan as well, but, in my understanding, Shepherd is not a drop-in replacement init system like SysVinit is to systemd, it requires more work to get daemons and services running.<br />I tried to find more information about this and in my search I stumbled upon this post for Bookworm that talks about how to get Shepherd running.<br />I wonder if this user&#039;s scripts can be used to implement official out of the box Shepherd support for Excalibur?<br /><a href="https://www.opopop.net/Debian_Bookworm_with_Mate_and_the_shepherd_init_system/" rel="nofollow">https://www.opopop.net/Debian_Bookworm_ … it_system/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (ffp)]]></author>
			<pubDate>Wed, 03 Sep 2025 17:39:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=57799#p57799</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan Excalibur + Shepherd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=57781#p57781</link>
			<description><![CDATA[<div class="codebox"><pre><code>apt policy shepherd
shepherd:
  Installed: (none)
  Candidate: 1.0.3-1
  Version table:
     1.0.6-2 10
         10 http://deb.devuan.org/merged ceres/main amd64 Packages
     1.0.3-1 500
        500 http://deb.devuan.org/merged excalibur/main amd64 Packages</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 02 Sep 2025 19:32:51 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=57781#p57781</guid>
		</item>
		<item>
			<title><![CDATA[Devuan Excalibur + Shepherd]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=57148#p57148</link>
			<description><![CDATA[<p>Hi everyone, I noticed that Shepherd has been added to trixie&#039;s packages:<br /><a href="https://packages.debian.org/trixie/shepherd" rel="nofollow">https://packages.debian.org/trixie/shepherd</a><br />And, the <a href="https://www.devuan.org/os/init-freedom" rel="nofollow">Init Freedom page</a> on Devuan lists Shepherd as one of the init systems that are either available or being considered for inclusion in Devuan<br />Is there even the smallest chance that we could see the option to use Shepherd in Devuan Excalibur?<br />By that I mean to pick it as one of the available init systems during the system installation.<br />Thank you for your reply and consideration! <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (ffp)]]></author>
			<pubDate>Mon, 11 Aug 2025 13:59:50 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=57148#p57148</guid>
		</item>
	</channel>
</rss>
