openziti / ziti-tunnel-sdk-c

Apache License 2.0
43 stars 16 forks source link

ziti-edge-tunnel dump does not obey path parameter and does not complete dump #790

Open gormami opened 8 months ago

gormami commented 8 months ago

The dump subcommand indicates it takes a path parameter, but does not appear to do so.

Also when it is dumped into the journal, the information is not complete, it cuts off before the services list is complete and other information is missing.

image
qrkourier commented 8 months ago

I see what you mean about the truncated dump to stdout.

As a workaround, I've found the -p /tmp/dump option to create complete dumps for each loaded identity, one per *.ziti file in the specified directory, which must be pre-existing.

qrkourier commented 8 months ago

Importantly, the dump sub-command sends IPC to the daemon, which in turn writes the dump. If a path -p is given, then the daemon, running as user ziti, must have write permission on the specified directory.