Hello
We are building a custom Torizon minimal OS for our devices. What we noticed is that sometimes when building it produces a “corrupt” image.
The build process finishes without errors and the image is uploaded to Torizon Cloud successfully. But when we install it on the device we see a lot of errors like here:
[FAILED] Failed to start Network Name Resolution.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Name Resolution.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Name Resolution.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Name Resolution.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Configuration.
[FAILED] Failed to start Avahi mDNS/DNS-SD Stack.
[FAILED] Failed to start D-Bus System Message Bus.
[DEPEND] Dependency failed for Network Manager.
[DEPEND] Dependency failed for Network Manager Wait Online.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start Network Configuration.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start Network Configuration.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start Network Configuration.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start Bluetooth service.
[FAILED] Failed to start Network Configuration.
[FAILED] Failed to start Network Configuration.
[FAILED] Failed to start System Logger Daemon "default" instance.
[FAILED] Failed to start Disk device monitor based on udisks2.
[FAILED] Failed to start System Logger Daemon "default" instance.
[FAILED] Failed to start System Logger Daemon "default" instance.
[FAILED] Failed to start System Logger Daemon "default" instance.
[FAILED] Failed to start System Logger Daemon "default" instance.
[FAILED] Failed to start System Logger Daemon "default" instance.
The device can’t connect anymore with the cloud agent so we can’t install another working software either.
We dug a bit deeper and found that the group file seems to be incomplete:
# NSS altfiles module is installed. Default user, group and shadow files are in
# /usr/lib/
adm:x:4:torizon
dialout:x:20:torizon
sudo:x:27:torizon
audio:x:29:torizon
video:x:44:torizon
plugdev:x:46:torizon
gpio:x:49:torizon
i2cdev:x:51:torizon
spidev:x:52:torizon
pwm:x:54:torizon
users:x:100:torizon
input:x:101:torizon
torizon:x:1000:
We are using a fork of your torizon-manifest repo and build using bitbake. My assumption is that it happens when we change branches and start a new build. Maybe you have some more insight why this happens?
Best Regards,
Ian