|
Michal,
It seems this was an issue related to your setup/configuration within docker container, not a Firebird issue. Correct? Actually it seems to be a problem with firebird failing to interpret the colon character in the
device name. As far as I understand the code in src/jrd/isc_file.cpp firebird is checking the type of device (disk, nfs, etc) the database is on. It does so heuristicly by looking for ':' and '/' characters. The device name provided by docker (as far as I understand what's going on - this is my first time using gdb in 10 years or so) is not being interpreted correctly. Michal, you are absolutely right - it's a bug in a code that does not expect ':' in file name.
This is a work-around.for
Fix required modification of OS-dependent code.
I want results of at least MAC build before backporting it to 2.5. |
The trick is not to have any databases (including security2.fdb on the main mount point.
Start a docker container with some volume mounted.
Inside the container copy security2.fdb to the mounted volume and replace the original
security2.fdb with a link to the file on the mounted volume.
Now firebird will now start without problems.