[Logcheck-devel] Bug#307588: logcheck-database: Patterns in /etc/logcheck/ignore.d.workstation/udev are too strict

Jamie L. Penman-Smithson jamie at silverdream.org
Wed May 4 13:10:34 UTC 2005


tags 307588 pending
thanks

On Wed, 2005-05-04 at 13:59 +1000, Martin Schwenke wrote:
> The patterns for udev are a bit too strict.  In particular, they don't
> match this sort of thing:
> 
>   May  4 12:10:34 localhost udev[5851]: configured rule in '/etc/udev/rules.d/udev.rules[59]' applied, 'pcmC0D0c' becomes 'snd/%k'
>   May  4 12:10:34 localhost udev[5851]: creating device node '/dev/snd/pcmC0D0c'

I've added the following rules to CVS, which match those messages:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ udev\[[0-9]+\]: (creating|removing)
device node '/dev(/[[:alnum:]]+)+'$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ udev\[[0-9]+\]: configured rule in
'[\./:[:alnum:]-]+\[[0-9]+\]' applied, (added
symlink )?'[[:alnum:]]+'( becomes '([[:alpha:]]+/)?%k')?$

Thanks for your report!

-j
-------------- 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/20050504/c985f9b3/attachment.pgp 


More information about the Logcheck-devel mailing list