On v0.9.12, I am observing an issue with XTGeoIP exports: the *.iv4 files
do not get written.
The sample command I use to reproduce this on Ubuntu 20.04 is very basic:
location export --format xt_geoip --directory /usr/share/xt_geoip
All IPv6 outputs are written successfully, but upon reaching IPv4 it errors
with:
(25, 'Inappropriate ioctl for device')
A quicker test case is to add argument `--family ipv4` so that IPv6 is
hopped over and it tries IPv4 right away.
With strace, it seems to be:
openat(AT_FDCWD, "/usr/share/xt_geoip/A1.iv4",
O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
ioctl(4, TCGETS, 0x7ffd234c3260) = -1 ENOTTY (Inappropriate ioctl
for device)
Please let me know if I can provide any further information.
Best regards,
Valters Jansons