Attempting to go from 1.2.6-S1 to 1.2.7-epa1 this morning breaks my system.
The problem manifests itself as a router that's VERY quick to issue the "Mounting Vyos Config...done" statement, while 1.2.6-S1 usually takes ~60 seconds before it shows this.
I am left with a debian login: prompt, instead of the name of my router. No user/pass combination that I try works, so I'm unable to login. I booted back to 1.2.6-S1 and looked at the contents of
/lib/live/mount/persistence/boot/1.2.7-epa1/rw/var/log/vyatta/vyatta-config-loader.log and it contains:
2021-02-27 20:08:20 == begin boot-config-loader 2021-02-27 20:08:20 -- begin load Invalid config file (syntax error): error at line 1256, text [.] Failed to parse specified config file 2021-02-27 20:08:20 -- load finished with failure(s) 2021-02-27 20:08:20 -- begin commit 2021-02-27 20:08:20 -- commit succeeded 2021-02-27 20:08:20 -- teardown succeeded 2021-02-27 20:08:20 -- exiting 2021-02-27 20:13:52 == begin boot-config-loader 2021-02-27 20:13:52 -- begin load Invalid config file (syntax error): error at line 1256, text [.] Failed to parse specified config file 2021-02-27 20:13:53 -- load finished with failure(s) 2021-02-27 20:13:53 -- begin commit 2021-02-27 20:13:53 -- commit succeeded 2021-02-27 20:13:53 -- teardown succeeded 2021-02-27 20:13:53 -- exiting 2021-02-27 20:15:53 == begin boot-config-loader 2021-02-27 20:15:53 -- begin load Invalid config file (syntax error): error at line 1256, text [.] Failed to parse specified config file 2021-02-27 20:15:54 -- load finished with failure(s) 2021-02-27 20:15:54 -- begin commit 2021-02-27 20:15:54 -- commit succeeded 2021-02-27 20:15:54 -- teardown succeeded 2021-02-27 20:15:54 -- exiting
My config, with line numbers:
1248 name-server "192.168.0.1" 1249 ntp { 1250 allow-clients { 1251 address "192.168.0.0/16" 1252 } 1253 listen-address "192.168.0.1" 1254 listen-address "192.168.0.251" 1255 server { 1256 nz.pool.ntp.org { 1257 prefer { 1258 } 1259 } 1260 } 1261 }
I assume there's a problem in 1.2.7-epa1 parsing the ntp server name?
Happy to provide whatever debug/outputs required, but keep in mind this is system I can't login to, so that makes live debug of the running system hard.