I tracked it down to a problem with the config.c and process.c which leads to a 
problem that the format string _has to_ contain all arguments until the last 
one used.
For example: %x %t works, but just %t doesn't and %s %t %x %p also works 
(only exception is %h, which can be used without any restrictions)

And also the argument description in the example config file is wrong,
here is a corrected version:

# Accounting format, specified with a format string with similar
# syntax to printf(3)
#
#  %x since
#  %t timestamp
#  %p protocol
#  %s source IP
#  %S source port
#  %d destination IP
#  %D destination port
#  %P packets
#  %b bytes
#  %i incoming interface
#  %o outgoing interface
#  %f prefix
#  %u local uid
#  %X time since
#  %Z time
#  %h hostname
#  %m mac
#
#  \t tab
#  \n newline
#  \r
#  \f
#  \e
#  \\ literal \
#  \" literal "
#  \% literal %
#  %% literal %

-- 
ulog-acctd only reports "*** invalid %N$ use detected ***"
https://bugs.launchpad.net/bugs/610643
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to