Note that it's possible to set the path to monitrc using the --sysconfdir configure option.

If Debian package uses /etc/monit/monitrc by default (which is not in the hardcoded search path), it could be good to use the --sysconfdir to set the path properly.

If on the other side the movement to /etc/monit/monitrc was users decision, then it's not bug and the user should recompile monit himself.

Optionally we can add the /etc/monit/monitrc path to the hardcoded monit search path (it may look reasonable).


Thanks,
Martin



anton.m.serov wrote:
Package: monit
Version: 1:4.10.1-3+b1
Severity: normal

I've to create hardlink for 'monit status' to work:
ln /etc/monit/monitrc /etc/monitrc

Withoud this file monit exits with error message:
monit: Cannot find the control file at ~/.monitrc, /etc/monitrc, /etc/monitrc, 
/usr/local/etc/monitrc or at ./monitrc

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.3a.serov (SMP w/1 CPU core)
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages monit depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libssl0.9.8                   0.9.8g-8   SSL shared libraries

monit recommends no packages.

-- no debconf information






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to