Purging MRTG removes data from /var/www/mrtg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mrtg (Debian) |
Fix Released
|
Unknown
|
|||
mrtg (Ubuntu) |
Fix Released
|
Low
|
Luca Falavigna | ||
Hardy |
Fix Released
|
Low
|
Luca Falavigna |
Bug Description
Binary package hint: mrtg
It's my understanding that when removing packages with --purge the package should also remove configuration information but not user data. In the case of mrtg, it removes everything inside /var/www/mrtg, the usual location to store user data. Please can the postrm script for purging be adjusted so that data is not deleted as part of the purge unless confirmed by the user (as is the case when purging MySQL server).
Steps to reproduce:
1. Install MRTG
2. Add some new data sources and graphs
3. apt-get remove --purge mrtg
Expected bahaviour:
1. Removal of MRTG binaries
2. Removal of MRTG configuration
Current behaviour:
1. Removal of MRTG binaries
2. Removal of MRTG configuration
3. Removal of entire /var/www/mrtg folder
Related branches
Changed in mrtg: | |
status: | Invalid → New |
Changed in mrtg: | |
importance: | Undecided → Low |
Changed in mrtg: | |
status: | Unknown → New |
Changed in mrtg: | |
status: | New → Fix Released |
A purge is designed to remove *all* folders and data which have been created by that package.
This is expected functionality, so I am closing this report. Feel free to continue to submit reports.