Changesets: bareos

master d8e191bc

2014-12-23 19:20

mvwieringen

Ported: N/A

Details Diff
Fix removing of supplemental groups.

When we add bareos to the right supplemental groups we should use
the -a option of usermod so it leaves the other supplemental groups
alone.

Fixes 0000382: Don't remove supplemental groups on install.
Affected Issues
0000382
mod - scripts/bareos-config-lib.sh.in Diff File

master 217730a9

2014-12-23 15:20

Marco van Wieringen

Ported: N/A

Details Diff
Fix problem with getting symlink data on windows.
mod - src/win32/compat/compat.c Diff File

master dc44f4c2

2014-12-23 14:20

mvwieringen

Ported: N/A

Details Diff
Fix problem with getting symlink data on windows.
mod - src/win32/compat/compat.c Diff File

bareos-14.2 f8477f75

2014-12-23 14:20

mvwieringen

Ported: N/A

Details Diff
Fix problem with getting symlink data on windows.
mod - src/win32/compat/compat.c Diff File

master 0ee66a22

2014-12-23 10:50

Marco van Wieringen

Ported: N/A

Details Diff
Cleanup device backend cache on exit.
mod - src/stored/btape.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/stored.c Diff File

Release b3572fdc

2014-12-23 10:36

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

master 4aef19a5

2014-12-23 10:36

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

bareos-13.2 54379b30

2014-12-23 10:36

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

master a1431d3f

2014-12-23 09:50

mvwieringen

Ported: N/A

Details Diff
Cleanup device backend cache on exit.
mod - src/stored/btape.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/stored.c Diff File

bareos-14.2 b516934b

2014-12-23 09:50

mvwieringen

Ported: N/A

Details Diff
Cleanup device backend cache on exit.
mod - src/stored/btape.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/stored.c Diff File

master 21a40b4b

2014-12-23 09:36

pstorz

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

bareos-14.2 cdce25e8

2014-12-23 09:36

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix compiler warnings in btape
mod - src/stored/btape.c Diff File

master 65f14358

2014-12-22 18:11

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Add JobACL to monitor console to see jobs

Looks like before the status command did not limit the
view of jobs according to the JobACL.

As the ACLs now have been fixed, we need to allow the
monitor ressource to see all jobs because otherwise
we see nothing.

Fixes 0000378: Bareos tray monitor - not accurate information from
bareos-dir
mod - platforms/univention/conffiles/etc/bareos/bareos-dir.conf Diff File
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/defaultconfigs/legacy/bareos-dir.conf.in Diff File

master 57641508

2014-12-22 17:11

pstorz

Ported: N/A

Details Diff
Add JobACL to monitor console to see jobs

Looks like before the status command did not limit the
view of jobs according to the JobACL.

As the ACLs now have been fixed, we need to allow the
monitor ressource to see all jobs because otherwise
we see nothing.

Fixes 0000378: Bareos tray monitor - not accurate information from
bareos-dir
Affected Issues
0000378
mod - platforms/univention/conffiles/etc/bareos/bareos-dir.conf Diff File
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/defaultconfigs/legacy/bareos-dir.conf.in Diff File

bareos-14.2 e9b20cd0

2014-12-22 17:11

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Add JobACL to monitor console to see jobs

Looks like before the status command did not limit the
view of jobs according to the JobACL.

As the ACLs now have been fixed, we need to allow the
monitor ressource to see all jobs because otherwise
we see nothing.

Fixes 0000378: Bareos tray monitor - not accurate information from
bareos-dir
Affected Issues
0000378
mod - platforms/univention/conffiles/etc/bareos/bareos-dir.conf Diff File
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/defaultconfigs/legacy/bareos-dir.conf.in Diff File

Release 97762490

2014-12-22 13: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/btape.c Diff File

master 4e7107b0

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/block.c Diff File
mod - src/stored/btape.c Diff File

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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 505 506 507 508 509 510 511 ... 540 ... 600 ... 607 608 609  Next  Last