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

Bug 62717

Summary: updated ebuild: sys-apps/smartmontools-5.32
Product: Gentoo Linux Reporter: Ziga Boehm <ziga.boehm>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: charlesnburns, rockoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild
init script (files section of ebuild)
config file (files section of ebuild, destined for /etc/conf.d/smartd)
example config file (files section of ebuild, destined for /etc/smartd.conf.example)

Description Ziga Boehm 2004-09-03 08:06:42 UTC
this is my first ebuild (modification), so please check for potential mistakes i could have done unintentionally - i did test it and it merged ok on my system.

i took current smartmontools-5.30.ebuild as my template, which i renamed to a newer version (bug #50493) and introduced few other changes. also i tried to address bug #60024 and the missing /etc/smartd.conf file (see bellow).

changes include:
- reload option in daemon init script
- inclusion of checkconfig function, which checks for the presence of /etc/smartd.conf file and prints out warning if none is found (but continues with daemon load nonetheless)
- inclusion of /etc/conf.d/smartd, with attempt at configuring pidfile and some other daemon options "the gentoo way" (something similar is done with dhcp, apache etc.)
- inclusion of example config (which at the moment is just verbatim copy of original smartmontools example file)
- some textual changes to the pkg_postinst section of the ebuild to explain better what has to be done in order to configure smartd

further improvements could be made mainly in /etc/smatrd.conf.example to better auto-magically handle which devices should be smartmonitored.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ziga Boehm 2004-09-03 08:08:07 UTC
Created attachment 38819 [details]
ebuild
Comment 2 Ziga Boehm 2004-09-03 08:10:03 UTC
Created attachment 38820 [details]
init script (files section of ebuild)
Comment 3 Ziga Boehm 2004-09-03 08:12:26 UTC
Created attachment 38821 [details]
config file (files section of ebuild, destined for /etc/conf.d/smartd)
Comment 4 Ziga Boehm 2004-09-03 08:14:13 UTC
Created attachment 38822 [details]
example config file (files section of ebuild, destined for /etc/smartd.conf.example)
Comment 5 Daniel Webert 2004-09-07 16:41:42 UTC
*** Bug 50493 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2004-10-09 18:19:42 UTC
5.33 has these fixes, thanks :)