Hello Ulrich,

Thank you for your patch.

Could you describe what is the problem with bconsole access that you
mentioned? I will try to reproduce the issue, but so far I have not
experienced Baculum problem with bconsole. Your bug description and
system environment parameters will be precious information for me.

Thank you in advance for these information.

Best regards.
Marcin Haba (gani)

2015-09-15 16:17 GMT+02:00 Ulrich Leodolter <[email protected]>:
> Hi,
>
> here is my patch which fixes a baculum console problem.
>
> ---cut---
> diff --git a/gui/baculum/protected/Class/Bconsole.php 
> b/gui/baculum/protected/Class/Bconsole.php
> index 89113d0..d26c508 100644
> --- a/gui/baculum/protected/Class/Bconsole.php
> +++ b/gui/baculum/protected/Class/Bconsole.php
> @@ -28,7 +28,7 @@ class Bconsole extends TModule {
>
>         const SUDO = 'sudo';
>
> -       const BCONSOLE_COMMAND_PATTERN = "%s%s -c %s %s 
> <<END_OF_DATA\n%s\nquit\n<<END_OF_DATA";
> +       const BCONSOLE_COMMAND_PATTERN = "%s%s -c %s %s 
> <<END_OF_DATA\n%s\nquit\nEND_OF_DATA";
>
>         const BCONSOLE_DIRECTORS_PATTERN = "%s%s -c %s -l";
>
> ---cut---
>
>
> Best regards
> Ulrich
> --
> Ulrich Leodolter <[email protected]>
> Oesterreichische Bibliothekenverbund und Service GmbH
> Raimundgasse 1/3, A-1020 Wien
> Fax +43 1 4035158-30
> Tel +43 1 4035158-21
> Web http://www.obvsg.at
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Bacula-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



-- 
"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to