[Bug 931859] Re: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
This bug was fixed in the package nagios3 - 3.2.3-3ubuntu1 --- nagios3 (3.2.3-3ubuntu1) precise; urgency=low * Don't fix permissions in cgi postinst (LP: #931859) -- Paul BelangerTue, 14 Feb 2012 11:54:34 -0500 ** Changed in: nagios3 (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/931859 Title: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 931859] Re: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
** Patch added: "3.2.3-3ubuntu1 version" https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+attachment/2742661/+files/nagios3_3.2.3ubuntu1.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/931859 Title: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 931859] Re: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
Ah! that makes sense. Thanks for the new information. ACK on the debdiff. The only change I will do before uploading is changing the version to 3.2.3-3ubuntu1 since we now have a Ubuntu delta. ** Changed in: nagios3 (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/931859 Title: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 931859] Re: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
The issue is the file permission being changed are not part of this package. In fact, they are already handled in the nagios3-common.postinst script. It should be noted this is the same fix that upstream has chosen[1] to use. [1] http://anonscm.debian.org/gitweb/?p=pkg-nagios/pkg- nagios3.git;a=blobdiff;f=debian/nagios3-cgi.postinst;h=6bf16f841aceeac04841067406e5f3d15f5fcbd6;hp=3dcea97c06739ef788be65e2e60bda48cff44bdf;hb=54e3dffab607f9ff9f4e08ae7e6ccd378efa9d49;hpb=45b3eb939649e8c867d155f81a09ece56b345afb -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/931859 Title: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 931859] Re: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
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 Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/931859 Title: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 931859] Re: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory
** Patch added: "nagios3_3.2.3.debdiff" https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+attachment/2738943/+files/nagios3_3.2.3.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/931859 Title: chown: cannot access `/etc/nagios3/resource.cfg': No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/931859/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs