From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Bigonville Subject: Trivial patches Date: Tue, 12 Jul 2016 17:15:01 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------213D65474B912672D756F8F0" Return-path: Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6CFF8OF005344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 12 Jul 2016 11:15:08 -0400 Received: from anor.bigon.be (anor.bigon.be [91.121.173.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4086DC0624A1 for ; Tue, 12 Jul 2016 15:15:07 +0000 (UTC) Received: from anor.bigon.be (localhost.localdomain [127.0.0.1]) by anor.bigon.be (Postfix) with ESMTP id 52C8A1A1AF for ; Tue, 12 Jul 2016 17:15:05 +0200 (CEST) Received: from anor.bigon.be ([127.0.0.1]) by anor.bigon.be (anor.bigon.be [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id joG6WZkzKxSV for ; Tue, 12 Jul 2016 17:15:01 +0200 (CEST) Received: from [10.20.193.114] (unknown [193.53.238.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: bigon) by anor.bigon.be (Postfix) with ESMTPSA id 7FE3D1A1A1 for ; Tue, 12 Jul 2016 17:15:01 +0200 (CEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com This is a multi-part message in MIME format. --------------213D65474B912672D756F8F0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Could you please merge the following patches that have been proposed to debian by Nicolas Braud-Santoni? The patches add the Documentation key in the .service file and also fix some typos. Cheers, Laurent Bigonville --------------213D65474B912672D756F8F0 Content-Type: text/x-patch; name="02-Fix-typos-in-manpages-and-messages.patch" Content-Disposition: attachment; filename="02-Fix-typos-in-manpages-and-messages.patch" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx4-phx2.redhat.com id u6CFFA9W004489 From: Nicolas Braud-Santoni Date: Tue, 28 Jun 2016 22:59:59 +0200 Subject: Fix typos in manpages and messages --- bindings/python/auparse_python.c | 6 +++--- docs/auditd.conf.5 | 2 +- docs/auparse_find_field.3 | 2 +- docs/auparse_find_field_next.3 | 4 ++-- tools/auvirt/auvirt.8 | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bindings/python/auparse_python.c b/bindings/python/auparse_p= ython.c index 6ec22c9..37d99be 100644 --- a/bindings/python/auparse_python.c +++ b/bindings/python/auparse_python.c @@ -1383,7 +1383,7 @@ PyDoc_STRVAR(find_field_doc, "find_field(name) Search for field name.\n\ \n\ find_field() will scan all records in an event to find the first\n\ -occurance of the field name passed to it. Searching begins from the\n\ +occurence of the field name passed to it. Searching begins from the\n\ cursor=E2=80=99s current position. The field name is stored for subseque= nt\n\ searching.\n\ \n\ @@ -1413,9 +1413,9 @@ const char *auparse_find_field_next(auparse_state_t= *au); * auparse_find_field_next ********************************/ PyDoc_STRVAR(find_field_next_doc, -"find_field_next() Get next occurrance of field name\n\ +"find_field_next() Get next occurrence of field name\n\ \n\ -find_field_next() returns the value associated next occurrance of field = name.\n\ +find_field_next() returns the value associated next occurrence of field = name.\n\ Returns value associated with field or None if there is no next field.\n= \ Raises exception (EnvironmentError) on error.\n\ "); diff --git a/docs/auditd.conf.5 b/docs/auditd.conf.5 index 6715341..6a16c21 100644 --- a/docs/auditd.conf.5 +++ b/docs/auditd.conf.5 @@ -204,7 +204,7 @@ means that it will issue a warning to syslog. .I rotate will rotate logs, losing the oldest to free up space. .I exec -/path-to-script will execute the script. You cannot pass parameters to t= he script. The script is also responsible for telling the auditd daemon t= o resume loggin +/path-to-script will execute the script. You cannot pass parameters to t= he script. The script is also responsible for telling the auditd daemon t= o resume login g once its completed its action. This can be done by adding service audi= td resume to the script. .I Suspend will cause the audit daemon to stop writing records to the disk. The dae= mon will still be alive. The diff --git a/docs/auparse_find_field.3 b/docs/auparse_find_field.3 index 4062588..a9db80e 100644 --- a/docs/auparse_find_field.3 +++ b/docs/auparse_find_field.3 @@ -8,7 +8,7 @@ const char *auparse_find_field(auparse_state_t *au, const= char *name); =20 .SH "DESCRIPTION" =20 -auparse_find_field will scan all records in an event to find the first o= ccurance of the field name passed to it. Searching begins from the cursor= 's current position. The field name is stored for subsequent searching. +auparse_find_field will scan all records in an event to find the first o= ccurrence of the field name passed to it. Searching begins from the curso= r's current position. The field name is stored for subsequent searching. =20 .SH "RETURN VALUE" =20 diff --git a/docs/auparse_find_field_next.3 b/docs/auparse_find_field_nex= t.3 index f072fe7..e921080 100644 --- a/docs/auparse_find_field_next.3 +++ b/docs/auparse_find_field_next.3 @@ -1,6 +1,6 @@ .TH "AUPARSE_FIND_FIELD_NEXT" "3" "Feb 2007" "Red Hat" "Linux Audit API" .SH NAME -auparse_find_field_next \- find next occurrance of field name +auparse_find_field_next \- find next occurrence of field name .SH "SYNOPSIS" .B #include .sp @@ -8,7 +8,7 @@ const char *auparse_find_field_next(auparse_state_t *au); =20 .SH "DESCRIPTION" =20 -auparse_find_field_next finds the next occurrance of the previously stor= ed field name. It will scan until it reaches the last record of the curre= nt event. +auparse_find_field_next finds the next occurrence of the previously stor= ed field name. It will scan until it reaches the last record of the curre= nt event. =20 .SH "RETURN VALUE" =20 diff --git a/tools/auvirt/auvirt.8 b/tools/auvirt/auvirt.8 index 96123f4..1fbc1f5 100644 --- a/tools/auvirt/auvirt.8 +++ b/tools/auvirt/auvirt.8 @@ -13,7 +13,7 @@ guest, both UUID or VM name can be given. =20 For each guest session the tool prints a record with the domain name, th= e user that started the guest, the time when the guest was started and the time= when -the guest was stoped. +the guest was stopped. =20 If the option "\-\-all\-events" is given a more detailed output is shown= . In this mode other records are shown for guest's stops, resource --------------213D65474B912672D756F8F0 Content-Type: text/x-patch; name="0003-Add-documentation-links-in-systemd-unit-file.patch" Content-Disposition: attachment; filename="0003-Add-documentation-links-in-systemd-unit-file.patch" Content-Transfer-Encoding: 7bit From: Nicolas Braud-Santoni Date: Tue, 28 Jun 2016 23:25:01 +0200 Subject: Add documentation links in systemd unit file --- init.d/auditd.service | 1 + 1 file changed, 1 insertion(+) diff --git a/init.d/auditd.service b/init.d/auditd.service index cb0ebfb..0793a92 100644 --- a/init.d/auditd.service +++ b/init.d/auditd.service @@ -5,6 +5,7 @@ After=local-fs.target systemd-tmpfiles-setup.service Conflicts=shutdown.target Before=sysinit.target shutdown.target ConditionKernelCommandLine=!audit=0 +Documentation=man:auditd(8) https://people.redhat.com/sgrubb/audit/ [Service] ExecStart=/sbin/auditd -n --------------213D65474B912672D756F8F0 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 7bit --------------213D65474B912672D756F8F0--