RE: LTSP issues in Debian-Edu.
- To: <debian-edu@lists.debian.org>
- Subject: RE: LTSP issues in Debian-Edu.
- From: "Oded Naveh" <skilinux@gmail.com>
- Date: Tue, 7 Apr 2009 03:41:38 +0300
- Message-id: <[🔎] A5A0EFD045A3409D836B5112002558B3@static00>
- In-reply-to: <9accbcb40903251218h11b81c02r4629706a4fef9121@mail.gmail.com>
- References: <D9F21AE954D34FE7973AFDCC7536B54A@static00> <200903181407.32674.holger@layer-acht.org> <20090318175216.GR5741@ryukin.fglan> <B520F142E88E41F992AF9D7A3F31C4F3@static00> <9accbcb40903251218h11b81c02r4629706a4fef9121@mail.gmail.com>
As there were no objections ;) I checked in this plug-in tonight.
I took the easy way and added it with the other plug-ins in
debian-edu-config.deb, which means it will persist.
Personally, it doesn't bother me, but if desired there are
several methods to make it go away.
Odd.
>Oded Naveh: Wednesday, March 25, 2009 9:18 PM
>>On Fri, Mar 20, 2009 at 3:25 AM, Oded Naveh wrote:
>>
>> Vagrant Cascadian: Wednesday, March 18, 2009 7:52 PM
>>>
>>> On Wed, Mar 18, 2009 at 02:07:32PM +0100, Holger Levsen wrote:
>....
>>> > > 3) When 'ltsp-client-builder' fails for any reason it has
>>> no second chance.
>>> > > Any attempt of the installer to rerun the builder will fail
>>> > > without user intervention, because /opt/ltsp/i386
>already exists,
>>> > > if debconf priority is high the installer will be looping.
>>> >
>>> > It would be nice to get this fixed (to succeed to install, but also
>>> > not to loop endless in case of failure.) Can you please
>>> open a bug about the latter?
>>>
>>> yeah, that's kind of ugly. though doesn't debian-installer usually
>>> lower the debconf priority whenever a step fails?
>> Certainly does, usually.
>> For some reason it did loop for me but I didn't keep the log
>to show it.
>> I'd look into it, maybe it will be easier to write a rm line
>Than a bug report.
>....
>Seems to me, the way to do it is to put our own plug-in
>'020-rootpath' into
>/etc/ltsp/plugins/ltsp-build-client or
>/usr/share/ltsp/plugins/ltsp-build-client/Debian-custom
>
>Which one?
>
>Containing something like:
>case "$MODE" in
> before-install)
> ROOT=$BASE/$CHROOT
> if [ -d $ROOT ] ; then
> rm --force --recursive $ROOT
> exit 0
> fi
> mkdir --parents "$ROOT"
> ;;
>esac
>
>It may later be removed by finish-install, or left for farther use?
>
>Is that correct?
>Odd.
Reply to: