chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
Bug #931859 reported by
Paul Belanger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nagios3 (Ubuntu) |
Fix Released
|
Undecided
|
Paul Belanger |
Bug Description
If you install nagios3-common, then configure the package as you see fit (removing /etc/nagios3/
Adding password for user nagiosadmin
chown: cannot access `/etc/nagios3/
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)
Related branches
Changed in nagios3 (Ubuntu): | |
assignee: | nobody → Paul Belanger (pabelanger) |
status: | New → Confirmed |
To post a comment you must log in.
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!