Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #9847] max filename length reached for config file paths #1559

Closed
icinga-migration opened this issue Aug 6, 2015 · 3 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9847

Created by tredel on 2015-08-06 11:48:32 +00:00

Assignee: tredel
Status: Resolved (closed on 2015-10-26 08:20:05 +00:00)
Target Version: 1.14
Last Update: 2015-10-26 08:20:05 +00:00 (in Redmine)

Icinga Version: 1.13.3
OS Version: Debian 7.8

In some environments you have veeeeery long config file paths.
Especially in setups with LConf Icinga's default max filename length sometimes is too short.

$ diff -u include/common.h /tmp/common.h_fixed
--- include/common.h    2015-08-06 13:35:22.000000000 +0200
+++ /tmp/common.h_fixed 2015-08-06 13:39:09.000000000 +0200
@@ -519,7 +519,7 @@

 /************************** MISC DEFINITIONS ****************************/

-#define MAX_FILENAME_LENGTH            256 /* max length of path/filename that Icinga will process */
+#define MAX_FILENAME_LENGTH            512 /* max length of path/filename that Icinga will process */

After changing MAX_FILENAME_LENGTH it works and doesn't hurt ;-)

Changesets

2015-10-26 08:16:39 +00:00 by tredel 7e1e50a

Fix max filename length reached for config file paths

fixes #9847
@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-09-21 20:32:14 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfriedrich
  • Target Version set to 1.14

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-10-26 08:17:28 +00:00

  • Assigned to changed from mfriedrich to tredel

@icinga-migration
Copy link
Author

Updated by tredel on 2015-10-26 08:20:05 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 7e1e50a.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant