Issue Details (XML | Word | Printable)

Key: CORE-4624
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: MichaƂ Ziemski
Votes: 1
Watchers: 4

If you were logged in you would be able to see more operations.
Firebird Core

Firebird handles ':' characters in mount table entries invalid

Created: 24/Nov/14 02:17 PM   Updated: 23/Sep/15 11:31 AM
Component/s: Engine
Affects Version/s: 2.5.3, 3.0 Beta 1
Fix Version/s: 2.5.4, 3.0 Beta 2

File Attachments: 1. Text File firebird-docker.patch (0.5 kB)

Environment: CentOs 7 Docker 1.3.1

QA Status: Cannot be tested

 Description  « Hide
When running under docker Firebird won't start.

As far as I was able to debug the issue the reason is as follows:

Under Docker the mount table looks somewhat like follows:
/dev/mapper/docker-9:1-3063-cf43ec04ee218f73bcc6e0b31f04c73a7c2df8b838a4a391b3b70462d58345e0 on / type ext4 (rw,relatime,discard,stripe=16,data=ordered)

It contains a colon character ':' which is handled specially somewhere in src/jrd/isc_file.cpp
As a result only the former part "/dev/mapper/docker-9" gets prepended to the file name in
the call to isc_expand_filename with expand_mounts = true

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.