I am evaluating using mender for managing beaglebone black devices already installed. I have followed documentation to install demo mender server and ran bash script file provided by demo server to add beaglebone black board.
I haven’t figured out why yet, but after a period of time the BB ‘crashes’ - I am unable to connect to it via ssh and screen shows black with just a mouse cursor (no mouse connected but it does have a LCD4 touch screen) and requires reset to startup again. I have not connected usb serial cable yet to try see if I can glean anything but have started looking at log files.
In /var/log/messages file I see error:
level=warning msg="inventory tool /usr/share/mender/inventory/mender-inventory-rootfs-type returned unparsable output: incorrect line 'ext4'" module=inventory_data
mender-inventory-rootfs-type file contains
#!/bin/sh
# Determines what the root filesystem type is.
FS_TYPE="$(grep ' / ' /proc/mounts | awk '{print $3}')"
echo rootfs_type="$FS_TYPE"
running mender-inventory-rootfs-type outputs
rootfs_type=rootfs
ext4
cat /proc/mounts returns
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=63201,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=101728k,mode=755 0 0
/dev/disk/by-uuid/0cde73cc-999f-4a3c-bb74-fbafce68a889 / ext4 rw,noatime,errors=remount-ro,data=ordered 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
…
Maybe script was only meant to return 1 line, but based on /proc/mounts it will return two results rootfs and ext4
I am not sure if this is issue but it is warning I can’t explain.