From 51b624a2f8c8a565c353695c2e70f4fbc755ebc0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 6 Jul 2016 22:44:20 +0200 Subject: [PATCH] Clarifications + next release --- docs/manuals/bacula.sty | 2 +- docs/manuals/en/main/mysql.tex | 21 ++++++++++++++++++++- docs/manuals/en/main/newfeatures.tex | 6 +++--- docs/manuals/en/main/postgresql.tex | 19 +++++++++---------- docs/manuals/version.tex | 2 +- docs/upload | 2 +- 6 files changed, 35 insertions(+), 17 deletions(-) diff --git a/docs/manuals/bacula.sty b/docs/manuals/bacula.sty index 24ebca6b..47b86c7e 100644 --- a/docs/manuals/bacula.sty +++ b/docs/manuals/bacula.sty @@ -79,7 +79,7 @@ \pdfminorversion=4 -\def\version{7.4.1} +\def\version{7.4.2} %% diff --git a/docs/manuals/en/main/mysql.tex b/docs/manuals/en/main/mysql.tex index 1a14d973..4da2bd37 100644 --- a/docs/manuals/en/main/mysql.tex +++ b/docs/manuals/en/main/mysql.tex @@ -10,6 +10,9 @@ \index[general]{Installing and Configuring MySQL -- Phase I } \index[general]{Phase I!Installing and Configuring MySQL -- } +If you have installed MySQL from a package (.deb, .rpm, ...) or +already installed it from source, please skip to the next section. + If you use the ./configure \verb:--:with-mysql=mysql-directory statement for configuring {\bf Bacula}, you will need MySQL version 4.1 or later installed in the {\bf mysql-directory}. If you are using one of the new modes such as @@ -190,11 +193,27 @@ above, you can do: \footnotesize \begin{verbatim} -mysql-directory/bin/mysql -u root mysql +/bin/mysql -u root mysql select * from user; \end{verbatim} \normalsize +Newer versions of MySQL (e.g. 5.7) do not automatically create a user +when granting permissions with the {\bf grant\_mysql\_privileges}, and +so the script may fail. In that case, you will want to do something +similar to the following: + +\footnotesize +\begin{verbatim} +su +(enter root password) +/bin/mysql mysql +create user bacula identified by ''; +\end{verbatim} +\normalsize + +then re-run the script. + \section{Re-initializing the Catalog Database} \index[general]{Database!Re-initializing the Catalog } \index[general]{Re-initializing the Catalog Database } diff --git a/docs/manuals/en/main/newfeatures.tex b/docs/manuals/en/main/newfeatures.tex index cc9c4518..6810d6bc 100644 --- a/docs/manuals/en/main/newfeatures.tex +++ b/docs/manuals/en/main/newfeatures.tex @@ -120,7 +120,7 @@ directories that are encrypted on Windows filesystem. \subsection{SSL Connections to MySQL} There are five new Directives for the Catalog resource in the -\bf{bacula-dir.conf} file that you can use to encrypt the +{\bf bacula-dir.conf} file that you can use to encrypt the communications between Bacula and MySQL for additional security. @@ -142,8 +142,8 @@ Max Full Interval directive but applies to Virtual Full jobs rather that Full jobs. \subsection{New List Volumes Output} -The \bf{list} and \bf{llist} commands have been modified so that when -listing Volumes a new pseudo field \bf{expiresin} will be printed. This +The {\bf list} and {\bf llist} commands have been modified so that when +listing Volumes a new pseudo field {\bf expiresin} will be printed. This field is the number of seconds in which the retention period will expire. If the retention period has already expired the value will be zero. Any non-zero value means that the retention period is still in effect. diff --git a/docs/manuals/en/main/postgresql.tex b/docs/manuals/en/main/postgresql.tex index 52799817..ea402b54 100644 --- a/docs/manuals/en/main/postgresql.tex +++ b/docs/manuals/en/main/postgresql.tex @@ -7,16 +7,8 @@ \index[general]{Installing and Configuring PostgreSQL } \index[general]{Upgrading} -If you are considering using PostreSQL, you should be aware -of their philosophy of upgrades, which could be -destabilizing for a production shop. Basically at every major version -upgrade, you are required to dump your database in an ASCII format, -do the upgrade, and then reload your database (or databases). This is -because they frequently update the "data format" from version to -version, and they supply no tools to automatically do the conversion. -If you forget to do the ASCII dump, your database may become totally -useless because none of the new tools can access it due to the format -change, and the PostgreSQL server will not be able to start. +If you have installed PostgreSQL from a package (.deb, .rpm, ...) or +already installed it from source, please skip to the next section. If you are building PostgreSQL from source, please be sure to add the {\bf \verb:--:enable-thread-safety} option when doing the ./configure @@ -148,6 +140,13 @@ user). or you will have to create one for it, but it does not need to create new users. + In newer versions of PostgreSQL, it will not automatically ask + if the user {\bf bacula} should be able to create databases or + create new users. In that case, you may need to add one of the + many command line options that the program {\bf creatuser} has. + Please see the PostgreSQL documentation that corresponds to the + version you are using. + \item ./create\_bacula\_database This script creates the PostgreSQL {\bf bacula} database. diff --git a/docs/manuals/version.tex b/docs/manuals/version.tex index 05abe804..77e1d480 100644 --- a/docs/manuals/version.tex +++ b/docs/manuals/version.tex @@ -1 +1 @@ -7.4.1 (02 May 2016) +7.4.2 (06 June 2016) diff --git a/docs/upload b/docs/upload index 7eb3a376..9b48e260 100755 --- a/docs/upload +++ b/docs/upload @@ -7,7 +7,7 @@ fi cwd=`pwd` lang=$1 src=$cwd/manuals/${lang}/pdf-and-html -ver=7.4.0 +ver=7.4.1 repo=release echo "ver=${ver}" -- 2.39.2