pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30199: sysutils/smartmontools fixes and enhancement



>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
>Environment:
System: NetBSD moray.salmi.ch 3.99.3 NetBSD 3.99.3 (GENERIC.APM) #0: Fri May 6 
14:31:08 CEST 2005 
build%moray.salmi.ch@localhost:/build/nbsd/i386/sys/arch/i386/compile/GENERIC.APM
 i386
Architecture: i386
Machine: i386
>Description:
- 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.
>How-To-Repeat:
- 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
>Fix:
I'll apply the patch to the PR asap; it will be available from
http://salmi.ch/~jukka/pkgsrc/smartmontools_5.32.patch




Home | Main Index | Thread Index | Old Index