Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/pbuc/public_html/forum/mods/ext_phorummail/ezc/Base/src/ezc_bootstrap.php on line 36

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; KeyCAPTCHA_CLASS has a deprecated constructor in /home/pbuc/public_html/forum/mods/keycaptcha/keycaptcha.php on line 108
Multiple config files include_conf
Welcome! » Log In » Create A New Profile

Multiple config files include_conf

Posted by groen01 
Multiple config files include_conf
October 02, 2014 09:39AM
Hello,

I try to use backticks to include a directory with config files:
include_conf '/etc/rsnapshot.d'
also tried:
include_conf '/etc/rsnapshot.d/'

but i get the following when to a configtest:
ERROR: include_conf '/etc/rsnapshot.d' - can't find or read file

When I don't include a directory but a file i don't get an error:
include_conf /etc/rsnapshot.d/server1.conf

What can be the problem?
Can somebody help me out?
Multiple config files include_conf
October 02, 2014 01:35PM
Hallo, groen01,

Du meintest am 02.10.14:

[quote]I try to use backticks to include a directory with config files:
include_conf '/etc/rsnapshot.d'
also tried:
include_conf '/etc/rsnapshot.d/'
[/quote]
[quote]but i get the following when to a configtest:
ERROR: include_conf '/etc/rsnapshot.d' - can't find or read file
[/quote]
[quote]When I don't include a directory but a file i don't get an error:
include_conf /etc/rsnapshot.d/server1.conf
[/quote]
[quote]What can be the problem?
[/quote]
Just a blind guess: could it be "include_conf" wants files and not
directories?

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Multiple config files include_conf
October 02, 2014 02:07PM
On Thursday, October 02, 2014 05:39 PM, groen01 wrote:
[quote]Hello,

I try to use backticks to include a directory with config files:
include_conf '/etc/rsnapshot.d'
also tried:
include_conf '/etc/rsnapshot.d/'

but i get the following when to a configtest:
ERROR: include_conf '/etc/rsnapshot.d' - can't find or read file

When I don't include a directory but a file i don't get an error:
include_conf /etc/rsnapshot.d/server1.conf

What can be the problem?
Can somebody help me out?
[/quote]
Maybe "man rsnapshot" is of help.

Regards,
ST
--

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Multiple config files include_conf
October 02, 2014 02:19PM
On Thu, Oct 2, 2014 at 10:39 AM, groen01 <rsnaphshot-forum < at > backupcentral.com ([email]rsnaphshot-forum < at > backupcentral.com[/email])> wrote:
[quote]I try to use backticks to include a directory with config files:
include_conf   &#39;/etc/rsnapshot.d&#39;
also tried:
include_conf   &#39;/etc/rsnapshot.d/&#39;

[/quote]

Those aren&#39;t backticks, they are just single quotes (&#39;). This is a backtick (`). Also, backticks are for enclosing a Shell command, not simply a directory name.

Other than that, the man page is rather obscure on what exactly "recursive" means in this context.

poc

poc
Multiple config files include_conf
October 02, 2014 03:45PM
On Thu, Oct 02, 2014 at 03:17:11PM +0100, Patrick O'Callaghan wrote:
[quote]On Thu, Oct 2, 2014 at 10:39 AM, groen01 <rsnaphshot-forum < at > backupcentral.com
[quote]include_conf ...
[/quote]Other than that, the man page is rather obscure on what exactly "recursive"
means in this context.
[/quote]
It means that include_conf works in files that you include using
include_conf.

--
David Cantrell | London Perl Mongers Deputy Chief Heretic

Suffer the little children to come unto me, as
their buying habits are most easily influenced.
-- Marketroid Jesus

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Multiple config files include_conf
October 02, 2014 04:03PM
OK, thanks. I suspect the OP thinks it means a directory which is read recursively for config files. It might be worth clarifying this in the manpage.

poc

On Thu, Oct 2, 2014 at 4:43 PM, David Cantrell <david < at > cantrell.org.uk ([email]david < at > cantrell.org.uk[/email])> wrote:
[quote]On Thu, Oct 02, 2014 at 03:17:11PM +0100, Patrick O&#39;Callaghan wrote:
[quote]On Thu, Oct 2, 2014 at 10:39 AM, groen01 <rsnaphshot-forum < at > backupcentral.com ([email]rsnaphshot-forum < at > backupcentral.com[/email])
[quote]include_conf ...
[/quote]Other than that, the man page is rather obscure on what exactly "recursive"
means in this context.
[/quote]
It means that include_conf works in files that you include using
include_conf.

--
David Cantrell | London Perl Mongers Deputy Chief Heretic

    Suffer the little children to come unto me, as
    their buying habits are most easily influenced.
       -- Marketroid Jesus

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
[url=http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk]http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk[/url]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net ([email]rsnapshot-discuss < at > lists.sourceforge.net[/email])
[url=https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss]https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss[/url]

[/quote]
Multiple config files include_conf
October 02, 2014 04:09PM
On Thursday, October 02, 2014 11:43 PM, David Cantrell wrote:
[quote]On Thu, Oct 02, 2014 at 03:17:11PM +0100, Patrick O'Callaghan wrote:
[quote]On Thu, Oct 2, 2014 at 10:39 AM, groen01 <rsnaphshot-forum < at > backupcentral.com
[quote]include_conf ...
[/quote]Other than that, the man page is rather obscure on what exactly "recursive"
means in this context.
[/quote]
It means that include_conf works in files that you include using
include_conf.

[/quote]
The man page says that "Include another file in the configuration *at
this point*" (my emphasis). Is it correct to say that it can be used
multiple times like "include" and "exclude"? If yes, it would be easier
for the OP to include files in a subdirectory.

Regards,
ST
--

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Sorry, only registered users may post in this forum.

Click here to login