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

Bug#780591: ltsp-client-builder fails when installing Debian Edu combined server in virtualbox environment



On Tue, Mar 17, 2015 at 09:42:18AM -0700, Vagrant Cascadian wrote:
> On 2015-03-17, Petter Reinholdtsen wrote:
> > I tested a usbstick install, and as far as I can tell, the failing mount
> > is the code in the udeb postinst:
> >
> > if [ "$USE_CDROM" != "false" ] && [ ! -f /target/media/cdrom/.disk/info ]; then
> >     chroot /target mount /media/cdrom
> >     log "mounting /media/cdrom"
> > fi
> >
> > I added 'set -x' at the top of the postinst script to figure out what is
> > going on.  I'm not sure why it fail.
> 
> Is it mounted at that point?

IIRC, during 'select and install software' the image is mounted either 
as /dev/sr0 on /cdrom in the d-i environment or as /dev/sr0 on 
/media/cdrom0 in the target. Seems to be that it is unmounted from 
/cdrom after packages have been fetched and then mounted again if the 
new ones are needed. I haven't investigated this intensively.

> Does /target/etc/fstab contain an entry for
> /media/cdrom (or one that the /media/cdrom symlink points to)?

Yes, for /media/cdrom0 (which is a directory, while cdrom is a symlink
pointing to cdrom0).

> Is USE_CDROM set to "false" (either through preseeding or boot prompt 
> ltsp-client-builder/use_cdrom=true/false)? 

No.

> Do the debian-edu images contain ".disk/info"?

Yes.
 
> It worked for me using the d-i daily images, so I suspect some
> difference with the debian-edu images...
 
Maybe, yes.

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: