← Back to team overview

ubuntu-phone team mailing list archive

Re: Setting / size in BQ M10 HD device (2)

 

 

Hi again, Oli, 

I've found that there is an issue related to python and the /dev/urandom
device.  Once running the comand: 

libertine-container-manager create --id vivid -d vivid --type chroot
--name 'Testing Ubuntu touch' --force 

/dev/urandom device can't be used: 

libertine-container-manager --help 

Fatal Python error: Failed to read bytes from /dev/urandom
Aborted 

dd if=/dev/urandom of=random.out bs=512 count=1 

0+0 records in
0+0 records out
0 bytes (0 B) copied, 0,00225508 s, 0,0 kB/s 

Even I can't connect to the ssh server. 

ssh phablet@192.168.1.39 

ssh_exchange_identification: read: Connection reset by peer 

I must reboot to make the system usable. 

Did you find the same behaviour? 

Regards 

On 2016-05-21 11:38, Ramiro Alba wrote: 

> Hi oli, 
> 
> By following the steps on the link bellow, after downloading the bootstrap and starting to configurre packages, I get the error (/home/phablet/.cache/libertine-container/puritine2/rootfs/debootstrap/debootstrap.log): 
> 
> .... 
> 
> Created symlink from /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service to /lib/systemd/system/systemd-timesyncd.service.
> Failed to open /dev/urandom: Input/output error
> dpkg: error processing package systemd (--configure):
> subprocess installed post-installation script returned error exit status 1
> Setting up dmsetup (2:1.02.90-2ubuntu1) ...
> dpkg: systemd-sysv: dependency problems, but configuring anyway as you requested:
> systemd-sysv depends on systemd; however:
> Package systemd is not configured yet. 
> 
> Setting up systemd-sysv (219-7ubuntu3) ...
> Setting up init (1.22ubuntu11) ...
> Errors were encountered while processing:
> systemd
> dpkg: error: --install needs at least one package archive file argument 
> 
> It seems as the /dev is not mounted. Any ideas? 
> 
> Regards 
> 
> On 2016-05-18 13:14, Oliver Grawert wrote: 
> hi,
> Am Mittwoch, den 18.05.2016, 07:22 +0200 schrieb Ramiro Alba: Lovely. Many thanks
> 
> El 18 de mayo de 2016 1:53:01 CEST, Wade Menard <wade@xxxxxxxx>
> escribió:
> You are quite right. I did not remember of thinking chroot that way. Do you have any docs at hand just to follow a procedure for that case?
> 
> Check out dobey's answer at AskUbuntu:
> https://askubuntu.com/questions/620740/recommended-way-to-install-regularcli-deb-packages-on-ubuntu-phone/623311#623311 
> if you also want to run graphical stuff, try a libertine container:
> 
> https://docs.google.com/document/d/1yJepibh68YaQijWO3Z3dWTtTTmzXnMmEE8eswhUXzw4/edit
> 
> ciao
> oli

-- 

Ramiro Alba 

Centre Tecnològic de Tranferència de Calor
http://www.cttc.upc.edu

Escola Tècnica Superior d'Enginyeries 
Industrial i Aeronàutica de Terrassa 
Colom 11, E-08222, Terrassa, Barcelona, Spain
Tel: (+34) 93 739 8928 
-- 
Aquest missatge ha estat analitzat per MAILSCANNER [1] 
a la cerca de virus i d'altres continguts perillosos, 
i es considera que está net.

-- 

Ramiro Alba 

Centre Tecnològic de Tranferència de Calor
http://www.cttc.upc.edu

Escola Tècnica Superior d'Enginyeries 
Industrial i Aeronàutica de Terrassa 
Colom 11, E-08222, Terrassa, Barcelona, Spain
Tel: (+34) 93 739 8928 

Links:
------
[1] http://www.mailscanner.info/

-- 
Aquest missatge ha estat analitzat per MailScanner
a la cerca de virus i d'altres continguts perillosos,
i es considera que est�et.


Follow ups

References