[Logcheck-devel] Bug#297995: logcheck: messages generated by ipod attachment

Jamie L. Penman-Smithson jamie at silverdream.org
Thu Apr 7 22:58:45 UTC 2005


package logcheck-database
tags 297995 pending
thanks!

On Thu, 2005-03-03 at 21:16 +0000, Lee Maguire wrote:
> The following supressable messages are reported by logcheck
> (workstation) when an iPod shuffle is inserted (with a udev
> rule to create /dev/ipod ) which is essentially just a USB
> storage device.
> 
> Mar  3 01:09:37 localhost kernel: usb 1-1: configuration #1 chosen from 2 choices
> Mar  3 01:09:38 localhost usb.agent[9622]: Keeping default configuration with /sys//devices/pci0000:00/0000:00:01.2/usb1/1-1
<snip>

I've added the following rules to CVS which match the log messages
you've supplied:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ usb.agent\[[0-9]+\]: Keeping default
configuration with [[:space:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: +Vendor: [^[:space:]]+
+Model: [[:alnum:][:space:]]+ ([^[:space:]]+)?+Rev: +[.0-9]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ scsi.agent\[[0-9]+\]: (disk|cdrom) at
[\./:[:alnum:]-]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ usb.agent\[[0-9]+\]: Keeping default
configuration with [\./:[:alnum:]-]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usb 1-1: configuration
#[0-9]+ chosen from [0-9]+ choices$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: sd[a-z]: Write Protect is off
$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: sd[a-z]: assuming (Write
Enabled|drive cache: write through)$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: SCSI subsystem initialized$

Also for udev:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ udev\[[0-9]+\]: configured rule in
'[\./:[:alnum:]-]+\[[0-9]+\]' applied, (added symlink
'[[:alnum:]]+'|'sd[a-z]([0-9]{1,2})?' becomes '%k')$

Thanks for your bug report,

-- 
-jamie <jamie at silverdream.org> | spamtrap: spam at silverdream.org
 w: http://www.silverdream.org | p: sms at silverdream.org
 pgp key @ http://silverdream.org/~jps/pub.key
 21:30:02 up 17 min,  2 users,  load average: 2.65, 2.52, 1.58

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050407/dc753376/attachment.pgp 


More information about the Logcheck-devel mailing list