Bug#789285: debian-handbook: fix undefined option --log-prefix for LOG target of iptables

2015-08-28 Thread Raphael Hertzog
On Sat, 20 Jun 2015, AYANOKOUZI, Ryuunosuke wrote:
> But for avoiding mistake, I removed the commit and made another commit [1].
> And I attached the commit as a patch.
> Please find either the new commit or a patch.

Thanks for the patch, I just applied to the master branch (will push later
today).

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/



Bug#789285: debian-handbook: fix undefined option --log-prefix for LOG target of iptables

2015-06-19 Thread AYANOKOUZI, Ryuunosuke
Dear all,

Sorry for confusing you. I made a big mistake.
In the following reports, '--log-prefix' is the mistake for '--log-priority'.

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

This is not correct, I will repeat what I said for clarification.

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

> For all documents, the option '--log-prefix' are mentioned 2 times.

This is also not correct, I will repeat what I said for clarification.

For all documents, the option "--log-priority" 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

This is correct.

But for avoiding mistake, I removed the commit and made another commit [1].
And I attached the commit as a patch.
Please find either the new commit or a patch.

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

The following parts are correct.

> I checked it by following commands.
>
> $ git grep -C 3 -e 'log-priority' en-US/*
> en-US/09_unix-services.xml- /var/log/daemon.log. 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 udevadm control
> en-US/09_unix-services.xml: --log-priority=info command 
> increases the verbosity level
> en-US/09_unix-services.xml- and solves this problem. udevadm 
> control
> en-US/09_unix-services.xml: --log-priority=err returns to the 
> default verbosity
> en-US/09_unix-services.xml- level.
> en-US/09_unix-services.xml-  
> en-US/09_unix-services.xml-
> --
> en-US/14_security.xml-  instance, has the following options:
> en-US/14_security.xml-
> en-US/14_security.xml-  
> en-US/14_security.xml:  --log-priority, with 
> default value
> en-US/14_security.xml-  warning, indicates the
> en-US/14_security.xml-  syslog message priority;
> en-US/14_security.xml-  
>
> # 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.

Sincerely yours,
Ryuunosuke Ayanokouzi
--
AYANOKOUZI, Ryuunosuke 


0001-fix-incorrect-option-log-priority-for-LOG-target-of-.patch
Description: Binary data


pgpj4rSSU2CHo.pgp
Description: OpenPGP Digital Signature


Bug#789285: debian-handbook: fix undefined option --log-prefix for LOG target of iptables

2015-06-19 Thread AYANOKOUZI, Ryuunosuke
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- /var/log/daemon.log. 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 udevadm control
en-US/09_unix-services.xml: --log-priority=info command increases 
the verbosity level
en-US/09_unix-services.xml- and solves this problem. udevadm 
control
en-US/09_unix-services.xml: --log-priority=err returns to the 
default verbosity
en-US/09_unix-services.xml- level.
en-US/09_unix-services.xml-  
en-US/09_unix-services.xml-
--
en-US/14_security.xml-  instance, has the following options:
en-US/14_security.xml-
en-US/14_security.xml-  
en-US/14_security.xml:  --log-priority, with 
default value
en-US/14_security.xml-  warning, indicates the
en-US/14_security.xml-  syslog message priority;
en-US/14_security.xml-  

# 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 


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


pgpB3_AYskdWu.pgp
Description: OpenPGP Digital Signature