Subject: pkg/30199: sysutils/smartmontools fixes and enhancement
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 05/11/2005 14:30:00
>Number:         30199
>Category:       pkg
>Synopsis:       sysutils/smartmontools fixes and enhancement
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 11 14:30:00 +0000 2005
>Originator:     Jukka Salmi
>Release:        NetBSD 3.99.3
System: NetBSD 3.99.3 NetBSD 3.99.3 (GENERIC.APM) #0: Fri May 6 14:31:08 CEST 2005 i386
Architecture: i386
Machine: i386
- sysutils/smartmontools doesn't honor PKG_SYSCONFDIR
- the example rc.d script explicitly sets smartd_flags="-p $pidfile" which
  is overwritten if the user sets smartd_flags in his rc config

While fixing the rc.d script I added the `check' command: it sends SIGUSR1
to smartd and thus lets it immediately check disk status.
- use a non-default PKG_SYSCONFBASE, install sysutils/smartmontools and
  wonder why it doesn't read smartd.conf
- set e.g. smartd_flags='-l local0' in /etc/rc.conf and wonder why smartd
  doesn't write the pidfile on startup anymore
I'll apply the patch to the PR asap; it will be available from