Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-7245

Properly abort the database setup if tar can't extract the database dumps.

XMLWordPrintable

      An easy way to make it fail:

      sudo mount -o remount,size=X -t tmpfs tmpfs /tmp (where X is like 5MB or so over the current usage of /tmp to not make other applications fail immediately).

      Now use ./admin/InitDb.pl --createdb --import to import data into a new database. Tar will complain about not being able to extract all the data, but initdb will still continue to run SQL scripts on the database.

            mineo Wieland Hoffmann
            mineo Wieland Hoffmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2014-02-17