Changesets: bareos2015

bareos-14.2 3396bc10

2015-01-04 09:47:30

tigerfoot


Committer: mvwieringen

Ported: N/A

Details Diff
Make systemd aware of normal daemon exit status

Make systemd aware of normal daemon exit status, so service are in
success state after stop or restart.

Fixes 0000386: Add special SIGNAL to service unit (systemd) to support
correctly normal exit status

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000386
mod - platforms/systemd/bareos-dir.service.in Diff File
mod - platforms/systemd/bareos-fd.service.in Diff File
mod - platforms/systemd/bareos-sd.service.in Diff File

bareos-14.2 4ee3196c

2015-01-01 10:50:47

mvwieringen

Ported: N/A

Details Diff
Make the old syntax parsing of bpipe somewhat more robust.

Instead of triggering on the fact that we find a = in the syntax
explicitly check if we find the new syntax keywords and if not pretend
its an old syntax plugin definition. Still make mixing of syntax however
fatal.
Attach Issues:
mod - src/plugins/filed/bpipe-fd.c Diff File

bareos-14.2 388f3a93

2014-12-31 18:29:57

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
fixes typo (Check Label -> Check Labels)
Attach Issues:
mod - src/defaultconfigs/bareos-sd.d/device-tape-with-autoloader.conf Diff File

bareos-13.2 2a15a373

2014-12-30 21:44:06

mvwieringen

Ported: N/A

Details Diff
Use explicitly uint32_t in btape for filling.
Attach Issues:
mod - src/stored/btape.c Diff File

bareos-14.2 c1341bbe

2014-12-30 09:56:40

mvwieringen

Ported: N/A

Details Diff
Cleanup signal handling.

SIGTSTP should not redirect you to the internal signal handler but just
use the normal signal handling e.g. stop the process.
Attach Issues:
mod - src/lib/signal.c Diff File

bareos-14.2 b44ecb58

2014-12-29 18:47:50

mvwieringen

Ported: N/A

Details Diff
Add show disabled schedules cmd.

Analog to show disabled jobs and show disabled clients
Attach Issues:
mod - src/dird/ua_output.c Diff File

bareos-14.2 5f9ac592

2014-12-29 16:26:47

mvwieringen

Ported: N/A

Details Diff
ACL enhancements

- Add support for console profiles

This adds some basic support for defining a profile with some basic ACLS
which can be referenced by any console resource. This way you don't have
to define the same ACLs over and over again for each named console.

The way this works is that the ACL definition in the console resource is
checked first to see if it already allows you to access the wanted
resource. If that is not the case it will check if your named console is
connected to a certain profile and use the ACL setting in that profile
to get access to the resource.

There is one special case and that is the where ACL if you want to use
the where ACL in the profile you should set the where ACL of the named
console to something like *none* as an empty where ACL means allow
restore anywhere.

- Add support for regular expressions in ACLs.

This makes ACLs a lot more universal and usable.

e.g. you can now use a poolAcl which states: .*NDMP.* and get access to
all pools which match that regular expression (Thing are compared case
insensitive).

- Add support for deny ACLs

e.g. a command acl like this will work now: !show, *all*

Which will allow all commands but not show.
Attach Issues:
mod - src/console/console.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/ua_acl.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_output.c Diff File

bareos-14.2 09ee5e3b

2014-12-24 13:21:55

mvwieringen

Ported: N/A

Details Diff
Fix director crash on dir command with long filenames

Fixes 0000383: dir command in bconsole crash bareos-dir
Affected Issues
0000383
mod - src/dird/ua_tree.c Diff File

bareos-14.2 646698a4

2014-12-23 14:20:46

mvwieringen

Ported: N/A

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

bareos-14.2 f41f9fbd

2014-12-23 09:50:42

mvwieringen

Ported: N/A

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

bareos-14.2 0f504777

2014-12-23 09:36:43

pstorz


Committer: mvwieringen

Ported: N/A

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

bareos-13.2 54379b30

2014-12-23 09:36:43

pstorz


Committer: mvwieringen

Ported: N/A

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

bareos-14.2 49d2359a

2014-12-22 17:11:35

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

bareos-14.2 b5339403

2014-12-22 12:08:21

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

bareos-13.2 e09325d2

2014-12-22 12:08:21

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

bareos-14.2 63080378

2014-12-20 13:44:57

joergs


Committer: mvwieringen

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 51bb941e

2014-12-19 17:45:28

joergs


Committer: mvwieringen

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.
Attach Issues:
mod - debian/bareos-database-common.config.in Diff File

bareos-14.2 1341e5ce

2014-12-18 14:59:42

mvwieringen

Ported: N/A

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

bareos-14.2 39dd3526

2014-12-18 10:36:51

mvwieringen

Ported: N/A

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

bareos-14.2 f87d636d

2014-12-17 19:14:16

joergs


Committer: mvwieringen

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 2fbd7b67

2014-12-17 14:27:57

mvwieringen

Ported: N/A

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

bareos-13.2 67ba3e36

2014-12-17 14:27:57

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
When initiating the TLS connection use tls_server.

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

bareos-14.2 72c5622d

2014-12-15 17:24:23

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
OPSI: adapted for current obs git service

and limit version number to 32 characters.
Attach Issues:
mod - platforms/opsi/winbareos-opsi.spec Diff File

bareos-14.2 d0a6c33c

2014-12-12 17:18:36

stephand


Committer: mvwieringen

Ported: N/A

Details Diff
Add missing set_file_attributes() method to base class.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - src/plugins/filed/BareosFdPluginBaseclass.py Diff File

bareos-14.2 fcb5c1f3

2014-12-12 14:29:06

mvwieringen

Ported: N/A

Details Diff
Add support for changed rados_write API.

Seems from version 0.68 to 0.69 the rados_write
function all of a sudden gives back 0 when succeeded and
no longer the actual bytes it wrote. As we also want to
support the old API it now checks the LIBRADOS_VERSION_CODE
Attach Issues:
mod - src/stored/backends/rados_device.c Diff File
 First  Prev  1 2 3 4 5 6 7 ... 10 ... 20 ... 30 ... 40 ... 50 ... 57 58 59  Next  Last