nachdem ein Versuch als Schnellschuss bereits einmal mit dem gleichen Fehler fehlschlug, ich zum Debugging keine Zeit hatte, nun ein neuer Anlauf im neuen Forum mit den hoffentlich benötigten Infos für alle die helfen können
@leonsio: Sorry für die fehlenden Infos damals, ich wollte das nur schnell abstrahlen, falls es etwas generelles gewesen ist.
Ich wollte nun von Version 2.25.15 auf 2.27.7 mit folgendem Befehl aktualisieren:
Code: Alles auswählen
yahm-lxc -n yahm -f -v update
Code: Alles auswählen
yahm-ctl -n yahm start
Der Container ist im Status danach immer noch auf "STOPPED".
Da das Logfile unter /var/log/yahm nichts hergab, habe ich versucht den Container mittels "lcx-start -n yahm" zu starten.
Folgendes Ergebnis:
Code: Alles auswählen
lxc-start: No such file or directory - failed to mount '/var/lib/lxc/yahm/sd-mmcblk0' on '/usr/lib/arm-linux-gnueabihf/lxc/rootfs/media/sd-mmcblk0/'
lxc-start: failed to setup the mount entries for 'yahm'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'yahm'
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the --logfile and --logpriority options.
Code: Alles auswählen
lxc-start 1490778553.429 ERROR lxc_utils - No such file or directory - Mount of '/var/lib/lxc/yahm/sd-mmcblk0' onto '/usr/lib/arm-linux-gnueabihf/lxc/rootfs/media/sd-mmcblk0/' failed
lxc-start 1490778553.429 ERROR lxc_conf - No such file or directory - failed to mount '/var/lib/lxc/yahm/sd-mmcblk0' on '/usr/lib/arm-linux-gnueabihf/lxc/rootfs/media/sd-mmcblk0/'
lxc-start 1490778553.429 ERROR lxc_conf - failed to setup the mount entries for 'yahm'
lxc-start 1490778553.429 ERROR lxc_start - failed to setup the container
lxc-start 1490778553.430 ERROR lxc_sync - invalid sequence number 1. expected 2
lxc-start 1490778553.504 ERROR lxc_start - failed to spawn 'yahm'
lxc-start 1490778553.508 ERROR lxc_start_ui - The container failed to start.
Code: Alles auswählen
lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
lxc.mount.entry = sysfs sys sysfs rw 0 0
lxc.mount.entry = varfs var tmpfs defaults,size=196M 0 0
lxc.mount.entry = devpts dev/pts devpts defaults,newinstance 0 0
lxc.mount.entry = /var/lib/lxc/yahm/sd-mmcblk0 media/sd-mmcblk0/ none defaults,bind 0 0
Im Filesystem ist "/var/lib/lxc/yahm/sd-mmcblk0" vorhanden.
Darin liegt der leere Ordner "measurement" und eine versteckte Datei namens ".initialised".
"media/sd-mmcblk0" wird dann ja ins temporär gemountet rootfs von lxc gemappt.
Das scheint irgendwie nicht zu klappen.
"/usr/lib/arm-linux-gnueabihf/lxc/" ist vorhanden.
Wenn ich "lxc.mount.entry = /var/lib/lxc/yahm/sd-mmcblk0 media/sd-mmcblk0/ none defaults,bind 0 0" in der yahm config auskommentiere, startet der Container. Dann habe ich allerdings keine Statusinformationen zu den Geräten. Kann ja so auch nicht richtig sein den mointpoint einfach wegzulassen. Damit ist aber scheinbar klar, dass das den Container am Starten hindert.
Da ich die CCU2 ja nunmal brauche, bin ich vorerst wieder aufs vorige SD-Image zurückgegangen.
Hat jemand eine Idee woran das nun noch liegen kann?
Ich kann es ja jederzeit nachstellen.
"apt-get update" und "apt-get upgrade" mache ich übrigens vor einem Update immer.
Ich bin für jede Hilfe dankbar...
Gruß
Frank