[Buildroot] [PATCH 1/1] package/syslog-ng: fix localstatdir directory.

Peter Korsgaard peter at korsgaard.com
Tue Jul 12 21:50:50 UTC 2016


>>>>> "Adam" == Adam Duskett <aduskett at gmail.com> writes:

 > 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: Adam Duskett <aduskett at codeblue.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list