Changesets: bareos

master 334cfd5f

2013-05-04 20:34

mvwieringen adm

Ported: N/A

Details Diff
Implementation of an allowed scriptdir keyword

Implement an allowed scriptdir keyword in the filed that sets the
directories in which any runscript must be located so we can limit
the attack surface of the filedaemon.

Currently the filed will execute any script in any directory which
makes it a serious security concern by much of the bigger customers
security officers.

This new keyword implemented per director and a global one which is
used as a fallback when a specific one for a specific director is not
configured.

Fixes 0000031: Implementation of an allowed scriptdir keyword
Affected Issues
0000031
mod - src/lib/runscript.h Diff File
mod - src/lib/runscript.c Diff File
mod - src/filed/job.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/filed_conf.c Diff File

master d72cca4b

2013-05-04 20:34

mvwieringen adm

Ported: N/A

Details Diff
Allow cancel by JobId on storage daemon.

Sometimes the Director already removed the Job from its running queue
but the Storage daemon still thinks it doing a backup (or other Job)
and you cannot cancel the Job from within a console anymore. This piece
of code allows you to cancel a Storage Daemon Job by JobId. E.g. do
a status sd on the Storage Daemon make sure what Job you want to cancel
and issue a cancel storage=<Storage Daemon> Jobid=<JobId> This way you
can also remove a Job that blocks any other Jobs from running without
the need to restart the whole Storage Daemon.

Fixes 0000013: Allow cancel by JobId on storage daemon.
Affected Issues
0000013
mod - src/stored/dircmd.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/protos.h Diff File

master fb2fda7d

2013-05-04 20:34

mvwieringen adm

Ported: N/A

Details Diff
Tweak indent.
mod - src/dird/dird_conf.c Diff File

master 30e30bfd

2013-05-04 20:34

mvwieringen adm

Ported: N/A

Details Diff
Print BSR to memory buffer.

Print the BSR to a memory buffer and write that out in one go.
This allows you to use a printed BSR in any reporting.
mod - src/dird/protos.h Diff File
mod - src/dird/bsr.c Diff File

master 0a1711cf

2013-05-04 20:33

mvwieringen adm

Ported: N/A

Details Diff
Switch to new version number.

Start adding new features.
mod - src/include/version.h Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/rpms/bareos.spec Diff File
mod - platforms/deb/bareos-xUbuntu_12.04.dsc Diff File
mod - platforms/deb/bareos-Debian_6.0.dsc Diff File
mod - debian/changelog Diff File

master 3beca800

2013-05-04 13:54

Marco van Wieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master f5d7ed6f

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Tweak sql update function.

Use only one function to do the database update and pass as argument the
minimum number of affected rows that must be met.
mod - src/cats/cats.h Diff File
mod - src/cats/sql.c Diff File

master db1f55a9

2013-05-04 13:51

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
adapted for ubuntu, some improvements on packaging

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - debian/bareos-common.dirs Diff File
mod - debian/bareos-common.postinst Diff File
mod - debian/bareos-director.install Diff File
mod - debian/bareos-filedaemon.install Diff File
add - debian/bareos-storage.dirs Diff File
mod - debian/bareos-storage.install Diff File
mod - debian/bareos-storage.postinst Diff File
mod - debian/control Diff File
mod - debian/rules Diff File
mod - platforms/deb/bareos-Debian_6.0.dsc Diff File
mod - platforms/deb/bareos-xUbuntu_12.04.dsc Diff File
mod - platforms/debian/bareos-dir.in Diff File
mod - platforms/rpms/bareos.spec Diff File
mod - platforms/ubuntu/bareos-dir.in Diff File
mod - platforms/ubuntu/bareos-fd.in Diff File
mod - platforms/ubuntu/bareos-sd.in Diff File
mod - scripts/bareos-config Diff File

master 72a68c2c

2013-05-04 13:51

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
travis-ci.org integration

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
add - .travis.yml Diff File
add - test/all Diff File

master 0fe2716c

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/dird/ua_cmds.c Diff File

master 5a1383e3

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Don't use Zlib specific types.

Ulong and Bytef are ZLIB specific and on platforms that don't have
zlib this gives compile errors.
mod - src/filed/backup.h Diff File

master c8ce10ef

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Fix dummy function defined.
mod - src/filed/compression.c Diff File

master b74d3df5

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Fix compile error.
mod - src/filed/backup.h Diff File

master 39ac1b10

2013-05-04 13:51

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
fixed comment
mod - README.md Diff File

master 223eac9d

2013-05-04 13:51

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Send the catalog backup bootstrap file by mail

Having the bootstrap of the backupcatalog job is crucial
for disaster recovery.
Unfortunately, the default config didn't do that until now.

Now we automatically mail the bootstrap file of the backupcatalog job.

Also, we have now extended the BackupCatalog FileSet to include the
sysconfdir.

Fixes 0000024: Automatic sending of BSR (at least of the Catalog DB) via email
mod - src/dird/bareos-dir.conf.in Diff File

master 29faf185

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Set a new default for the restore dir.
mod - src/dird/bareos-dir.conf.in Diff File

master 36f40944

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Set a new default for the restore dir.
mod - src/dird/bareos-dir.conf.in Diff File

master 51e4d8ef

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Fix compiler warning.

Now that we don't use the old conversion string we can get ride of the
caps variable.
mod - src/lib/bsnprintf.c Diff File

master dde644a3

2013-05-04 13:51

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
fixes ubuntu configuration

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - autoconf/configure.in Diff File

master 16b15624

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Fix Makefile rules for generating configure and config.h.in
mod - Makefile.in Diff File

master d786e1bd

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Set some more sane defaults.

Still its better to explicitly set the dirs to where you want
them to be and to not depend on changing defaults.
mod - autoconf/configure.in Diff File

master 6d7e2517

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Drop temp file.
rm - src/qt-console/aa Diff File

master c2ec319a

2013-05-04 13:51

Radosław Korzeniewski


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix %f conversion in bsnprintf.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/lib/bsnprintf.c Diff File

master d3185187

2013-05-04 13:51

Marco van Wieringen

Ported: N/A

Details Diff
Fix conversion string in bsnprintf.

It makes no sense to use a string "0123456789ABCDEF" when you do
all calculating using a modulo 10 divide which only gives the spread
from 0 to 9. As we don't need the hex letters we can also drop the check
on caps as figures are either upper or lower case.
mod - src/lib/bsnprintf.c Diff File

master 989193c2

2013-05-04 13:51

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Ignore affected rows in UPDATE_DB

We get an error message from UPDATE_DB , when
the number of affected rows is < 1.

In some cases, its ok to have no affected rows,
like in "update all volumes from all pools", when
there is a pool with no volumes inside.

Fixes 0000062: update all volumes from all pools gives error when a pool doesnt contain volumes

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/cats/cats.h Diff File
mod - src/cats/sql.c Diff File
mod - src/cats/sql_update.c Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 688 689 690 691 692 693 694 ... 696 697 698  Next  Last