Diff

Differences From Artifact [4a3d6cb02a]:

To Artifact [d62e07fe87]:


    90     90   Because "filed" relies on chroot(2) and setuid(2), log files cannot reliably
    91     91   be re-opened.  If you need log rotation then a second process, which can close
    92     92   and re-open log files, must be used.  Any process may be used for writing logs
    93     93   but if the process does not support log rotation then it will not provide that
    94     94   benefit.  For example, if you wish to write logs to syslogd(8) you can use
    95     95   logger(1), such as:
    96     96   	# ./filed --root /www --user nobody --log '|logger -t filed' --daemon
           97  +
           98  +Troubleshooting
           99  +---------------
          100  +   1. It won't compile, something about stdatomic.h not found or _Atomic not
          101  +      a valid type.
          102  +
          103  +      => This is a bug in your compiler:
          104  +            https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016
          105  +
          106  +         GCC 4.7.x and 4.8.x define the macro indicating that they have C11
          107  +         support and do not define the macro that C11 requires to indicate
          108  +         that C11 atomics are not available.  They should define that macro.
          109  +
          110  +         You can disable the features in "filed" that require C11 atomics by
          111  +         defining FILED_DONT_TIMEOUT in the Makefile.