From: shihanzhang Date: Mon, 17 Feb 2014 07:51:49 +0000 (+0800) Subject: Fix invalid facilities documented in rootwrap.conf X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5074cf5f574c94bd1a11b143bed9a6b22fa01ec5;p=openstack-build%2Fcinder-build.git Fix invalid facilities documented in rootwrap.conf The values user0 and user1 do not map to valid facility values. local1, etc. Using user0 results in a pri value that does not map back to a facility of the same name in syslog. RFC5424 suggest values values of local0 through local7. Setting syslog_log_facility to one of those values results in a message with a priority that can be mapped back to the original string value. This fix adjusts the comment in rootwrap.conf to suggest the local prefix instead of the user prefix. Change-Id: I1c1233ab2386994672d22341fbe3e097409dbcbc Closes-bug: #1280879 --- diff --git a/etc/cinder/rootwrap.conf b/etc/cinder/rootwrap.conf index dfa8a99cc..001b90af5 100644 --- a/etc/cinder/rootwrap.conf +++ b/etc/cinder/rootwrap.conf @@ -17,7 +17,7 @@ exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin use_syslog=False # Which syslog facility to use. -# Valid values include auth, authpriv, syslog, user0, user1... +# Valid values include auth, authpriv, syslog, local0, local1... # Default value is 'syslog' syslog_log_facility=syslog