[Bug 931859] Re: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
Marc Deslauriers
marc.deslauriers at canonical.com
Wed Feb 15 15:33:00 UTC 2012
Thanks for the debdiff.
Seems to me removing all the permission setting in the postinst is the
wrong way to fix this. How are those permissions going to get setup?
How about doing something like this instead?
test -f $en/resource.cfg && setperm root nagios 0640 $en/resource.cfg
NACK on the debdiff.
I am unsubscribing ubuntu-sponsors. Please re-subscribe the group once
you've submitted an updated debdiff.
Thanks!
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/931859
Title:
chown: cannot access `/etc/nagios3/resource.cfg': No such file or
directory
Status in “nagios3” package in Ubuntu:
Confirmed
Bug description:
If you install nagios3-common, then configure the package as you see
fit (removing /etc/nagios3/resource.conf) then try to install
nagios3-cgi, the package will fail to install properly.
Adding password for user nagiosadmin
chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
dpkg: error processing nagios3-cgi (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+subscriptions
More information about the Ubuntu-sponsors
mailing list