Hi,

running owfs 3.2p1-1 on ArchLinux (installed via aur), with recent systemd the mount for owfs does not show up in the system. This is caused by the RuntimeDirectory in /run essentially being a bind-mount from somewhere else (as researched by the nice folks in the #systemd channel). The mount of owfs then doesn't propagate to the rest of the system and is invisible to everything but the owfs process.

Please change the mount to somewhere outside of /run, I propose /dev/bus/owfs. See attached file.

    Chris

>From 1c002467e07c15664227b22b6644feb17a222abb Mon Sep 17 00:00:00 2001
From: Christian Vogel <vogel...@vogel.cx>
Date: Sun, 7 Jan 2018 14:36:32 +0100
Subject: [PATCH] Move owfs mount from /run/owfs to /dev/bus/owfs.

---
 src/scripts/systemd/owfs.service.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/scripts/systemd/owfs.service.in b/src/scripts/systemd/owfs.service.in
index 80b3ffa..4c48e1a 100644
--- a/src/scripts/systemd/owfs.service.in
+++ b/src/scripts/systemd/owfs.service.in
@@ -5,9 +5,9 @@ Documentation=man:owfs(1)
 [Service]
 Type=notify
 NotifyAccess=all
-ExecStart=@bindir@/owfs --server=127.0.0.1 --allow_other %t/owfs
-ExecStop=/usr/bin/umount %t/owfs
-RuntimeDirectory=owfs
+ExecStartPre=mkdir -p /dev/bus/owfs
+ExecStart=@bindir@/owfs --server=127.0.0.1 --allow_other /dev/bus/owfs
+ExecStop=/usr/bin/umount /dev/bus/owfs
 
 [Install]
 WantedBy=multi-user.target
-- 
2.15.1

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to