One of our customers is running an unattended (the company that was doing the maintenance left time ago) installation of VyOS 1.1.7.
Everything was working normally, until a few days ago there was an issue with the host hardware (both the RAID card and battery had to be replaced). The system runs under VMWare.
After booting up the vm again, it didn’t configure services as before. In fact, the /config directory appears only with a default skeleton content.
I have no idea about this system (I admit it), and I’m kind of lost. I’ve been able to find the original configuration under /opt/vyatta/etc/config (which as per /etc/init.d/vyatta-router is supposed to be bind-mounted at /config on boot, but that’s not happening).
Copying all of it under /config and running manually the “/etc/init.d/vyatta-router start” script the services (mainly 3 openvpn instances and an ipsec vpn) start correctly (more or less, there’s a problem with library dependencies for openvpn-auth-ldap.so but well, 1st things 1st). But no changes are kept upon reboots and of course things must be started manually after rebooting. Since this system works heavily under those overlay/ro fs, it’s not just a simple Debian host.
After booting, the mounted fs’s are:
# df -ah Filesystem Size Used Avail Use% Mounted on overlayfs 249M 36M 214M 15% / tmpfs 249M 0 249M 0% /lib/init/rw proc 0 0 0 - /proc sysfs 0 0 0 - /sys udev 241M 164K 241M 1% /dev tmpfs 249M 4.0K 249M 1% /dev/shm devpts 0 0 0 - /dev/pts /dev/sda1 7.8G 582M 6.8G 8% /live/image tmpfs 249M 36M 214M 15% /live/cow tmpfs 249M 0 249M 0% /live tmpfs 249M 0 249M 0% /tmp tmpfs 249M 36M 214M 15% /opt/vyatta/etc/config fusectl 0 0 0 - /sys/fs/fuse/connections none 249M 896K 248M 1% /opt/vyatta/config /live/image/boot/1.1.7 7.8G 582M 6.8G 8% /boot /live/image/boot/grub 7.8G 582M 6.8G 8% /boot/grub none 249M 896K 248M 1% /opt/vyatta/config /live/image/boot/1.1.7 7.8G 582M 6.8G 8% /boot /live/image/boot/grub 7.8G 582M 6.8G 8% /boot/grub
I can share any other information needed.
Could this system be salvaged? Or it’s not worth the effort?