[jboss-jira] [JBoss JIRA] (WFCORE-3355) logging subsystem should skip if directories can't be listed

Janine Eichler (JIRA) issues at jboss.org
Thu Oct 12 08:21:00 EDT 2017


Janine Eichler created WFCORE-3355:
--------------------------------------

             Summary: logging subsystem should skip if directories can't be listed
                 Key: WFCORE-3355
                 URL: https://issues.jboss.org/browse/WFCORE-3355
             Project: WildFly Core
          Issue Type: Feature Request
          Components: Logging
    Affects Versions: 3.0.5.Final, 2.1.0.Final
            Reporter: Janine Eichler
            Assignee: James Perkins


Following condition:
- a mounted volume within the jboss.log.dir
- the mounted volume is an ext filesystem

as a consequence a lost+found directory is automatically created, owned by root.root, permissions are 700.

Now when you spin up a jboss instance, the logging directory is recursively scanned, due to the lost+found folder the logging subsystem throws the error https://github.com/wildfly/wildfly-core/blob/802d4dfcf58e24030d6c43ed2b0102a0c3620ae1/logging/src/main/java/org/jboss/as/logging/logging/LoggingLogger.java#L909

using the cli or mgmt console to read the log is then not possible.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list