Hi there,

Just thought I would report this even though it is not a big issue and was 
easily diagnosed. I'm starting to test my current 5.8 config on 7.2.3 stable 
from the RPM on a fresh machine. My config contains the line:

$FileGroup network

The group network did not exist on my new test machine, and rsyslog hung using 
100% of a CPU thread when I attempted to start it with no error message. The 
bottom of the debug log is below. After creating the group, rsyslog starts 
fine. Perhaps a graceful failure with a warning about the configuration being 
incorrect might be more user friendly.

Reading a token: 9780.160278000:2aedd1ed9cc0: cnf:global:cfsysline: $ModLoad 
impstats
9780.160382000:2aedd1ed9cc0: Requested to load module 'impstats'
9780.160463000:2aedd1ed9cc0: loading module '/lib64/rsyslog/impstats.so'
9780.176096000:2aedd1ed9cc0: impstats version 7.2.3 loading
9780.176189000:2aedd1ed9cc0: module impstats of type 0 being loaded 
(keepType=0).
9780.176403000:2aedd1ed9cc0: module config name is 'impstats'
9780.176473000:2aedd1ed9cc0: module impstats supports rsyslog v6 config 
interface
9780.176577000:2aedd1ed9cc0: entry point 'activateCnfPrePrivDrop' not present 
in module
9780.176732000:2aedd1ed9cc0: entry point 'newInpInst' not present in module
9780.176801000:2aedd1ed9cc0: cnf:global:cfsysline: $PStatInterval 300
9780.176960000:2aedd1ed9cc0: cnf:global:cfsysline: $PStatSeverity 7
9780.177090000:2aedd1ed9cc0: cnf:global:cfsysline: $ActionFileDefaultTemplate 
RSYSLOG_TraditionalFileFormat
9780.177173000:2aedd1ed9cc0: doGetWord: get newval 
'RSYSLOG_TraditionalFileFormat' (len 29), hdlr 0x2aedd0413840
9780.177317000:2aedd1ed9cc0: cnf:global:cfsysline: $ModLoad imklog.so
9780.177403000:2aedd1ed9cc0: Requested to load module 'imklog.so'
9780.177532000:2aedd1ed9cc0: loading module '/lib64/rsyslog/imklog.so'
9780.178345000:2aedd1ed9cc0: module imklog.so of type 0 being loaded 
(keepType=0).
9780.178446000:2aedd1ed9cc0: entry point 'isCompatibleWithFeature' not present 
in module
9780.178549000:2aedd1ed9cc0: module config name is 'imklog'
9780.178637000:2aedd1ed9cc0: module imklog.so supports rsyslog v6 config 
interface
9780.178751000:2aedd1ed9cc0: entry point 'newInpInst' not present in module
9780.178843000:2aedd1ed9cc0: cnf:global:cfsysline: $ModLoad imuxsock.so
9780.178933000:2aedd1ed9cc0: Requested to load module 'imuxsock.so'
9780.179036000:2aedd1ed9cc0: loading module '/lib64/rsyslog/imuxsock.so'
9780.181741000:2aedd1ed9cc0: imuxsock version 7.2.3 initializing
9780.181932000:2aedd1ed9cc0: rsyslog/glbl: using '127.0.0.1' as localhost IP
9780.182040000:2aedd1ed9cc0: module imuxsock.so of type 0 being loaded 
(keepType=0).
9780.182127000:2aedd1ed9cc0: module config name is 'imuxsock'
9780.182208000:2aedd1ed9cc0: module imuxsock.so supports rsyslog v6 config 
interface
9780.182320000:2aedd1ed9cc0: cnf:global:cfsysline: $MainMsgQueueWorkerThreads 8
9780.182418000:2aedd1ed9cc0: cnf:global:cfsysline: $MainMsgQueueSize 200000
9780.182570000:2aedd1ed9cc0: cnf:global:cfsysline: $RepeatedMsgReduction off
9780.182656000:2aedd1ed9cc0: cnf:global:cfsysline: 
$EscapeControlCharactersOnReceive off
9780.182737000:2aedd1ed9cc0: cnf:global:cfsysline: $Umask 0022
9780.182833000:2aedd1ed9cc0: cnf:global:cfsysline: $DirCreateMode 0750
9780.182968000:2aedd1ed9cc0: cnf:global:cfsysline: $FileCreateMode 0640
9780.183046000:2aedd1ed9cc0: cnf:global:cfsysline: $FileOwner root
9780.183275000:2aedd1ed9cc0: uid 0 obtained for user 'root'
9780.183381000:2aedd1ed9cc0: cnf:global:cfsysline: $FileGroup network


Thanks,
Dan Woodruff
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to