Bug 157794

Summary: iptraf configuration file removed upon reboot
Product: [Fedora] Fedora Reporter: Ziga Mahkovec <ziga.mahkovec>
Component: iptrafAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-18 13:59:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch that moves the configuration file to /etc none

Description Ziga Mahkovec 2005-05-15 19:12:18 UTC
Description of problem:
iptraf stores its configuration file in /var/run/iptraf/iptraf.cfg.  FHS issues
aside, this means that all configuration changes will be lost upon the next
reboot (since most files in /var/run are removed by rc.sysinit).

Version-Release number of selected component (if applicable):
iptraf-2.7.0-13

How reproducible:
always

Steps to Reproduce:
1. Start iptraf and change configuration.
2. Reboot.
3. Start iptraf again.
  
Actual results:
All configuration changes are lost.

Expected results:
The configuration changes should be preserved.

Additional info:
I'm attaching a patch against the package in CVS.  It moves the configuration
file to /etc/iptraf.cfg and updates the spec file and the existing documentation
patch.

Comment 1 Ziga Mahkovec 2005-05-15 19:12:18 UTC
Created attachment 114397 [details]
Patch that moves the configuration file to /etc

Comment 2 Karsten Hopp 2005-05-18 13:59:19 UTC
fixed in -15