Skip to content
  • Adam Duskett's avatar
    package/syslog-ng: fix localstatdir directory · 6868a342
    Adam Duskett authored
    
    
    syslog-ng is built with the default buildroot flag localstatdir=/var
    
    This causes three issues:
    
    1) syslog-ng creates two files (syslog-ng.ctl and syslog-ng.persist in /var)
    which shouldn't have random files generated in it.
    
    2) SELinux expects it in it's default directory /var/run.
    
    3) This breakes read only file systems because /var/ usually isn't mounted as
    a seperate filing system.
    
    Setting the buildflag to the default /var/run
    fixes all three of thee of these issues.
    
    Signed-off-by: default avatarAdam Duskett <aduskett@codeblue.com>
    Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
    6868a342