Bug 217072 - net-mgmt/nagvis: port update destroys installation!
Summary: net-mgmt/nagvis: port update destroys installation!
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 15:14 UTC by O. Hartmann
Modified: 2017-02-13 15:24 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (derfi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2017-02-13 15:14:27 UTC
In the chain of updating Xorg I had to update serveral ports and by accident, I also included net-mgmt/nagvis.

This port stores its etc/ folder under /usr/local/www/nagvis/etc. The folder contains maps and other crucial configuration stuff. An update, reinstallation DESTROYS (or overwrites, but with the very same end result) all content of maps, automaps!

Other ports store either their local configs in ETCDIR=/usr/local/etc or preserve the configs.

I had a bunch of maps created my own and after this update, everything was gone, even the customisation of integration of nagvis in net-mgmt/icingaweb2.

This is very bad. Even if someone does have a backup, this shouldn't be happen.

Either the content of this non-standard etc folder should be precious and not deleted, or the standard etc folder should be delegated to /usr/local/etc/nagvis (or whatever is suitable in this case).

Or do I miss something here and made a capital mistake?

oh
Comment 1 O. Hartmann 2017-02-13 15:24:20 UTC
I'm completely clouded :-( Sorry for the noise, checked on the wrong machine! There is no(!) destruction.

But anyway, if there is a possibility to delegate etc/ to /usr/local/etc/nagvis would be great.