Hi, I setup armbian version 5.6 (Ubuntu 16.04.5 Xenial) on OrangePI PC. Working long time without problem. But after power failure I found that directories in /var/run have bad permissions and some daemons won't start. After investigation I found failure start of systemd-tmpfiles:
systemd-tmpfiles[210]: Failed to fstat() file /dev/btrfs-control: Bad file descriptor
systemd-tmpfiles[210]: Failed to fstat() file /dev/net: Bad file descriptor
systemd-tmpfiles[210]: Failed to fstat() file /dev/net/tun: Bad file descriptor
I setup debug loglevel and got this:
systemd-tmpfiles[210]: Failed to fstat() file /dev/btrfs-control: Bad file descriptor
systemd-tmpfiles[210]: Running create action for entry d /dev/net
systemd-tmpfiles[210]: Created directory "/dev/net".
systemd-tmpfiles[210]: Failed to fstat() file /dev/net: Bad file descriptor
systemd-tmpfiles[210]: Running create action for entry c /dev/net/tun
systemd-tmpfiles[210]: Created char device node "/dev/net/tun" 1:128.
systemd-tmpfiles[210]: Failed to fstat() file /dev/net/tun: Bad file descriptor
Corrupted filesystem? I created /forcefsck and reboot. But /dev directory is not on root filesystem and is dynamicaly created.
I apologize for my English, Thanks.