[Pkg-nagios-devel] Bug#719698: nagvis: Nagvis is unable to create auth.db unless owner of config directory is changed to www-data

Patrick Köping pako at pantor.com
Wed Aug 14 11:41:45 UTC 2013

Package: nagvis
Version: 1:1.6.6+dfsg.1-3
Severity: normal

Dear Maintainer,

After a fresh install of Nagvis in wheezy, the /etc/nagvis directory is 
owned by root.
If you go the the nagvis webinterface on http://<ip>/nagvis, it will 
complain that it can't create the auth.db file.
# chown www-data:www-data /etc/nagvis, solves this. But I'm not sure if 
this is as intended
and if it's a good idea regarding security. Anyhow nagvis doesn't work 
out of the box and it's not an obvious fix.

-- System Information:
Debian Release: 7.1
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagvis depends on:
ii  check-mk-livestatus    1.1.12p7-1
ii  debconf [debconf-2.0]  1.5.49
ii  graphviz               2.26.3-14
ii  libapache2-mod-php5    5.4.4-14+deb7u3
ii  php-gettext            1.0.11-1
ii  php-net-socket         1.0.9-2
ii  php5-common            5.4.4-14+deb7u3
ii  php5-gd                5.4.4-14+deb7u3
ii  php5-sqlite            5.4.4-14+deb7u3
ii  ucf                    3.0025+nmu3

nagvis recommends no packages.

Versions of packages nagvis suggests:
pn  nagvis-demos  <none>

-- debconf information excluded

More information about the Pkg-nagios-devel mailing list