Hello all,
During I had been migrating to the QuarkDB namespace, I found a troublesome command in the manual page:
sed -i 's/fi/ redis.myself localhost:700'"${i}"'\n&/' /etc/xrootd/xrootd-quarkdb${i}.cfg
It does not work because in the configuration file:
if exec xrootd
xrd.port 7777
xrd.protocol redis:7777 /usr/lib64/libXrdQuarkDB.so
redis.mode raft
redis.database /var/quarkdb
redis.password_file /etc/eos.keytab
fi
password_file
contains fi
, so the regex matches there instead of the one in the last line. Thus, the command screws it up.
Best,
Masanori