[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: LTSP issues in Debian-Edu.



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: