Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605368 - QA check for directories that should be created at runtime can not be ignored
Summary: QA check for directories that should be created at runtime can not be ignored
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard: WAS: net-misc/quagga-1.1.0-r2 : insta...
Keywords:
Depends on: 605558
Blocks: 608116
  Show dependency tree
 
Reported: 2017-01-11 09:54 UTC by Toralf Förster
Modified: 2017-04-06 11:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-01-11 09:54: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...

  run
  run/quagga
Comment 1 Sergey Popov gentoo-dev 2017-01-12 09:58:10 UTC
Look closely at ebuild - it installs tmpfiles.d config too. That paths needs to be created in ebuild, otherwise init script will fail before first reboot. And no, i do not want to overcomplicate initscript with additional checks, because it would not work with systemd units.
Comment 2 Toralf Förster gentoo-dev 2017-01-12 10:09:58 UTC
Isn't it then a bug in the QA detection ?
Comment 3 Sergey Popov gentoo-dev 2017-01-12 12:02:25 UTC
>Isn't it then a bug in the QA detection ?

Makes sense.

@qa: correct me if i am wrong - we do not have any variables to ignore some paths from this check, do we?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-01-12 12:18:05 UTC
Look at tmpfiles.eclass.