Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376157 - net-analyzer/iptraf-ng-1.1.0 should keepdir /var/{lib,log,lock}/iptraf-ng
Summary: net-analyzer/iptraf-ng-1.1.0 should keepdir /var/{lib,log,lock}/iptraf-ng
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 00:55 UTC by Bertrand Jacquin
Modified: 2012-01-13 09:32 UTC (History)
0 users

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 Bertrand Jacquin 2011-07-24 00:55:27 UTC
When /var/lock/iptraf does not exist, we get the following error

# iptraf  
Cannot create /var/lock/iptraf: No such file or directory

src_install should keepdir /var/{lib,run,lock,log}/iptraf


Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-01-13 09:32:19 UTC
This changed again in version 1.1.0 and src/dirs.h seems to indicate we need now:

keepdir /var/{lib,log,lock}/iptraf-ng

So this is now fixed in the ebuild for 1.1.0.