Changesets: bareos

bareos-13.2 e09325d2

2014-12-22 13:08

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix btape bug with big blocksizes

there is an overflow when calculating the maximum file size, which leads
to a eof being written to the tape where btape does not expect it.

Then during the read of the data the unexpected eof lets the test fail.

This fix corrects this overflow.

We also set a higher debug level on the block writings in block.c

Fixes 0000381: btape tests fail on blocksizes > 256k
mod - src/stored/btape.c Diff File

master f9305b56

2014-12-22 12:08

pstorz

Ported: N/A

Details Diff
Fix btape bug with big blocksizes

there is an overflow when calculating the maximum file size, which leads
to a eof being written to the tape where btape does not expect it.

Then during the read of the data the unexpected eof lets the test fail.

This fix corrects this overflow.

We also set a higher debug level on the block writings in block.c

Fixes 0000381: btape tests fail on blocksizes > 256k
Affected Issues
0000381
mod - src/stored/block.c Diff File
mod - src/stored/btape.c Diff File

bareos-14.2 93369680

2014-12-22 12:08

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix btape bug with big blocksizes

there is an overflow when calculating the maximum file size, which leads
to a eof being written to the tape where btape does not expect it.

Then during the read of the data the unexpected eof lets the test fail.

This fix corrects this overflow.

We also set a higher debug level on the block writings in block.c

Fixes 0000381: btape tests fail on blocksizes > 256k
Affected Issues
0000381
mod - src/stored/block.c Diff File
mod - src/stored/btape.c Diff File

master 59d925f2

2014-12-20 14:44

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Debian: fixes a problem when migrating to dbconfig

The Bareos database maintenance scripts for the postgres backend
create the Bareos database using the database administrator account
and grant permission to the Bareos database user.
When a Bareos update requires a database schema update,
the user has to call
update_bareos_tables
and
grant_bareos_privileges.

When using dbconfig (Bareos >= 14.1),
only update_bareos_tables is performed,
as grant_bareos_privileges would require variable substitutions (db_name, db_user and db_password),
which is not supported in dbconfig (dbc_sql_substitutions only works on installing, not on updates).
Therefore it is necessary, that new tables are created as the Bareos database user,
so it automatically has sufficient permissions.
As the Bareos database user can not drop tables not created by himself,
the drop statement must be executed as database administrator user.

This patch implements this.

The resuls to:

Updating from Bareos < 14.1:
database: owner postgres
tables already existing before 14.1: owner postgres, permission to baroes
tables created after 14.1: owner bareos

Installing Bareos >= 14.1:
database: owner bareos
tables: owner bareos

Fixes 0000380: Debian: when migrating from 13.2 to 14.2 with postgres backend, database permissions are not set correctly
mod - debian/bareos-database-common.config.in Diff File
mod - debian/bareos-database-common.postinst.in Diff File
mod - debian/bareos-database-mysql.install.in Diff File
mod - debian/bareos-database-postgresql.install.in Diff File
mod - debian/bareos-database-sqlite3.install.in Diff File
mod - platforms/debian/Makefile.in Diff File

master 423c64e8

2014-12-20 13:44

joergs

Ported: N/A

Details Diff
Debian: fixes a problem when migrating to dbconfig

The Bareos database maintenance scripts for the postgres backend
create the Bareos database using the database administrator account
and grant permission to the Bareos database user.
When a Bareos update requires a database schema update,
the user has to call
update_bareos_tables
and
grant_bareos_privileges.

When using dbconfig (Bareos >= 14.1),
only update_bareos_tables is performed,
as grant_bareos_privileges would require variable substitutions (db_name, db_user and db_password),
which is not supported in dbconfig (dbc_sql_substitutions only works on installing, not on updates).
Therefore it is necessary, that new tables are created as the Bareos database user,
so it automatically has sufficient permissions.
As the Bareos database user can not drop tables not created by himself,
the drop statement must be executed as database administrator user.

This patch implements this.

The resuls to:

Updating from Bareos < 14.1:
database: owner postgres
tables already existing before 14.1: owner postgres, permission to baroes
tables created after 14.1: owner bareos

Installing Bareos >= 14.1:
database: owner bareos
tables: owner bareos

Fixes 0000380: Debian: when migrating from 13.2 to 14.2 with postgres backend, database permissions are not set correctly
Affected Issues
0000380
mod - debian/bareos-database-common.config.in Diff File
mod - debian/bareos-database-common.postinst.in Diff File
mod - debian/bareos-database-mysql.install.in Diff File
mod - debian/bareos-database-postgresql.install.in Diff File
mod - debian/bareos-database-sqlite3.install.in Diff File
mod - platforms/debian/Makefile.in Diff File

bareos-14.2 10b8d968

2014-12-20 13:44

joergs

Ported: N/A

Details Diff
Debian: fixes a problem when migrating to dbconfig

The Bareos database maintenance scripts for the postgres backend
create the Bareos database using the database administrator account
and grant permission to the Bareos database user.
When a Bareos update requires a database schema update,
the user has to call
update_bareos_tables
and
grant_bareos_privileges.

When using dbconfig (Bareos >= 14.1),
only update_bareos_tables is performed,
as grant_bareos_privileges would require variable substitutions (db_name, db_user and db_password),
which is not supported in dbconfig (dbc_sql_substitutions only works on installing, not on updates).
Therefore it is necessary, that new tables are created as the Bareos database user,
so it automatically has sufficient permissions.
As the Bareos database user can not drop tables not created by himself,
the drop statement must be executed as database administrator user.

This patch implements this.

The resuls to:

Updating from Bareos < 14.1:
database: owner postgres
tables already existing before 14.1: owner postgres, permission to baroes
tables created after 14.1: owner bareos

Installing Bareos >= 14.1:
database: owner bareos
tables: owner bareos

Fixes 0000380: Debian: when migrating from 13.2 to 14.2 with postgres backend, database permissions are not set correctly
Affected Issues
0000380
mod - debian/bareos-database-common.config.in Diff File
mod - debian/bareos-database-common.postinst.in Diff File
mod - debian/bareos-database-mysql.install.in Diff File
mod - debian/bareos-database-postgresql.install.in Diff File
mod - debian/bareos-database-sqlite3.install.in Diff File
mod - platforms/debian/Makefile.in Diff File

master 6fe0fb92

2014-12-19 18:45

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Debian: fixes migrating from psql with password

Prevents a problem if migrating from a version without dbconfig to a version with dbconfig
and have a postgresql database with password access.
mod - debian/bareos-database-common.config.in Diff File

master c6ba3e9f

2014-12-19 17:45

joergs

Ported: N/A

Details Diff
Debian: fixes migrating from psql with password

Prevents a problem if migrating from a version without dbconfig to a version with dbconfig
and have a postgresql database with password access.
mod - debian/bareos-database-common.config.in Diff File

bareos-14.2 cb3ea5f0

2014-12-19 17:45

joergs

Ported: N/A

Details Diff
Debian: fixes migrating from psql with password

Prevents a problem if migrating from a version without dbconfig to a version with dbconfig
and have a postgresql database with password access.
mod - debian/bareos-database-common.config.in Diff File

master 841f4f74

2014-12-18 15:59

Marco van Wieringen

Ported: N/A

Details Diff
Add missing bpipe fd plugin to filedaemon pkg.
mod - debian/bareos-filedaemon.install.in Diff File

bareos-14.2 3b5e0952

2014-12-18 14:59

mvwieringen

Ported: N/A

Details Diff
Add missing bpipe fd plugin to filedaemon pkg.
mod - debian/bareos-filedaemon.install.in Diff File

master 462f8e80

2014-12-18 14:59

mvwieringen

Ported: N/A

Details Diff
Add missing bpipe fd plugin to filedaemon pkg.
mod - debian/bareos-filedaemon.install.in Diff File

master 051522be

2014-12-18 11:36

Marco van Wieringen

Ported: N/A

Details Diff
Add checks for SMTAPE blocksizes. Affected Issues
0000374
mod - src/dird/ndmp_dma.c Diff File

bareos-14.2 57d61198

2014-12-18 11:36

Marco van Wieringen


Committer: Joerg Steffens

Ported: N/A

Details Diff
Add checks for SMTAPE blocksizes.
mod - src/dird/ndmp_dma.c Diff File

master 5835d07a

2014-12-18 11:36

Marco van Wieringen

Ported: N/A

Details Diff
Add checks for SMTAPE blocksizes.
mod - src/dird/ndmp_dma.c Diff File

master 441f73fe

2014-12-17 20:14

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Debian: fixes a problem when migrating to dbconfig

in some cases, Bareos fails to apply dbconfig setting to the Bareos configuration file.
With this change, these failures only result in a warning,
instead of letting the package installation fail.

Fixes 0000376: dkpg error
mod - debian/bareos-database-common.postinst.in Diff File
mod - scripts/bareos-config-lib.sh.in Diff File

master 6c5b428c

2014-12-17 19:14

joergs

Ported: N/A

Details Diff
Debian: fixes a problem when migrating to dbconfig

in some cases, Bareos fails to apply dbconfig setting to the Bareos configuration file.
With this change, these failures only result in a warning,
instead of letting the package installation fail.

Fixes 0000376: dkpg error
Affected Issues
0000376
mod - debian/bareos-database-common.postinst.in Diff File
mod - scripts/bareos-config-lib.sh.in Diff File

bareos-14.2 0f3c49ce

2014-12-17 19:14

joergs

Ported: N/A

Details Diff
Debian: fixes a problem when migrating to dbconfig

in some cases, Bareos fails to apply dbconfig setting to the Bareos configuration file.
With this change, these failures only result in a warning,
instead of letting the package installation fail.

Fixes 0000376: dkpg error
Affected Issues
0000376
mod - debian/bareos-database-common.postinst.in Diff File
mod - scripts/bareos-config-lib.sh.in Diff File

master 773aa2bf

2014-12-17 15:27

Marco van Wieringen

Ported: N/A

Details Diff
When initiating the TLS connection use tls_server.
mod - src/filed/authenticate.c Diff File

bareos-13.2 67ba3e36

2014-12-17 15:27

Marco van Wieringen


Committer: Philipp Storz

Ported: N/A

Details Diff
When initiating the TLS connection use tls_server.

Conflicts:
src/filed/authenticate.c
mod - src/filed/authenticate.c Diff File

bareos-14.2 cedb2d9b

2014-12-17 14:27

mvwieringen

Ported: N/A

Details Diff
When initiating the TLS connection use tls_server. Affected Issues
0000375
mod - src/filed/authenticate.c Diff File

master eb40b49b

2014-12-17 14:27

mvwieringen

Ported: N/A

Details Diff
When initiating the TLS connection use tls_server.
mod - src/filed/authenticate.c Diff File

master 1941cbbf

2014-12-17 13:20

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
OPSI: limit version to 32 characters
mod - platforms/opsi/winbareos-opsi.spec Diff File

master 736dcf67

2014-12-17 12:20

joergs

Ported: N/A

Details Diff
OPSI: limit version to 32 characters
mod - platforms/opsi/winbareos-opsi.spec Diff File

master 276d78a5

2014-12-15 18:24

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
adapted for current obs git service
mod - platforms/opsi/winbareos-opsi.spec Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 541 542 543 544 545 546 ... 600 ... 641 642 643  Next  Last