Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268124 - New ebuild: tiny watchdog : wdd
Summary: New ebuild: tiny watchdog : wdd
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 15:31 UTC by Bertrand Jacquin
Modified: 2013-02-08 18:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-apps/wdd-0.ebuild (wdd-0.ebuild,878 bytes, text/plain)
2009-05-01 15:32 UTC, Bertrand Jacquin
Details
fix some warnings (warning.patch,774 bytes, patch)
2009-05-01 15:33 UTC, Bertrand Jacquin
Details | Diff
add syslog support (wdd-syslog-errors.diff,2.03 KB, patch)
2009-05-01 15:33 UTC, Bertrand Jacquin
Details | Diff
wdd.initd (wdd.initd,413 bytes, text/plain)
2009-05-01 15:34 UTC, Bertrand Jacquin
Details
wdd.confd (wdd.confd,63 bytes, text/plain)
2009-05-01 15:34 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2009-05-01 15:31:38 UTC
From man-page: 

Wdd is a simple daemon which periodically pings the watchdog attached to /dev/watchdog to keep it alive, and parallely performs a series of system health checks to ensure everything is working correctly. If it detects an  error,  it exits so that the watchdog driver doesn't receive its keep-alives anymore and the system will quickly reboot. It is particularly targetted at remotely managed systems where accessibility is a prior concern.

As a bonus, it's really tiny, it consumes between 12 and 20 kB of memory on x86.



Reproducible: Always
Comment 1 Bertrand Jacquin 2009-05-01 15:32:39 UTC
Created attachment 190041 [details]
sys-apps/wdd-0.ebuild
Comment 2 Bertrand Jacquin 2009-05-01 15:33:19 UTC
Created attachment 190043 [details, diff]
fix some warnings
Comment 3 Bertrand Jacquin 2009-05-01 15:33:44 UTC
Created attachment 190044 [details, diff]
add syslog support
Comment 4 Bertrand Jacquin 2009-05-01 15:34:03 UTC
Created attachment 190046 [details]
wdd.initd
Comment 5 Bertrand Jacquin 2009-05-01 15:34:18 UTC
Created attachment 190047 [details]
wdd.confd
Comment 6 solar (RETIRED) gentoo-dev 2009-05-01 21:25:34 UTC
embedded uses busybox-watchdog. We have no real need for a new pkg which needs this much patching from the start. That -U_FORTIFY is also concerning.
Comment 7 SpanKY gentoo-dev 2013-02-08 08:20:37 UTC
upstream is dead, and existing watchdog is already pretty small as compared to this.  perhaps if the daemon was as small as [1], there might be interest.

http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/trunk/user/watchdogd/
Comment 8 Bertrand Jacquin 2013-02-08 18:55:34 UTC
It doesn't evolve anymore but is used on many system ;) So not really dead. Did you cantact Willy Tarreau ? I can slap him for don't respond you if needed.

URL need to be changed to linux.exosec.net, as it changed some times ago, and I didn't refresh the ebuild.

wdd does test fork(), malloc(), stat() the presence of existing files added to arguments