<?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=7516&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Excalibur: Mounting NFS shares using /etc/fstab]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7516</link>
		<description><![CDATA[The most recent posts in Excalibur: Mounting NFS shares using /etc/fstab.]]></description>
		<lastBuildDate>Mon, 10 Nov 2025 07:20:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59374#p59374</link>
			<description><![CDATA[<p>steve_v:</p><p>I am blaming NO one!!<br />I just want people to avoid the trap of such a case!<br />I&#039;m no politician and no flamer, so please stay on the subject.<br />Anyway, you gave me the good hint earlier, thanks for that.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Mon, 10 Nov 2025 07:20:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59374#p59374</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59354#p59354</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>The new version of networkmanager (debian)</p></div></blockquote></div><p>As previously mentioned, network-manager is already a forked packge proivided by <em>Devuan.</em></p><div class="quotebox"><blockquote><div><p>(cause: Debian&#039;s systemd)</p></div></blockquote></div><p>Cause: Failure to read the NEWS file or sufficiently test the default desktop install. <br />FTFY.</p><p>Why are you tring so hard to assign blame? This is not a Debian bug, nor is it Debian&#039;s fault. Rather it was an intentional, documented change (2 years ago at at that), which <em>Devuan</em> failed to react to.</p><p>Bug found, bug fixed. Case closed. If you really feel the urge to couch it in terms of the &quot;us vs. them&quot; nonsense so popular around here, at least try to get the facts straight.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sun, 09 Nov 2025 18:01:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59354#p59354</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59346#p59346</link>
			<description><![CDATA[<p>My last thing I could do to bridge the time until a patched networkmanager goes into the update repos:<br />Suggestion of a modification of the Release-notes.txt the following way:</p><div class="quotebox"><blockquote><div><p>$ diff Release_notes.txt Release_notes-ak20251109.txt<br />14a15<br />&gt;&#160; &#160; &#160; + NetworkManager<br />189a191,201<br />&gt; <br />&gt; ### NetworkManager<br />&gt; <br />&gt; The new version of networkmanager (debian) doesn&#039;t notify the system of<br />&gt; completed network setup at boot time. (cause: Debian&#039;s systemd)<br />&gt; As a result network-bound resources are no longer mounted as instructed by<br />&gt; /etc/fstab at boot time.<br />&gt; To make it happen again, simply copy a file into the networkmanager&#039;s directory.<br />&gt; The version tested and working is the one from Devuan Daedalus.<br />&gt; &#160; &#160; sudo cp 01-ifupdown /etc/NetworkManager/dispatcher.d/<br />&gt; After a reboot everything should be up again.<br />$</p></div></blockquote></div><p>I have no idea where such a suggestion is to be posted. I think Devuan&#039;s administrators could come to the rescue.<br />Thank you.<br />Andre</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sun, 09 Nov 2025 15:57:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59346#p59346</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59339#p59339</link>
			<description><![CDATA[<p>To steve_v, ralph.ronnquist, fsmithred:</p><p>There is news about our config NetworkManager-OpenRC-Cinnamon: the differences between Devuan Excalibur and Artix.<br />See the differences in the following reports I have just written:<br />Excalibur:<br /><a href="https://pastebin.com/4CcBTkEV" rel="nofollow">https://pastebin.com/4CcBTkEV</a></p><p>Artix:<br /><a href="https://pastebin.com/3KuU9mUy" rel="nofollow">https://pastebin.com/3KuU9mUy</a></p><p>In the Artix test-install (~6 month old), there is a additional file in /etc/NetworkManager/dispatcher.d/<br />-rwxr-xr-x 1 root root 1213 May 14&#160; 2021 10-openrc-status</p><p>And the version of networkmanager is networkmanager 1.54.1-1<br />The result is that NFS mounts in /etc/fstab are respected at boot time.<br />I have the additional file here should you be interested.</p><p>I will send the same information to the devuan networkmanager maintainer.<br />Have a lovely Sunday. Greetings, André.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sun, 09 Nov 2025 10:46:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59339#p59339</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59267#p59267</link>
			<description><![CDATA[<p>So, to complete the information, here it is:</p><p>Bugreport<br /><a href="https://bugs.devuan.org/cgi/bugreport.cgi?bug=925" rel="nofollow">https://bugs.devuan.org/cgi/bugreport.cgi?bug=925</a></p><p>So then until an Excalibur patch comes out with future updates, we will have to do as steve_v suggested. I&#039;m happy with that.<br />I think that what was asked for.<br />Greetings,<br />andre4freedom</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Fri, 07 Nov 2025 14:07:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59267#p59267</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59228#p59228</link>
			<description><![CDATA[<p>Fsmithred,</p><p>I have just done that. Thank you.<br />Bugreport sent.</p><p>Shall I mark the case as solved?</p><p>Thank you for your suggestions and help, to all!</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Thu, 06 Nov 2025 17:00:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59228#p59228</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59216#p59216</link>
			<description><![CDATA[<p>Andre,</p><p>You could file a bug report against network-manager requesting that the missing file be restored. We already fork that package, so the report goes to bugs.devuan.org. I find email submission to be the easiest.</p><p>Instructions:<br /><a href="https://bugs.devuan.org/Reporting.html" rel="nofollow">https://bugs.devuan.org/Reporting.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 06 Nov 2025 14:06:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59216#p59216</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59214#p59214</link>
			<description><![CDATA[<p>And just a little side-note:<br />Due to the situation I installed temporarily Linux Mint 22.2 to be able to work. This morning was the first time that my machine hung, just freezed, X11, text consoles, keyboard, mouse - all dead. That machine has never ever done that with Devuan running all these years. How happy I am to re-install Devuan - with your fix. You see, Devuan is worth making the effort and taking a few extra steps to resolve issues.<br />Happy Devuan</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Thu, 06 Nov 2025 13:34:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59214#p59214</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59213#p59213</link>
			<description><![CDATA[<p>@steve_v<br />You are true hero, you have nailed it.<br />I did as you suggested and placed that script /etc/NetworkManager/dispatcher.d/01-ifupdown to the right place and rebooted. And sure enough: BINGO.<br />Thank you for that precious hint.</p><p>@ralph.ronnquist <br />I did the tests on a spare machine, doing a fresh-install with the excalibur-netinstall-iso and running the the devuan installer&#039;s first option: install<br />Test 1:&#160; Excalibur - Cinnamon - OpenRC<br />Test 2:&#160; Excalibur - Cinnamon - sysvinit<br />In both cases I just edited the hosts file, the fstab, created the mountpoints and rebooted. In both cases NFS was not mounted.</p><p>Copying the famous file /etc/NetworkManager/dispatcher.d/01-ifupdown from my local server (daedalus)&#160; to the test machine did the trick..<br />BTW: Editing the /etc/rc.local file didn&#039;t change a thing.</p><p>Would you like me to write a simple procedure (a text file) how to fix that problem? Then, where could I send it for inclusion to the release readme file?</p><p>Unfortunately I&#039;m not able to fix the networkmanager package.</p><p>Once again, to all of you: Thank you for your help.<br />Sincerely, Andre (andre4freedom)</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Thu, 06 Nov 2025 13:25:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59213#p59213</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59208#p59208</link>
			<description><![CDATA[<p>while looking for tailscale references/commentary/notes/etc on the forum i came across this specific post:</p><p><a href="https://dev1galaxy.org/viewtopic.php?pid=57261#p57261" rel="nofollow"> https://dev1galaxy.org/viewtopic.php?pid=57261#p57261</a></p><p>which referenced /lib/init/init-d-script and so i went and saw that a bit of it referenced &quot;mountnfs.sh&quot; with some content/context referencing the words &quot;after&quot; and &quot;before&quot; and so i post the snippet of code here below:</p><div class="codebox"><pre><code># PATH should only include /usr/* if it runs after the mountnfs.sh
# script.  Scripts running before mountnfs.sh should remove the /usr/*
# entries.
PATH=/usr/sbin:/usr/bin:/sbin:/bin</code></pre></div><p>also at the end of /lib/init/init-d-script there was a reference to:</p><p><a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822753#53" rel="nofollow"> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822753#53</a></p><p>and that link drops one into the midst of just one of many &quot;discussions&quot; which seem not so distant from some of those on this forum...(*cough* hat-tip @steve_v)</p><p>as always, ymmv.</p><p>edited to add: also wanted to quote a snippet from message#36 in the same above noted &quot;discussion&quot;</p><div class="quotebox"><blockquote><div><p>Wait, no. There is. See #427889 and policy 9.3.2. By the way, seems<br />#427889 could be closed...</p><p>Also, by just common sence, program that return 0 in case of failure is<br />bad, very bad.&#160; What if I want to call /etc/init.d/{foo} in my own<br />script?</p><p>There are scripts around, that pass exit code {rc.local, hostname}; there<br />are scripts around, that do not (random example - wicd).</p><p>So either we</p><p> * violate LSB and adjust all initscripts to return 0 always.<br />&#160; &#160;I strongly oppose.</p><p> * consider script, that swallows exit code to be buggy. I support it,<br />&#160; &#160;but there is a lot of scripts in wild that do so. I do /not/ volonteer<br />&#160; &#160;to fix them.</p><p>All in all, let us remove last line in `init-d-script&#039;.</p></div></blockquote></div><p>Dmitry Bogatov may *not* volonteer(sic) to _fix_ them...nevertheless, there be dragons...sigh.</p>]]></description>
			<author><![CDATA[dummy@example.com (stargate-sg1-cheyenne-mtn)]]></author>
			<pubDate>Thu, 06 Nov 2025 10:00:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59208#p59208</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59204#p59204</link>
			<description><![CDATA[<p>Ha! You&#039;re right. I interpreted that condition wishfully rather than correctly.</p><p>So obviously, would I want to use nfs, I need to arrange for that by myself since I wouldn&#039;t find joy in associating nfs mounting with networking events.</p><p>And if I choose to install a system with a Devuan installer iso and select a desktop flavour that installs NetworkManager, I will need some additional post-install hands-on to purge that together with apparmor, avahi-daemon and whatnot that the desktop flavour developers have included at the outside of my ideal setup.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Thu, 06 Nov 2025 08:49:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59204#p59204</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59203#p59203</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>it seems the default setup case is the invocation at line 90</p></div></blockquote></div><p>I read it the other way:</p><div class="codebox"><pre><code>        # Using &#039;no !=&#039; instead of &#039;yes =&#039; to make sure async nfs
        # mounting is the default even without a value in
        # /etc/default/rcS</code></pre></div><p>/etc/default/rcS as shipped with initscripts has &#039;#ASYNCMOUNTNFS=yes&#039;, so</p><div class="codebox"><pre><code>87          if [ no != &quot;$ASYNCMOUNTNFS&quot; ] ; then</code></pre></div><p>is true, and the do_wait_async_mount loop runs until timeout or all mounts appear.</p><p>i.e. async mount (AKA just loop while waiting for the network initscript / manager / whatever to call the mountnfs hook) is default behaviour as per the comment, and /etc/init.d/mountnfs.sh only calls /etc/network/if-up.d/mountnfs itself if the user has explicitly <em>disabled</em> async mount.</p><p>...which neatly explains the conspicuous lack of attempts to mount NFS in Andre&#039;s logs on a fresh install with networkmanager, and the &quot;works same as it always did&quot; for those using ifup and static definitions in /etc/network/interfaces (me, and I suspect you as well).</p><p>Seems to me that if Devuan is going to use networkmanager in the default desktop install (connman is going away and all that) and we want fstab NFS mounts to work, the obvious solution would be for Devuan to fork the networkmanager package and put /etc/NetworkManager/dispatcher.d/01-ifupdown back where it belongs.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Thu, 06 Nov 2025 07:32:35 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59203#p59203</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59202#p59202</link>
			<description><![CDATA[<p>Indeed, it seems prepared for random asynchronous bootup when one has configured it so. Though it seems the default setup case is the invocation at line 90, where the hook script is used explicitly.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Thu, 06 Nov 2025 06:50:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59202#p59202</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59197#p59197</link>
			<description><![CDATA[<div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>NFS mounts are set up as declared in fstab via the init script mountnfs.sh, and it&#039;s not as a side effect of networking.</p></div></blockquote></div><p>Here is initscripts: /etc/init.d/mountnfs.sh</p><div class="codebox"><pre class="vscroll"><code>#! /bin/sh
### BEGIN INIT INFO
# Provides:          mountnfs
# Required-Start:    $local_fs
# Required-Stop:
# Should-Start:      $network $portmap nfs-common  udev-mtab
# Default-Start:     S
# Default-Stop:
# Short-Description: Wait for network file systems to be mounted
# Description:       Network file systems are mounted by
#                    /etc/network/if-up.d/mountnfs in the background
#                    when interfaces are brought up; this script waits
#                    for them to be mounted before carrying on.
### END INIT INFO

. /lib/init/vars.sh
. /lib/init/mount-functions.sh
. /lib/lsb/init-functions

do_wait_async_mount() {
	# Read through fstab line by line. If it is NFS, set the flag
	# for mounting NFS file systems. If any NFS partition is found
	# then wait around for it.

	waitnfs=
	for file in $(fstab_files); do
		if [ -f &quot;$file&quot; ]; then
			while read DEV MTPT FSTYPE OPTS REST; do
				case &quot;$DEV&quot; in
				  &quot;&quot;|\#*)
					continue
					;;
				esac
				case &quot;$OPTS&quot; in
				  noauto|*,noauto|noauto,*|*,noauto,*)
					continue
					;;
				esac
				case &quot;$FSTYPE&quot; in
				  nfs|nfs4|smbfs|cifs|coda|ncp|ncpfs|ceph)
					;;
				  *)
					continue
					;;
				esac
				case &quot;$MTPT&quot; in
				  /usr/local|/usr/local/*)
					;;
				  /usr|/usr/*)
					waitnfs=&quot;$waitnfs $MTPT&quot;
					;;
				  /var|/var/*)
					waitnfs=&quot;$waitnfs $MTPT&quot;
					;;
				esac
			done &lt; &quot;$file&quot;
		fi
	done

	# Wait for each path, the timeout is for all of them as that&#039;s
	# really the maximum time we have to wait anyway
	TIMEOUT=900
	for mountpt in $waitnfs; do
		log_action_begin_msg &quot;Waiting for $mountpt&quot;

		while ! mountpoint -q $mountpt; do
			sleep 0.1

			TIMEOUT=$(( $TIMEOUT - 1 ))
			if [ $TIMEOUT -le 0 ]; then
				log_action_end_msg 1
				break
			fi
		done

		if [ $TIMEOUT -gt 0 ]; then
			log_action_end_msg 0
		fi
	done
}

case &quot;$1&quot; in
    start)
        # Using &#039;no !=&#039; instead of &#039;yes =&#039; to make sure async nfs
        # mounting is the default even without a value in
        # /etc/default/rcS
        if [ no != &quot;$ASYNCMOUNTNFS&quot; ] ; then
                do_wait_async_mount
        else
                FROMINITD=yes /etc/network/if-up.d/mountnfs
        fi
        ;;
    restart|reload|force-reload)
        echo &quot;Error: argument &#039;$1&#039; not supported&quot; &gt;&amp;2
        exit 3
        ;;
    stop|status)
        # No-op
        ;;
    *)
        echo &quot;Usage: $0 start|stop&quot; &gt;&amp;2
        exit 3
        ;;
esac

:</code></pre></div><p>Feel free to point out where it mounts NFS filsystems &quot;not as a side effect of networking&quot;, because I sure don&#039;t see any calls to /bin/mount, and the header quite clearly contradicts your statement:</p><div class="codebox"><pre><code># Description:       Network file systems are mounted by
#                    /etc/network/if-up.d/mountnfs in the background
#                    when interfaces are brought up</code></pre></div><p>That sure sounds like a &quot;side effect of networking&quot; to me (and it needs to be, since starting networkmanager doesn&#039;t indicate whether or not it successfully brought up an interface via exit codes, rather it backgrounds immediately expecting systemd to query status over dbus). </p><p>All that init script does is loop until the filesystems exist in /proc/self/mountinfo, so that other scripts can use it as a dependency. Actually mounting NFS filesystems is handled by:<br />a) systemd network.target, if /run/systemd/system exists.<br />b) /etc/network/if-up.d/mountnfs, as called by ifup.<br />c) /etc/network/if-up.d/mountnfs, as called by networkmanager-dispatcher.</p><p>a) is obviously not going to happen<br />b) is not how the OPs system is configured, they&#039;re not using ifup / /etc/network/interfaces.<br />c) is broken in Excalibur, because Debian networkmanager behaviour has changed (since Debian uses option a now) and no replacement has been shipped.</p><div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>That kind of NFS mount is supported with sysvinit, and it works as fine with excalibur</p></div></blockquote></div><p>Well unless Andre4freedom is just making things up, it clearly does not when the network is managed by networkmanager. <br />If you don&#039;t want to actually look at the logs you asked for, read the shell scripts you reference, or offer any constructive advice... You do you.</p><p>@Andre4freedom: You might try grabbing that missing file (/etc/NetworkManager/dispatcher.d/01-ifupdown) from the Daedalus network-manager package. Like I said I don&#039;t have a system to test it on, but the manual suggests networkmanager should still call it if it exists.<br />Add some printfs (or drop a &#039;set -x&#039; for mondo verboseo) in the relevant scripts if you need more info on what is going on... There are no NFS related errors in your logs, and I&#039;m pretty confident that&#039;s because nothing is even trying to mount NFS right now.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Thu, 06 Nov 2025 04:32:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59197#p59197</guid>
		</item>
		<item>
			<title><![CDATA[Re: Excalibur: Mounting NFS shares using /etc/fstab]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59182#p59182</link>
			<description><![CDATA[<p>Traditionally, NFS mounts are set up as declared in fstab via the init script mountnfs.sh, and it&#039;s not as a side effect of networking. That kind of NFS mount is supported with sysvinit, and it works as fine with excalibur as it has done with prior repository codenames.</p><p>Clearly one may insist on some different NFS mount behaviour.. In such a case one will need to set up the system to support that.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 05 Nov 2025 22:56:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59182#p59182</guid>
		</item>
	</channel>
</rss>
