Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217811

Summary: sys-apps/smartmontools provides bad init script for smartd
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: paolo.pedroni
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 217941    

Description Harris Landgarten 2008-04-15 15:50:48 UTC
rc-status show smartd crashed

ps -ef | grep smart
root      2366     1  0 08:19 ?        00:00:00 /usr/sbin/smartd -p /var/run/smartd.pid

smartctl works as expected.

Restarting smartd clears the crash but it reappears again.

Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-04-15 16:00:11 UTC
you can try taking the following line out of the init script...

            --pidfile /var/run/smartd.pid \

from the start() section.. NOT the stop()
Comment 2 Harris Landgarten 2008-04-15 18:18:01 UTC
That fixed it
Comment 3 Paolo Pedroni 2008-04-16 12:21:50 UTC
I can confirm it. It did the trick for me as well.

Comment 4 SpanKY gentoo-dev 2009-10-11 09:03:45 UTC
this was fixed at some point