Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133733 - Patch sys-power/nut to fix superflous log messages
Summary: Patch sys-power/nut to fix superflous log messages
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 15:40 UTC by Jonathan Sailor
Modified: 2006-05-18 16:09 UTC (History)
0 users

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


Attachments
Patch to nut ebuild (nut.diff,419 bytes, patch)
2006-05-18 15:43 UTC, Jonathan Sailor
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Sailor 2006-05-18 15:40:10 UTC
On recent kernels with some USB UPSs, sys-power/nut will get many USB events it doesn't want to handle. It normally syslog's for those events, which can result in lots of clutter in the logs (i.e. 7 messages
every 5 seconds), a la <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160700>.

Attachment 75508 [details, diff] is a simple patch to nut which changes the appropriate upslogx() calls to usbdebugx() calls. I've been using it for a few months with no problems.
Comment 1 Jonathan Sailor 2006-05-18 15:43:43 UTC
Created attachment 87023 [details, diff]
Patch to nut ebuild

This is a patch to nut's ebuild to apply the patch in attachment 75508 [details, diff] to nut. It should apply to most recent versions of nut, including 2.0.2 and 2.0.3.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-18 16:09:06 UTC
NAK.
Stop using hidups and use newhidups instead.