Re: ltspfs-1.4

Vagrant Cascadian <[email protected]> Thu, 21 Aug 2014 21:53:44 -0700
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
--===============2978392734013753700==
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"

--=-=-=
Content-Type: text/plain

On 2014-08-21, Jigish Gohil wrote:
> Thanks for getting ltspfs to work with systemd and fixing the mount problem,

Thanks for testing!


> Here are some of the changes I had to make:
>
> #no return in non-void function
>
> diff -ur a/src/lbmount.c b/src/lbmount.c
> --- a/src/lbmount.c    2014-08-21 18:40:26.000000000 +0530
> +++ b/src/lbmount.c    2014-08-21 19:12:17.000000000 +0530
> @@ -232,4 +232,5 @@
>
>          exit(0);
>      }
> +return 0;
>  }

Ok. seems reasonable.


> #service file should not have execute bit set
>
> chmod -x /usr/lib/systemd/system/ltspfsd.service

It wasn't marked executable in my copy of the sources or packaging...


> # service file missing install section
> cat /usr/lib/systemd/system/ltspfsd.service
> [Unit]
>
> Description=LTSP Filesystem Daemon
>
> [Service]
> Type=forking
> ExecStart=/usr/bin/ltspfsd
>
> [Install]
> WantedBy=graphical.target

This would start it weather devices were plugged in or not, no?  The way
I had it set up, it was started from udev on the first valid device
insertion. Did this not work for you?


live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJT9szYAAoJELeLgtSBS5G2HroP/3oMmN5jZRjbxQd9RUw44i7/
h+D2eUq7TWY3BD+7n/TuPjGE73jv4uipZmqEAGOqd0jYJ5rPTJa/2P82GP7/kaLZ
UUcPtwbIL+q7O5gXgGhrByxO/rnBSPbJaTv4pO7nqFAadyPcH8F0XiQNv2NaWRMe
dYjTPzlHHp5SX+bIuRVWHGASvc8F3vt8k0QocnEWxq97OGvRAwUP409UDZmddams
59rPgCQKmWsK3/i0b/av/EirKPxg12SEBeCc0YlvNBgDItoUOElE2zcyar7AP1qB
XHqy94uulhWq+OZcQO82FTEjRO4rTUUQI6XJkDde0sQQc1OOdx5eycMhC3cC0xKg
9mOXrqXsYMPsL7ZXqgE3cgJMDtehooZxMN4MYx2PeJG4saTOLUPmM+tH/NfLN1qa
w+uzHosaKhZq78w4Rpqr6eHixHG8Gi77C+0Il3t/4G0qyYem8dKvrv7JmL5nijgq
xjJG5SzN7eRjqypqZc/osSZ+xpze0nlWoIJMUuXetHJsqEF06M9j1Ua2wy7LMkyP
rajqIqzwnY4FQDgqgd7euZ1VUoVtx8dE5NxMnAEoNHgRuSXuKAu9idBfnqVRx2io
azQpHW2oROIFoS6Uswgd1HQBZhmEkEJrUYpXAASzLJs41Ll3D0OdoUMEE/Gh8VtY
dOwBZmTQ8wmixzX+scQG
=kDPC
-----END PGP SIGNATURE-----
--=-=-=--


--===============2978392734013753700==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
--===============2978392734013753700==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net

--===============2978392734013753700==--