Package: debian-handbook
Version: 7.20140126
Severity: normal

Dear all,

There is mistake about mentioning impropriety option --log-prefix
for LOG target of iptables.

For all documents, the option '--log-prefix' are mentioned 2 times.
The one is for udevadm in 09_unix-services.xml, which is ok.
The other is for iptables in 14_security.xml, which is mistake.

I pushed the fix to master branch of the git source code repository
onto my temporally repository [1], and attached the fix as a patch.
Please find either of them.

[1] 
http://anonscm.debian.org/cgit/debian-handbook/users/ayanokouzi-guest.git/commit/?h=master_fix_undefined_option&id=49e331d24ef181370c4c18ac2cd073bd9c23d26d

I checked it by following commands.

$ git grep -C 3 -e 'log-priority' en-US/*
en-US/09_unix-services.xml-     <filename>/var/log/daemon.log</filename>. But 
it is not very
en-US/09_unix-services.xml-     verbose by default, and it's usually not enough 
to understand
en-US/09_unix-services.xml-     what's happening. The <command>udevadm control
en-US/09_unix-services.xml:     --log-priority=info</command> command increases 
the verbosity level
en-US/09_unix-services.xml-     and solves this problem. <command>udevadm 
control
en-US/09_unix-services.xml:     --log-priority=err</command> returns to the 
default verbosity
en-US/09_unix-services.xml-     level.</para>
en-US/09_unix-services.xml-      </sidebar>
en-US/09_unix-services.xml-    </section>
--
en-US/14_security.xml-  instance, has the following options:</para>
en-US/14_security.xml-        <itemizedlist>
en-US/14_security.xml-          <listitem>
en-US/14_security.xml:      <para><literal>--log-priority</literal>, with 
default value
en-US/14_security.xml-      <literal>warning</literal>, indicates the
en-US/14_security.xml-      <command>syslog</command> message priority;</para>
en-US/14_security.xml-          </listitem>

# COLUMNS=80 man 8 udevadm | grep -A4 -e '--log-priority'
       -l, --log-priority=value
           Set the internal log level of systemd-udevd. Valid values are the
           numerical syslog priorities or their textual representations: err,
           info and debug.

# COLUMNS=80 man 8 iptables-extensions | grep -A4 -e '--log-level'
       --log-level level
              Level  of  logging,  which can be (system-specific) numeric or a
              mnemonic.  Possible values are (in decreasing  order  of  prior-
              ity): emerg, alert, crit, error, warning, notice, info or debug.


-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

Sincerely yours,
Ryuunosuke Ayanokouzi
--
AYANOKOUZI, Ryuunosuke <i38w...@yahoo.co.jp>

Attachment: 0001-fix-undefined-option-log-prefix-for-LOG-target-of-ip.patch
Description: Binary data

Attachment: pgpB3_AYskdWu.pgp
Description: OpenPGP Digital Signature

Reply via email to