From 2d32d325df9c13609f73f1c6da36cd3656b657ed Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Fri, 19 Sep 2025 09:25:56 -0500 Subject: T7836: use /opt/vyatta/etc/config as source of truth in tpm encryption The mount point /opt/vyatta/etc/config is considered the source of truth whereas /config is simply a bind mount of convenience. As the latter is no longer defined at boot, all operations should use the former. --- src/init/vyos-router | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/init') diff --git a/src/init/vyos-router b/src/init/vyos-router index e6e1f3b9b..34c216cd6 100755 --- a/src/init/vyos-router +++ b/src/init/vyos-router @@ -120,7 +120,6 @@ mount_encrypted_config() { return 1 fi - mount /dev/mapper/vyos_config /config mount /dev/mapper/vyos_config $vyatta_sysconfdir/config echo "Mounted encrypted config volume" @@ -143,7 +142,6 @@ unmount_encrypted_config() { return fi - umount /config umount $vyatta_sysconfdir/config cryptsetup close vyos_config -- cgit v1.2.3