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

Bug 834014

Summary: net-fs/samba-4.15.4-r1 installs an empty dir, QA
Product: Gentoo Linux Reporter: korte
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description korte 2022-02-25 07:08:36 UTC
I updated samba on a PI400 and saw:

 * QA Notice: The ebuild is installing to one or more unexpected paths:
 *
 *   /run
 *
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.
 * 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/samba
 *   var/cache/samba/.keep_net-fs_samba-0  var/lock
 *   var/lock/samba
 *   var/lock/samba/.keep_net-fs_samba-0  var/run
 *   var/run/samba  run
 *   run/samba
 * One or more empty directories installed to /var:
 *
 *   /var/run/samba
 *
 * If those directories need to be preserved, please make sure to create
 * or mark them for keeping using 'keepdir'. Future versions of Portage
 * will strip empty directories from installation image.


Reproducible: Always
Comment 1 korte 2022-02-25 07:16:03 UTC
Created attachment 765793 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-25 07:26:39 UTC

*** This bug has been marked as a duplicate of bug 520612 ***