[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#632923: linux-tools-2.6.39: perf tries to read ./config, fails if it is not a perf config file



Package: linux-tools-2.6.39
Version: 2.6.39-3
Severity: normal

Hello,

When running perf, it looks for a config file in /etc/perfconfig,
~/.perfconfig, and ./config (according to strace). If ./config is not a
perf configuration, it fails (or possibly does unexpected things). Since
"config" is a quite generic name (I have 175 files with that name on my
system) it would be nice if this is changed to e.g. ./.perfconfig.

Best regards,
Christian Ohm

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

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

Versions of packages linux-tools-2.6.39 depends on:
ii  libc6                        2.13-10     Embedded GNU C Library: Shared lib
ii  libelf1                      0.152-1     library to read and write ELF file
ii  libnewt0.52                  0.52.11-2.1 Not Erik's Windowing Toolkit - tex
ii  libperl5.12                  5.12.4-1    shared Perl library
ii  libpython2.6                 2.6.7-2     Shared Python runtime library (ver
ii  libslang2                    2.2.4-2     S-Lang programming library - runti
ii  perl                         5.12.4-1    Larry Wall's Practical Extraction 
ii  python                       2.6.6-14    interactive high-level object-orie
ii  python-support               1.0.14      automated rebuilding support for P

Versions of packages linux-tools-2.6.39 recommends:
ii  linux-base                    3.3        Linux image base package

Versions of packages linux-tools-2.6.39 suggests:
pn  linux-doc-2.6.39              <none>     (no description available)

-- no debconf information

-- 
Sendmail may be safely run set-user-id to root.
		-- Eric Allman, "Sendmail Installation Guide"



Reply to: