[Bug 887904] New: nagios changes permissions on /tmp upon restart
https://bugzilla.novell.com/show_bug.cgi?id=887904 https://bugzilla.novell.com/show_bug.cgi?id=887904#c0 Summary: nagios changes permissions on /tmp upon restart Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wagner-thomas@gmx.at QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 systemctl restart nagios.service results in a change of the permission of /tmp nagios:/ # dir / | grep tmp drwxrwxrwt 7 root root 4096 Jul 18 12:30 tmp nagios:/ # systemctl restart nagios.service nagios:/ # dir / | grep tmp drwxr-xr-x 7 nagios nagios 4096 Jul 18 12:30 tmp nagios:/ # This is quite annoying since with the new permission lot of other stuff gets broken. Lots of X-Server based stuff isn't working with the new permissions (like xdm or x2go) Reproducible: Always nagios:/ # zypper info nagios Loading repository data... Reading installed packages... Information for package nagios: ------------------------------- Repository: server:monitoring Name: nagios Version: 4.0.7-114.1 Arch: x86_64 Vendor: obs://build.opensuse.org/server:monitoring Installed: Yes Status: up-to-date Installed Size: 962.6 KiB Summary: The Nagios Network Monitor Description: Nagios is a program that will monitor hosts and services on your network. It has the ability to email or page you when a problem arises and when a problem is resolved. Nagios is written in C and is designed to run under Linux (and some other *NIX variants) as a background process, intermittently running checks on various services that you specify. The actual service checks are performed by separate "plugin" programs which return the status of the checks to Nagios. The plugins are available at http://sourceforge.net/projects/nagiosplug This package provides core programs for Nagios. The web interface, documentation, and development files are built as separate packages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=887904 https://bugzilla.novell.com/show_bug.cgi?id=887904#c1 --- Comment #1 from Thomas Wagner <wagner-thomas@gmx.at> 2014-07-18 10:50:40 UTC --- As a workaround I set temp_path=/var/lib/nagios/tmp in /etc/nagios/nagios.cfg (which was originally temp_path=/tmp) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=887904 https://bugzilla.novell.com/show_bug.cgi?id=887904#c Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |lrupp@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=887904 https://bugzilla.novell.com/show_bug.cgi?id=887904#c2 Lars Vogdt <lrupp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |CLOSED CC| |lrupp@suse.com Platform|Other |All Found By|--- |Community User Resolution| |FIXED OS/Version|Other |openSUSE 13.1 --- Comment #2 from Lars Vogdt <lrupp@suse.com> 2014-07-23 15:42:30 CEST --- Thanks for the report! Fixed package submitted to server:monitoring repository. Last changelog entry: ------------------------------------------------------------------- Wed Jul 23 13:40:28 UTC 2014 - lars@linux-schulserver.de - include special handling for the temp_path variable in the nagios-exec-start-pre script to avoid setting wrong permissions (bnc #887904) ------------------------------------------------------------------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=887904 https://bugzilla.novell.com/show_bug.cgi?id=887904#c3 --- Comment #3 from Thomas Wagner <wagner-thomas@gmx.at> 2014-07-23 14:32:56 UTC --- Maybe not directly linked to this bug, but I can't see your changes. https://build.opensuse.org/package/show?project=server%3Amonitoring&package=nagios say that the nagios package does not exist. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=887904 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- The fix dropped $(dirname "$temp_path") "$temp_path" and dirname /tmp returns / which is the cause of bug 898185 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com