Re: [Ltsp-developer] Serious flaw in virtual-ltsp scripts

Dashamir Hoxha <[email protected]> Sat, 6 Oct 2018 12:23:28 +0200
Newsgroups gmane.linux.terminal-server.general,gmane.linux.terminal-server.devel
Message-ID <CAMucfLwPASBBVk9sAkSQX10zHeEnMmCcmWFKvYqBFZZKh66wDg@mail.gmail.com>
--===============6167118418091770645==
Content-Type: multipart/alternative; boundary="0000000000002c5f8b05778cc867"

--0000000000002c5f8b05778cc867
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 6, 2018 at 10:56 AM Alkis Georgopoulos <[email protected]> wrote=
:

> =CE=A3=CF=84=CE=B9=CF=82 06/10/2018 11:40 =CF=80=CE=BC, =CE=BF Dashamir H=
oxha =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5:
> > By the way, `man lts.conf` gives a "No manual entry for lts.conf" error=
.
>
> apt install ltsp-docs
>

Sorry, I have missed this.

I am going to test the other proposed solutions and I will let you know.

Thanks,
Dashamir


>
>  > However, I think that this is not a very "clean" solution, since all
>  > the extra files installed by the extra packages will still go to the
>  > client image.
>
> In chrootless ltsp, the server is a template of the clients.
> It's not "your generic apache/php/mysql server that also happens to be a
> template for clients". Because then it's not a template.
>
> > I get the impression that any scripts listed on `/etc/ltsp/cleanup.d`
> > will be called automatically, besides the scripts on
> `/usr/share/ltsp/cleanup.d`,
>
> Yes you can uninstall packages from there.
> /etc is for administrators, /usr is for packages.
> I'm not sure what "virtual-ltsp" aims to be.
>
> > Another possible solution, which would be "clean" in my opinion, is
> > to create a chroot directory by taking a snapshot/copy of the root ("/"=
)
> > directory. Then it can be managed as a chroot client image (chroot to i=
t,
> > install new packages and software, etc.) Then whatever is installed on
> > the server after the creation of the chroot directory does affect the
> > content
>
> That's just like `cp -a / /opt/ltsp/i386`. There's no need to get a
> specific tool for it. And then it still involves chroots for
> maintenance, which is what chrooted ltsp wants to avoid, as not all
> people like to use console to maintain installations.
>
>
> _____________________________________________________________________
> 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
>

--0000000000002c5f8b05778cc867
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Sat, Oct 6,=
 2018 at 10:56 AM Alkis Georgopoulos &lt;<a href=3D"mailto:[email protected]=
">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
=CE=A3=CF=84=CE=B9=CF=82 06/10/2018 11:40 =CF=80=CE=BC, =CE=BF Dashamir Hox=
ha =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5:<br>
&gt; By the way, `man lts.conf` gives a &quot;No manual entry for lts.conf&=
quot; error.<br>
<br>
apt install ltsp-docs<br></blockquote><div><br></div><div>Sorry, I have mis=
sed this.</div><div><br></div><div>I am going to test the other proposed so=
lutions and I will let you know.</div><div><br></div><div>Thanks,</div><div=
>Dashamir</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=C2=A0&gt; However, I think that this is not a very &quot;clean&quot; solut=
ion, since all<br>
=C2=A0&gt; the extra files installed by the extra packages will still go to=
 the<br>
=C2=A0&gt; client image.<br>
<br>
In chrootless ltsp, the server is a template of the clients.<br>
It&#39;s not &quot;your generic apache/php/mysql server that also happens t=
o be a <br>
template for clients&quot;. Because then it&#39;s not a template.<br>
<br>
&gt; I get the impression that any scripts listed on `/etc/ltsp/cleanup.d` =
<br>
&gt; will be called automatically, besides the scripts on `/usr/share/ltsp/=
cleanup.d`,<br>
<br>
Yes you can uninstall packages from there.<br>
/etc is for administrators, /usr is for packages.<br>
I&#39;m not sure what &quot;virtual-ltsp&quot; aims to be.<br>
<br>
&gt; Another possible solution, which would be &quot;clean&quot; in my opin=
ion, is<br>
&gt; to create a chroot directory by taking a snapshot/copy of the root (&q=
uot;/&quot;)<br>
&gt; directory. Then it can be managed as a chroot client image (chroot to =
it,<br>
&gt; install new packages and software, etc.) Then whatever is installed on=
<br>
&gt; the server after the creation of the chroot directory does affect the =
<br>
&gt; content<br>
<br>
That&#39;s just like `cp -a / /opt/ltsp/i386`. There&#39;s no need to get a=
 <br>
specific tool for it. And then it still involves chroots for <br>
maintenance, which is what chrooted ltsp wants to avoid, as not all <br>
people like to use console to maintain installations.<br>
<br>
<br>
_____________________________________________________________________<br>
Ltsp-developer mailing list.=C2=A0 =C2=A0To un-subscribe, or change prefs, =
goto:<br>
=C2=A0 =C2=A0 =C2=A0 <a href=3D"https://lists.sourceforge.net/lists/listinf=
o/ltsp-developer" rel=3D"noreferrer" target=3D"_blank">https://lists.source=
forge.net/lists/listinfo/ltsp-developer</a><br>
For additional LTSP help,=C2=A0 =C2=A0try #ltsp channel on <a href=3D"http:=
//irc.freenode.net" rel=3D"noreferrer" target=3D"_blank">irc.freenode.net</=
a><br>
</blockquote></div></div>

--0000000000002c5f8b05778cc867--


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


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

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

--===============6167118418091770645==--