On Thu, 2011-05-19 at 13:48 +0200, Andreas Ulm wrote:
> Package: mytop
> Version: 1.6-6
> Severity: grave
> 
> (snip)
> 
> 
> Hi,
> 
> because of the usage of Config::IniFiles you can't use all parameters
> which can be set in my.cnf.
> 
> If you e.g. use "skip-external-locking" the CPAN Config::IniFiles
> can't open the file because it is a mal-formed ini-file because
> ini-files use the format "parameter = value".
> 
> You can reproduce it by setting this parameter which is default in
> "/etc/mysql/my.cnf".
> Then call mytop.

Hello Andreas,

I am unable to reproduce this bug. It seems that libconfig-inifiles-perl
is able to read the my.cnf file even if some variables are not set in a
"parameter = value" fashion:
----
~$ grep -vE "(^#|=|\[|^$)" /etc/mysql/my.cnf
skip-external-locking
quick
quote-names
!includedir /etc/mysql/conf.d/
----

----
~$ sudo mytop -b
MySQL on localhost (5.1.58-1)                           up 0+00:15:18
[19:14:59]
 Queries: 3.0     qps:    0 Slow:     0.0         Se/In/Up/De(%):
00/00/00/00

 Key Efficiency: 100.0%  Bps in/out:   0.1/  8.7   

        Id      User         Host/IP         DB      Time    Cmd Query
or State 
        --      ----         -------         --      ----    ---
-------------- 
        47      root       localhost                    0  Query show
full proce
        44      root       localhost                    2  Sleep  
----

Do you still have the exact error or scenario for me to reproduce it?
The package has been flagged to be removed from testing because of this
pending RC bug [1]; it would be nice if we could prevent this from
happening. ;)

Thanks in advance.

Cheers,
 Ignace M

[1] http://lists.debian.org/debian-devel/2012/01/msg00660.html

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (99, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mytop depends on:
ii  libconfig-inifiles-perl  2.68-1
ii  libdbd-mysql-perl        4.020-1+b1
ii  libdbi-perl              1.616-1+b2
ii  libterm-readkey-perl     2.30-4+b2
ii  perl                     5.14.2-6

mytop recommends no packages.

Versions of packages mytop suggests:
ii  perl [libtime-hires-perl]  5.14.2-6

-- no debconf information





-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to