Changesets: bareos
|
bareos-12.4 a55b07b6 2013-08-02 15:45
Ported: N/A Details Diff |
Filed doesn't respond to first connection after start. The setup of the thread specific key is flawed. In essence its setup twice (once via the init_msg() call and once via the pthread_once call in jcr.c). This new code fixes that by: - Setup thread specific data key only once. - Use pthread_key_create_once_np when available. This is a non portable but cleaner implementation of both a pthread_once() and a pthread_key_create(). - For Windows use a workaround around pthread_once() as that seems to hang for unknown reason. Now we use a boolean protected by an mutex to make sure the setup is only done once. Fixes 0000210: Filed doesn't respond to first connection after start. |
Affected Issues 0000210 |
|
| mod - src/lib/jcr.c | Diff File | ||
| mod - src/lib/message.c | Diff File | ||
|
master 37b68af7 2013-08-02 15:45
Ported: N/A Details Diff |
Filed doesn't respond to first connection after start. The setup of the thread specific key is flawed. In essence its setup twice (once via the init_msg() call and once via the pthread_once call in jcr.c). This new code fixes that by: - Setup thread specific data key only once. - Use pthread_key_create_once_np when available. This is a non portable but cleaner implementation of both a pthread_once() and a pthread_key_create(). - For Windows use a workaround around pthread_once() as that seems to hang for unknown reason. Now we use a boolean protected by an mutex to make sure the setup is only done once. Fixes 0000210: Filed doesn't respond to first connection after start. |
Affected Issues 0000210 |
|
| mod - src/lib/message.c | Diff File | ||
| mod - src/lib/jcr.c | Diff File | ||
|
master ce1996ae 2013-08-02 07:10
Ported: N/A Details Diff |
Bump version date. | ||
| mod - src/include/version.h | Diff File | ||
|
master baef42b3 2013-08-01 17:18
Ported: N/A Details Diff |
Rebuild configure. | ||
| mod - configure | Diff File | ||
|
master 8e635977 2013-08-01 17:11
Ported: N/A Details Diff |
Use modern autoconf idioms. Autoconf 2.59 says that AC_OUTPUT with arguments is obsolete Rewrite to use AC_CONFIG_FILES. |
||
| mod - autoconf/configure.in | Diff File | ||
|
master 462b2c1f 2013-08-01 09:49
Ported: N/A Details Diff |
Tweak layout. Reformated comments and use bstrcasecmp. |
||
| mod - src/lib/ini.h | Diff File | ||
| mod - src/lib/ini.c | Diff File | ||
|
bareos-13.2 2c4a67de 2013-07-31 16:55 Philipp Storz Committer: Marco van Wieringen Ported: N/A Details Diff |
windows config files admin-only access Windows configuration files were accessible by normal users until now. Now we use the NSIS AccessControl Plugin (http://nsis.sourceforge.net/AccessControl_plug-in) to limit the access to the Administrator only. This also means that if you want to edit the config file, this has to happen as administrator. Fixes 0000208: Look into possibility to limit access rights on %APPDATA%/Bareos to administrators only. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
| mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
| mod - platforms/win32/winbareos.nsi | Diff File | ||
|
master d414b2da 2013-07-31 14:55 Committer: Ported: N/A Details Diff |
windows config files admin-only access Windows configuration files were accessible by normal users until now. Now we use the NSIS AccessControl Plugin (http://nsis.sourceforge.net/AccessControl_plug-in) to limit the access to the Administrator only. This also means that if you want to edit the config file, this has to happen as administrator. Fixes 0000208: Look into possibility to limit access rights on %APPDATA%/Bareos to administrators only. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000208 |
|
| mod - platforms/win32/winbareos.nsi | Diff File | ||
| mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
|
bareos-13.2 7e2452a2 2013-07-31 14:55 Committer: mvwieringen Ported: N/A Details Diff |
windows config files admin-only access Windows configuration files were accessible by normal users until now. Now we use the NSIS AccessControl Plugin (http://nsis.sourceforge.net/AccessControl_plug-in) to limit the access to the Administrator only. This also means that if you want to edit the config file, this has to happen as administrator. Fixes 0000208: Look into possibility to limit access rights on %APPDATA%/Bareos to administrators only. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000208 |
|
| mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
| mod - platforms/win32/winbareos.nsi | Diff File | ||
|
bareos-12.4 3062026d 2013-07-31 14:55 Committer: mvwieringen Ported: N/A Details Diff |
windows config files admin-only access Windows configuration files were accessible by normal users until now. Now we use the NSIS AccessControl Plugin (http://nsis.sourceforge.net/AccessControl_plug-in) to limit the access to the Administrator only. This also means that if you want to edit the config file, this has to happen as administrator. Fixes 0000208: Look into possibility to limit access rights on %APPDATA%/Bareos to administrators only. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000208 |
|
| mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
| mod - platforms/win32/winbareos.nsi | Diff File | ||
|
bareos-13.2 8d83aaf7 2013-07-31 01:41 Marco van Wieringen Ported: N/A Details Diff |
Fix restore handling of NDMP when using wrong storage. For a NDMP restore its needed that the storage passed into the restore job is a storage definition with paired NDMP storage. When this is not the case the pstore pointer will remain NULL and we crash in the build_ndmp_job() function. Now we check if we have paired storage and also changed the cleanup somewhat so we don't try to close the bootstrap file etc when we didn't open it (which also lead to a segmentation fault.) |
||
| mod - src/dird/ndmp_dma.c | Diff File | ||
|
bareos-13.2 1830e723 2013-07-30 23:41
Ported: N/A Details Diff |
Fix restore handling of NDMP when using wrong storage. For a NDMP restore its needed that the storage passed into the restore job is a storage definition with paired NDMP storage. When this is not the case the pstore pointer will remain NULL and we crash in the build_ndmp_job() function. Now we check if we have paired storage and also changed the cleanup somewhat so we don't try to close the bootstrap file etc when we didn't open it (which also lead to a segmentation fault.) |
||
| mod - src/dird/ndmp_dma.c | Diff File | ||
|
bareos-12.4 8060d4ff 2013-07-30 23:41
Ported: N/A Details Diff |
Fix restore handling of NDMP when using wrong storage. For a NDMP restore its needed that the storage passed into the restore job is a storage definition with paired NDMP storage. When this is not the case the pstore pointer will remain NULL and we crash in the build_ndmp_job() function. Now we check if we have paired storage and also changed the cleanup somewhat so we don't try to close the bootstrap file etc when we didn't open it (which also lead to a segmentation fault.) |
||
| mod - src/dird/ndmp_dma.c | Diff File | ||
|
master 5ab94222 2013-07-30 23:41
Ported: N/A Details Diff |
Fix restore handling of NDMP when using wrong storage. For a NDMP restore its needed that the storage passed into the restore job is a storage definition with paired NDMP storage. When this is not the case the pstore pointer will remain NULL and we crash in the build_ndmp_job() function. Now we check if we have paired storage and also changed the cleanup somewhat so we don't try to close the bootstrap file etc when we didn't open it (which also lead to a segmentation fault.) |
||
| mod - src/dird/ndmp_dma.c | Diff File | ||
|
bareos-13.2 71f22c1e 2013-07-29 18:29 Marco van Wieringen Ported: N/A Details Diff |
Check if DISTNAME subdir has a Makefile When trying to install platform specific scripts make sure the platform specific DISTNAME subdir has a Makefile (which also checks if the dir even exists.) This should help for platforms like altlinux where we set the DISTNAME but for which we don't have any platform specific scripts. |
||
| mod - platforms/Makefile.in | Diff File | ||
|
bareos-13.2 6ca5b50a 2013-07-29 16:29
Ported: N/A Details Diff |
Check if DISTNAME subdir has a Makefile When trying to install platform specific scripts make sure the platform specific DISTNAME subdir has a Makefile (which also checks if the dir even exists.) This should help for platforms like altlinux where we set the DISTNAME but for which we don't have any platform specific scripts. |
||
| mod - platforms/Makefile.in | Diff File | ||
|
bareos-12.4 56f12304 2013-07-29 16:29
Ported: N/A Details Diff |
Check if DISTNAME subdir has a Makefile When trying to install platform specific scripts make sure the platform specific DISTNAME subdir has a Makefile (which also checks if the dir even exists.) This should help for platforms like altlinux where we set the DISTNAME but for which we don't have any platform specific scripts. |
||
| mod - platforms/Makefile.in | Diff File | ||
|
master d299450b 2013-07-29 16:29
Ported: N/A Details Diff |
Check if DISTNAME subdir has a Makefile When trying to install platform specific scripts make sure the platform specific DISTNAME subdir has a Makefile (which also checks if the dir even exists.) This should help for platforms like altlinux where we set the DISTNAME but for which we don't have any platform specific scripts. |
||
| mod - platforms/Makefile.in | Diff File | ||
|
bareos-13.2 586d01dc 2013-07-27 11:58 Marco van Wieringen Ported: N/A Details Diff |
Add some defensive coding. | ||
| mod - src/ndmp/ndma_comm_session.c | Diff File | ||
| mod - src/ndmp/ndma_cops_backreco.c | Diff File | ||
| mod - src/ndmp/ndma_cops_labels.c | Diff File | ||
| mod - src/ndmp/ndma_cops_query.c | Diff File | ||
| mod - src/ndmp/ndma_ctrl_conn.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_data.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_mover.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_subr.c | Diff File | ||
| mod - src/ndmp/ndml_conn.c | Diff File | ||
|
bareos-13.2 cf053081 2013-07-27 09:58
Ported: N/A Details Diff |
Add some defensive coding. | ||
| mod - src/ndmp/ndma_comm_session.c | Diff File | ||
| mod - src/ndmp/ndma_cops_backreco.c | Diff File | ||
| mod - src/ndmp/ndma_cops_labels.c | Diff File | ||
| mod - src/ndmp/ndma_cops_query.c | Diff File | ||
| mod - src/ndmp/ndma_ctrl_conn.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_data.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_mover.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_subr.c | Diff File | ||
| mod - src/ndmp/ndml_conn.c | Diff File | ||
|
bareos-12.4 8e531b4c 2013-07-27 09:58
Ported: N/A Details Diff |
Add some defensive coding. | ||
| mod - src/ndmp/ndma_comm_session.c | Diff File | ||
| mod - src/ndmp/ndma_cops_backreco.c | Diff File | ||
| mod - src/ndmp/ndma_cops_labels.c | Diff File | ||
| mod - src/ndmp/ndma_cops_query.c | Diff File | ||
| mod - src/ndmp/ndma_ctrl_conn.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_data.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_mover.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_subr.c | Diff File | ||
| mod - src/ndmp/ndml_conn.c | Diff File | ||
|
master a4846cf3 2013-07-27 09:58
Ported: N/A Details Diff |
Add some defensive coding. | ||
| mod - src/ndmp/ndml_conn.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_subr.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_mover.c | Diff File | ||
| mod - src/ndmp/ndma_ctst_data.c | Diff File | ||
| mod - src/ndmp/ndma_ctrl_conn.c | Diff File | ||
| mod - src/ndmp/ndma_cops_query.c | Diff File | ||
| mod - src/ndmp/ndma_cops_labels.c | Diff File | ||
| mod - src/ndmp/ndma_cops_backreco.c | Diff File | ||
| mod - src/ndmp/ndma_comm_session.c | Diff File | ||
|
master aa9861c5 2013-07-26 17:21 Committer: Ported: N/A Details Diff |
sample sql queries provide sample sql queries, that can be used by the bconsole query command. Fixes 0000083: Bareos packages do not contain query.sql Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000083 |
|
| mod - src/dird/query.sql | Diff File | ||
|
bareos-13.2 21096523 2013-07-26 14:43 Marco van Wieringen Ported: N/A Details Diff |
Remove no-op assign. While writing the sd-sd replication we introduced two assignments which are in essense no-ops (e.g. assigning a value to a variable where the source is itself.) The optimizer probably filters it but for the readability lets remove them. |
||
| mod - src/dird/migrate.c | Diff File | ||
|
bareos-13.2 c94d46a9 2013-07-26 12:43
Ported: N/A Details Diff |
Remove no-op assign. While writing the sd-sd replication we introduced two assignments which are in essense no-ops (e.g. assigning a value to a variable where the source is itself.) The optimizer probably filters it but for the readability lets remove them. |
||
| mod - src/dird/migrate.c | Diff File | ||