eg_db_config bug : --config-file seems to cause --offline-file to be required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
EG 3.11.1 - was just running the eg_db_config script with the following arguments
~/Evergreen$ perl Open-ILS/
--update-config --config-file /openils/
--service all --create-offline \
--user evergreen --password password --hostname 192.168.0.1 --port 5432 --database egdbdev-test
Backed up original configuration file to '/openils/
Could not write offline database setup to /offline-config.pl
The offline database path seems like it got set "/" for some reason.
Removing the "--config-file /openils/
~/Evergreen$ perl Open-ILS/
--update-config \
--service all --create-offline \
--user evergreen --password password --hostname 192.168.0.1 --port 5432 --database egdbdev-test
Backed up original configuration file to '/openils/
Writing offline database configuration to /openils/
Specifying the "--offline-file" argument also works fine. But it seems like a bug that "--config-file" causes "--offline-file" to be required.
Marked as duplicate of bug 2033069, didn't see that until after I hit submit of course.