BIND 10 #1982: sqlite database upgrade during make install
BIND 10 Development
do-not-reply at isc.org
Fri May 18 09:43:22 UTC 2012
#1982: sqlite database upgrade during make install
-------------------------------------+-------------------------------------
Reporter: cas | Owner:
Type: enhancement | UnAssigned
Priority: medium | Status: new
Component: build system | Milestone: New
Sensitive: 0 | Tasks
Sub-Project: Core | Keywords:
Estimated Difficulty: 0 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
I'm trying to build new RPM packages for BIND 10 20120517.
Even though I'm installing into a sandbox directory (with make
DESTDIR=/sandbox install), the makeinstall script stops with an error that
my sqlite DB in /usr/local/var/bind10-devel/zone.sqlite is of version 1
and I need to upgrade it to version 2. That file is not in the sandbox and
should be of no concern when building packages.
I would prefer if the upgrade check (and maybe even the automatic upgrade
of the database) is done when BIND 10 is started, not during the install
script.
The "install" step is run during installation from source. The upgrade
check (and the upgrade) should also be done after installing from binary
package, or after the user has restored a backup of an old database.
It is therefore easier to handle for the user of BIND 10 if the database
upgrade is done during the start of the BIND 10 system (for example the
"Boss of BIND" could make this check).
--
Ticket URL: <http://bind10.isc.org/ticket/1982>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list