Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 605496

Summary: www-apache/mod_security-2.7.7 : installs into paths that should be created at runtime
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: QA CC: mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 520404    

Description Toralf Förster gentoo-dev 2017-01-12 17:37:00 UTC
QA: other
QA Notice: This ebuild installs into paths that should be created at runtime.
 To fix, simply do not install into these directories.  Instead, your package
 should create dirs on the fly at runtime as needed via init scripts/etc...

  var/cache
  var/cache/modsecurity
  var/cache/modsecurity/.keep_www-apache_mod_security-0
QA Notice: Package triggers severe warnings which indicate that it
           may exhibit random runtime failures.
msc_tree.c:851:19: warning: implicit declaration of function 'inet_pton' [-Wimplicit-function-declaration]
Please do not file a Gentoo bug and instead report the above QA
issues directly to the upstream developers of this software.
Homepage: http://www.modsecurity.org/

  -----------------------------------------------------------------

  This is an stable amd64 chroot image (named desktop-libressl-stable_20170107-114550) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------
Comment 1 Michael Orlitzky gentoo-dev 2017-05-08 01:52:26 UTC
This is fixed in v2.9.1, by using /var/lib/modsecurity instead of /var/cache/modsecurity. That's a better place for it anyway.