hypriot / image-builder-rpi

SD card image for Raspberry Pi with Docker: HypriotOS
http://blog.hypriot.com/post/how-to-get-docker-working-on-your-favourite-arm-board-with-hypriotos/
MIT License
1.07k stars 168 forks source link

collectd installation on v1.12.0 bricks os #347

Open mxklb opened 4 years ago

mxklb commented 4 years ago

I use a vanilla flashed hypriotos-rpi-v1.12.0.img.zip on a PI4 and execute:

sudo apt-get update
sudo apt-get upgrade

then reboot and execute

sudo apt-get install collectd

after rebooting again the os is bricked:

HypriotOS/armv7: pirate@black-pearl in ~
$ touch test
touch: cannot touch 'test': Read-only file system

I think this is unwanted behavior which is reproducible for me. Attached some logs and cloudinit file:

I substitute placeholders in the user-data-template.yml with sed before usage.

mxklb commented 4 years ago

With hypriotos-rpi-v1.11.1.img on the same PI4 with same sd & cloudinit config, same sequence of commands runs fine - collectd gets installed successfully. Maybe someone can try to reproduce this behavior, but actually I couldn't figure out what caused this using the v1.12.0 release .. ?

For now, I'll therefore stick to the older v1.11.1 release :(