Package: mon
Version: 0.99.2-7
Severity: normal

The "-a /foo/lib:/bar/lib" argument specifies an alternate path for mon
to look for alert scripts. With this change this in /etc/init.d/mon:

  # args="-f -c $cfg"
  args="-f -c $cfg -a /usr/local/lib/mon/alert.d:/usr/lib/mon/alert.d"

... when *starting* mon, it finds the scripts under /usr/local happily.

However, doing an '/etc/init.d/mon reload' causes mon to forget the 
alternative path. The path is reduced to '/usr/local/lib/mon/alert.d',
and mon sends this to syslog:

Apr 18 01:42:44 ZardoZ mon[7291]: ticket-maildir.alert not found in one of 
(@alerttdirs[/usr/lib/mon/alert.d])




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7ZardoZ
Locale: LANG=C, LC_CTYPE=fi_FI

Versions of packages mon depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libmon-perl                 0.11-2       mon Perl modules for clients and s
ii  libtime-period-perl         1.20-7       Perl library for testing if a time
ii  perl [libtime-hires-perl]   5.8.4-3      Larry Wall's Practical Extraction 

-- no debconf information


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

Reply via email to