[Bug 743289] New: server:monitoring/monit: Bugs in init.d script
https://bugzilla.novell.com/show_bug.cgi?id=743289 https://bugzilla.novell.com/show_bug.cgi?id=743289#c0 Summary: server:monitoring/monit: Bugs in init.d script Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: openSUSE 11.3 Status: NEW Severity: Critical Priority: P5 - None Component: 3rd party software AssignedTo: pascal.bleser@opensuse.org ReportedBy: luke@box.com QAContact: opensuse-communityscreening@forge.provo.novell.com CC: nix@opensuse.org Found By: --- Blocker: --- Hey, I'm using the Monit 5.3.2 package on OpenSuSE 11.3 and there are some quite obvious problems with the packaged init.d script. 1. The init.d script uses the wrong default PID file. Under my testing, Monit defaults to "/var/run/monit.pid", while the init.d script uses "/var/run/monit/monit.pid". This causes the "monit" command to fail to find the existing monit process and results in two monit daemons fighting each other. (see bug 497574) 2. An empty "monit.pid" directory is written in the current directory when running the init.d script. This is a pretty obvious error: PID_DIR=$(/bin/basename "$MONIT_PID_FILE") /bin/mkdir -p -m0700 "$PID_DIR" The author meant to use "dirname", not "basename". Thanks! -- 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=743289
https://bugzilla.novell.com/show_bug.cgi?id=743289#c
Pascal Bleser
https://bugzilla.novell.com/show_bug.cgi?id=743289
https://bugzilla.novell.com/show_bug.cgi?id=743289#c1
Pascal Bleser
https://bugzilla.novell.com/show_bug.cgi?id=743289
https://bugzilla.novell.com/show_bug.cgi?id=743289#c2
--- Comment #2 from Pascal Bleser
https://bugzilla.novell.com/show_bug.cgi?id=743289
https://bugzilla.novell.com/show_bug.cgi?id=743289#c3
Luke Curley
participants (1)
-
bugzilla_noreply@novell.com