Bug#912608: socat: setting "range" for "TCP6-listen" does not work

2018-11-01 Thread Paavo Hartikainen
Package: socat
Version: 1.7.2.4-2
Severity: normal
Tags: ipv6

Dear Maintainer,

Example situation:

---
sudo ip address add 2001:db8::/64 dev lo

socat 'TCP6-listen:1234,bind=[2001:db8::],range=[2001:db8::/64]' 
'TCP6:[::1]:1234'
---

1.7.2.4-2 mips64 version of "socat" hangs if "range" is defined, requires 
SIGKILL.

1.7.3.1-2+deb9u1 aarch64 version of "socat" gives following error message and 
quits, if "range" is defined:

---
2018/11/01 21:30:43 socat[17119] E getaddrinfo(":::2001:db8::", "NULL", 
{5,10,2,17}, {}): Name or service not known
---

-- System Information:
Debian Release: 8.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldoldstable-updates'), (500, 
'oldoldstable'), (500, 'oldstable')
Architecture: mipsel (mips64)

Kernel: Linux 3.16.0-4-loongson-2f
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages socat depends on:
ii  libc62.19-18+deb8u10
ii  libssl1.0.0  1.0.2l-1~bpo8+1
ii  libwrap0 7.6.q-25

socat recommends no packages.

socat suggests no packages.

-- no debconf information



Bug#790303: snmpd: snmpd fails to restart during logrotate if it is too busy

2015-06-27 Thread Paavo Hartikainen
Package: snmpd
Version: 5.4.3~dfsg-2.8+deb7u1
Severity: normal
Tags: patch

If snmpd is too busy to finish for restart within 2 seconds defined 
in /etc/init.d/snmpd, it is accidentally left not running after 
logrotate.  My solution was to check whether it has finished and add 
conditional delay.

This is how I solved it for production server:

---
diff --git a/init.d/snmpd b/init.d/snmpd
index 92e54bb..5b5a9bf 100755
--- a/init.d/snmpd
+++ b/init.d/snmpd
@@ -66,7 +66,9 @@ case $1 in
 start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd
 start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd
 # Allow the daemons time to exit completely.
-sleep 2
+sleep 2 \
+   pgrep --uid snmp --group root snmpd  sleep 4 \
+   pgrep --uid snmp --group root snmpd  sleep 8
 if [ $SNMPDRUN = yes -a -f /etc/snmp/snmpd.conf ]; then
start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- $SNMPDOPTS
echo -n  snmpd
---


-- System Information:
Debian Release: 7.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: mipsel (mips64)

Kernel: Linux 3.16.0-0.bpo.4-loongson-2f
Locale: LANG=POSIX, LC_CTYPE=POSIX (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages snmpd depends on:
ii  adduser3.113+nmu3
ii  debconf [debconf-2.0]  1.5.49
ii  libc6  2.13-38+deb7u8
ii  libsnmp15  5.4.3~dfsg-2.8+deb7u1
ii  libwrap0   7.6.q-24
ii  lsb-base   4.1+Debian8+deb7u1

snmpd recommends no packages.

snmpd suggests no packages.

-- Configuration Files:
/etc/snmp/snmpd.conf [Errno 13] Permission denied: u'/etc/snmp/snmpd.conf'
/etc/snmp/snmptrapd.conf [Errno 13] Permission denied: 
u'/etc/snmp/snmptrapd.conf'

-- debconf information:
  snmpd/upgradefrom521:


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



Bug#738848: osc: refuses to communicate with API server over IPv6

2014-10-27 Thread Paavo Hartikainen
On 2014-10-06 09:40:15 +0200, Michal Čihař wrote:

 Can you please check whether you can still reproduce this?

Yes, still same problem on IPv6 -only host: 

  Failed to reach a server: [Errno 229] Network is unreachable: [...]

Meanwhile, from same host to same API URL with wget:

  HTTP request sent, awaiting response... 401 Unauthorized

This is expect as I did not attempt to authenticate, just demonstrated 
that it is reachable.


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



Bug#738848: osc: refuses to communicate with API server over IPv6

2014-10-27 Thread Paavo Hartikainen
Test I just described was performed with osc 0.149.0-1.


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



Bug#738848: osc: refuses to communicate with API server over IPv6

2014-02-13 Thread Paavo Hartikainen
Package: osc
Version: 0.143.0-1
Severity: normal
Tags: ipv6

Dear Maintainer,

If API server is available only through IPv6, OSC considers it to be 
unreachable.

Failed to reach a server: [Errno 128] Network is unreachable:

Meanwhile lynx can access same URL that osc fails with, from same 
host.

Same effect is present on both, stable and testing version of osc.

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (900, 'stable'), (90, 'testing')
Architecture: mipsel (mips64)

Kernel: Linux 3.11-2-loongson-2f
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages osc depends on:
ii  ca-certificates20130119
ii  python 2.7.3-4+deb7u1
ii  python-m2crypto0.21.1-2
ii  python-rpm 4.10.0-5+deb7u1
ii  python-urlgrabber  3.9.1-4

Versions of packages osc recommends:
ii  cpio2.11+dfsg-0.1
pn  python-keyring  none
ii  rpm2cpio4.10.0-5+deb7u1
ii  sensible-utils  0.0.7

Versions of packages osc suggests:
pn  gnome-keyringnone
pn  python-gnomekeyring  none

-- no debconf information


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



Bug#488209: libopensc2: OpenCT issue, not OpenSC issue.

2010-10-16 Thread Paavo Hartikainen
Package: libopensc2
Version: 0.11.13-1
Followup-For: Bug #488209

Tried with libopensc2 versions 0.11.1-2etch2, 0.11.4-5+lenny1, 
0.11.13-1, 
each with /etc/opensc/opensc.conf reader_drivers = pcsc;.  I assume this 
test 
was requested.  Result is that card reader (SCR3310) was not found.

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (1001, 'stable'), (101, 'testing'), (99, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32 (PREEMPT)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libopensc2 depends on:
ii  libc6  2.11.2-6  Embedded GNU C Library: Shared lib
ii  libltdl7   2.2.6b-2  A system independent dlopen wrappe
ii  libopenct1 0.6.20-1.1middleware framework for smart car
ii  libssl0.9.80.9.8o-2  SSL shared libraries
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

libopensc2 recommends no packages.

libopensc2 suggests no packages.

-- no debconf information



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



Bug#600023: btanks: sound plays as noise

2010-10-12 Thread Paavo Hartikainen
Package: btanks
Version: 0.9.8083-2
Severity: normal

Audio output is only noise.  I suspect wrong byte order.

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (1001, 'stable'), (101, 'testing'), (99, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32 (PREEMPT)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages btanks depends on:
ii  btanks-data0.9.8083-2fast 2D tank arcade game -- data
ii  libc6  2.11.2-6  Embedded GNU C Library: Shared lib
ii  libexpat1  2.0.1-4+lenny3XML parsing C library - runtime li
ii  libgcc11:4.4.4-8 GCC support library
ii  liblua5.1-05.1.3-1   Simple, extensible, embeddable pro
ii  libsdl-image1.21.2.10-2  image loading library for Simple D
ii  libsdl1.2debian1.2.14-6  Simple DirectMedia Layer
ii  libsmpeg0  0.4.5+cvs20030824-2.2 SDL MPEG Player Library - shared l
ii  libstdc++6 4.4.4-8   The GNU Standard C++ Library v3
ii  libvorbisfile3 1.2.0.dfsg-3.1+lenny1 The Vorbis General Audio Compressi
ii  libx11-6   2:1.3.3-3 X11 client-side library
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

btanks recommends no packages.

btanks suggests no packages.

-- no debconf information



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



Bug#507521: arandr: fails during start because of ValueError

2008-12-01 Thread Paavo Hartikainen
Package: arandr
Version: 0.1.1-2
Severity: important

arandr apparently does not like my RandR settings.

Output of arandr:

---
  Traceback (most recent call last):
File /usr/bin/arandr, line 5, in module
  main()
File /usr/lib/python2.5/site-packages/screenlayout/gui.py, line 296, in 
main
  Application(file=file_to_open, randr_display=options.randr_display).run()
File /usr/lib/python2.5/site-packages/screenlayout/gui.py, line 137, in 
__init__
  self.filetemplate = self.widget.load_from_x()
File /usr/lib/python2.5/site-packages/screenlayout/widget.py, line 66, in 
load_from_x
  self._xrandr.load_from_x()
File /usr/lib/python2.5/site-packages/screenlayout/xrandr.py, line 130, 
in load_from_x
  o.modes.append(Size(int(a) for a in d.strip().split( )[0].split(x)))
File /usr/lib/python2.5/site-packages/screenlayout/auxiliary.py, line 31, 
in __new__
  arg = tuple(arg)
File /usr/lib/python2.5/site-packages/screenlayout/xrandr.py, line 130, 
in genexpr
  o.modes.append(Size(int(a) for a in d.strip().split( )[0].split(x)))
  ValueError: invalid literal for int() with base 10: 'default'
---

This is how I currently enable external display (on this laptop workstation):

---
  xrandr --newmode default 78.8 1024 1040 1136 1312 768 769 772 800
  xrandr --addmode VGA-0 default
  xrandr --output VGA-0 --mode default
  xrandr --output VGA-0 --right-of LVDS
---

Output of xrandr:

---
  Screen 0: minimum 320 x 200, current 2048 x 768, maximum 2048 x 768
  LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 245mm 
x 184mm
 1024x768   60.0*+
 800x60060.3  
 640x48059.9  
  VGA-0 disconnected 1024x768+1024+0 (normal left inverted right x axis y axis) 
0mm x 0mm
 default75.1* 
  S-video disconnected (normal left inverted right x axis y axis)
---

If I use xrandr --delmode VGA-0 default and xrandr --rmmode default, 
arandr starts up.  It shows that LVDS is active, but I did not see how 
it could be used to enable external display.

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (1001, 'stable'), (101, 'testing'), (99, 'unstable'), (9, 
'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.27-rc9
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)

Versions of packages arandr depends on:
ii  python2.5.2-3An interactive high-level object-o
ii  python-gtk2   2.12.1-6   Python bindings for the GTK+ widge
ii  x11-xserver-utils 7.3+5  X server utilities

arandr recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505771: vlc: file selector of VLC 0.9.x does not choose files with identical names

2008-11-14 Thread Paavo Hartikainen
Package: vlc
Version: 0.9.6-1
Severity: normal

In file selector, if directory is changed but filename to be selected 
remains same, change of directory is not noticed.

When choosing files from storage of DVB server that runs VDR, MPEG PES 
files in directory hierarchy are named 001.vdr (actually 
[0-9][0-9][0-9].vdr with 2 GiB in each file).  To choose adjacent 
001.vdr from another directory, one has to point at file with some 
other name first, or file selector thinks that earlier file was chosen 
again.

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (1001, 'stable'), (101, 'testing'), (99, 'unstable'), (9, 
'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.27-rc9
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages vlc depends on:
ii  libaa1 1.4p5-30  ascii art library
ii  libc6  2.7-15GNU C Library: Shared libraries
ii  libcaca0   0.99.beta16-1 colour ASCII art library
ii  libdbus-1-31.2.1-4   simple interprocess messaging syst
ii  libfreetype6   2.3.7-2   FreeType 2 font engine, shared lib
ii  libfribidi00.10.9-1  Free Implementation of the Unicode
ii  libgcc11:4.3.2-1 GCC support library
ii  libgl1-mesa-glx [libgl 7.2-1 A free implementation of the OpenG
ii  libglib2.0-0   2.16.6-1  The GLib library of C routines
ii  libglu1-mesa [libglu1] 7.2-1 The OpenGL utility library (GLU)
ii  libgtk2.0-02.12.11-4 The GTK+ graphical user interface 
ii  libnotify1 [libnotify1 0.4.4-3   sends desktop notifications to a n
ii  libqtcore4 4.4.3-1   Qt 4 core module
ii  libqtgui4  4.4.3-1   Qt 4 GUI module
ii  libsdl-image1.21.2.6-3   image loading library for Simple D
ii  libsdl1.2debian1.2.13-2  Simple DirectMedia Layer
ii  libstdc++6 4.3.2-1   The GNU Standard C++ Library v3
ii  libtar 1.2.11-4  C library for manipulating tar arc
ii  libvlccore00.9.6-1   multimedia player and streamer lib
ii  libx11-6   2:1.1.5-2 X11 client-side library
ii  libxext6   2:1.0.4-1 X11 miscellaneous extension librar
ii  libxinerama1   2:1.0.3-2 X11 Xinerama extension library
ii  libxv1 2:1.0.4-1 X11 Video extension library
ii  libxxf86vm11:1.0.1-2 X11 XFree86 video mode extension l
ii  ttf-dejavu-core2.25-3Vera font family derivate with add
ii  vlc-nox0.9.6-1   multimedia player and streamer (wi
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

vlc recommends no packages.

Versions of packages vlc-nox depends on:
ii  liba52-0.7.4   0.7.4-7   Library for decoding ATSC A/52 str
ii  libasound2 1.0.16-2  ALSA library
ii  libass10.9.5-2   library for SSA/ASS subtitles rend
ii  libavahi-client3   0.6.22-3  Avahi client library
ii  libavahi-common3   0.6.22-3  Avahi common library
ii  libavc1394-0   0.5.3-1+b1control IEEE 1394 audio/video devi
ii  libavcodec51   0.svn20080206-14  ffmpeg codec library
ii  libavformat52  0.svn20080206-14  ffmpeg file format library
ii  libavutil490.svn20080206-14  ffmpeg utility library
ii  libc6  2.7-15GNU C Library: Shared libraries
ii  libcdio7   0.78.2+dfsg1-3library to read and control CD-ROM
ii  libdbus-1-31.2.1-4   simple interprocess messaging syst
ii  libdca00.0.5-1   decoding library for DTS Coherent 
ii  libdvbpsi4 0.1.5-3.1 library for MPEG TS and DVB PSI ta
ii  libdvdnav4 4.1.2-3   DVD navigation library
ii  libdvdread30.9.7-11  library for reading DVDs
ii  libebml0   0.7.7-3.1 access library for the EBML format
ii  libfaad0   2.6.1-3.1 freeware Advanced Audio Decoder - 
ii  libflac8   1.2.1-1.2 Free Lossless Audio Codec - runtim
ii  libfontconfig1 2.4.2-1.2 generic font configuration library
ii  libfreetype6   2.3.7-2   FreeType 2 font engine, shared lib
ii  libfribidi00.10.9-1  Free Implementation of the Unicode
ii  libgcc11:4.3.2-1 GCC support library
ii  libgcrypt111.4.1-1   LGPL Crypto library - runtime libr
ii  libgnutls262.4.2-1   the GNU TLS library - runtime libr
ii  libhal10.5.11-6  Hardware Abstraction Layer - share
ii  libid3tag0 0.15.1b-10ID3 tag reading library 

Bug#490252: me-tv: conflict with dvb-apps package

2008-07-10 Thread Paavo Hartikainen
Package: me-tv
Version: 0.5.30-1
Severity: normal

When attempting to install dvb-utils, me-tv conflicts as duplicate 
/usr/lib/libdvben50221.a is standing on way:

---
[EMAIL PROTECTED]:~$ sudo dpkg --install 
/var/cache/apt/archives/dvb-apps_1.1.1+rev1207-1_powerpc.deb 
(Reading database ... 137233 files and directories currently installed.)
Unpacking dvb-apps (from .../dvb-apps_1.1.1+rev1207-1_powerpc.deb) ...
dpkg: error processing 
/var/cache/apt/archives/dvb-apps_1.1.1+rev1207-1_powerpc.deb (--install):
 trying to overwrite `/usr/lib/libdvben50221.a', which is also in package me-tv
dpkg-deb: subprocess paste killed by signal (Katkennut putki)
Errors were encountered while processing:
 /var/cache/apt/archives/dvb-apps_1.1.1+rev1207-1_powerpc.deb
---

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (1001, 'stable'), (101, 'testing'), (99, 'unstable'), (9, 
'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22.9
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages me-tv depends on:
ii  libart-2.0-2   2.3.20-2  Library of functions for 2D graphi
ii  libatk1.0-01.22.0-1  The ATK accessibility toolkit
ii  libbonobo2-0   2.22.0-1  Bonobo CORBA interfaces library
ii  libbonoboui2-0 2.22.0-1  The Bonobo UI library
ii  libc6  2.7-10GNU C Library: Shared libraries
ii  libcairo2  1.6.4-6   The Cairo 2D vector graphics libra
ii  libgcc11:4.3.1-2 GCC support library
ii  libgconf2-42.22.0-1  GNOME configuration database syste
ii  libglade2-01:2.6.2-1 library to load .glade files at ru
ii  libglib2.0-0   2.16.3-2  The GLib library of C routines
ii  libgnet2.0-0   2.0.8-1   GNet network library
ii  libgnome2-02.20.1.1-1The GNOME 2 library - runtime file
ii  libgnomecanvas2-0  2.14.0-2  A powerful object-oriented display
ii  libgnomeui-0   2.20.1.1-1The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0 1:2.22.0-4GNOME Virtual File System (runtime
ii  libgtk2.0-02.12.10-2 The GTK+ graphical user interface 
ii  libice62:1.0.4-1 X11 Inter-Client Exchange library
ii  liborbit2  1:2.14.13-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0  1.20.3-2  Layout and rendering of internatio
ii  libpopt0   1.14-4lib for parsing cmdline parameters
ii  libsm6 1:1.0.1-3 X11 Session Management library
ii  libstdc++6 4.3.1-2   The GNU Standard C++ Library v3
ii  libx11-6   2:1.1.4-2 X11 client-side library
ii  libxine1   1.1.14-1  the xine video/media player librar
ii  libxine1-ffmpeg1.1.14-1  MPEG-related plugins for libxine1
ii  libxine1-x 1.1.14-1  X desktop video output plugins for
ii  libxml22.6.32.dfsg-2 GNOME XML library
ii  libxtst6   1:1.0.1-5 X11 Testing -- Resource extension 

Versions of packages me-tv recommends:
pn  dvb-utils none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#488209: libopensc2: Access of FINEID card fails

2008-06-26 Thread Paavo Hartikainen
Package: libopensc2
Version: 0.11.4-3
Severity: important


Authentication on OpenSSH and various other applications fail to access FINEID 
card.  Downgrading library to stable version works as temporary solution.

For example of how libopensc2 0.11.4-3 fails:

---
[EMAIL PROTECTED]:~$ pkcs15-tool --verbose --verbose --list-certificates 
[pkcs15-tool] sc.c:196:sc_detect_card_presence: called
[pkcs15-tool] reader-openct.c:204:openct_reader_detect_card_presence: called
[pkcs15-tool] sc.c:201:sc_detect_card_presence: returning with: 1
Connecting to card in reader CCID Compatible...
[pkcs15-tool] card.c:110:sc_connect_card: called
[pkcs15-tool] reader-openct.c:228:openct_reader_connect: called
[pkcs15-tool] card.c:532:sc_select_file: called; type=1, 
path=a00063504b43532d3135
[pkcs15-tool] reader-openct.c:420:openct_reader_lock: called
[pkcs15-tool] reader-openct.c:445:openct_reader_unlock: called
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] card.c:221:sc_connect_card: card info: SetCOS, 6004, 0x0
[pkcs15-tool] card.c:222:sc_connect_card: returning with: 0
Using card driver Setec cards.
[pkcs15-tool] reader-openct.c:420:openct_reader_lock: called
Trying to find a PKCS#15 compatible card...
[pkcs15-tool] pkcs15.c:706:sc_pkcs15_bind: called
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f002f00
[pkcs15-tool] iso7816.c:99:iso7816_check_sw: File not found
[pkcs15-tool] card.c:554:sc_select_file: returning with: -1201
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f005015
[pkcs15-tool] iso7816.c:99:iso7816_check_sw: File not found
[pkcs15-tool] card.c:554:sc_select_file: returning with: -1201
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f005031
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] pkcs15.c:623:sc_pkcs15_bind_internal: The following DFs were 
found:
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 8, path 3f004401, 
index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 0, path 3f004402, 
index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 4, path 3f004403, 
index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 4, path 3f004404, 
index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 5, path 3f004405, 
index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 7, path 3f004406, 
index 0, count -1
[pkcs15-tool] pkcs15.c:633:sc_pkcs15_bind_internal:   DF type 6, path 3f004407, 
index 0, count -1
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f005032
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
Found HENKILOKORTTI!
[pkcs15-tool] pkcs15.c:1599:sc_pkcs15_read_file: called, path=3f004403, 
index=0, count=-1
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f004403
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] pkcs15.c:1599:sc_pkcs15_read_file: called, path=3f004404, 
index=0, count=-1
[pkcs15-tool] card.c:532:sc_select_file: called; type=2, path=3f004404
[pkcs15-tool] card.c:554:sc_select_file: returning with: 0
[pkcs15-tool] reader-openct.c:334:openct_reader_transmit: unable to transmit
[pkcs15-tool] apdu.c:394:do_single_transmit: unable to transmit APDU
[pkcs15-tool] iso7816.c:127:iso7816_read_binary: APDU transmit failed: Generic 
reader error
[pkcs15-tool] card.c:430:sc_read_binary: returning with: Generic reader error
[pkcs15-tool] card.c:415:sc_read_binary: sc_read_binary() failed: Generic 
reader error
[pkcs15-tool] pkcs15.c:838:__sc_pkcs15_search_objects: DF parsing failed: 
Generic reader error
Certificate enumeration failed: Generic reader error
[pkcs15-tool] pkcs15.c:781:sc_pkcs15_unbind: called
[pkcs15-tool] reader-openct.c:445:openct_reader_unlock: called
[pkcs15-tool] card.c:236:sc_disconnect_card: called
[pkcs15-tool] reader-openct.c:275:openct_reader_disconnect: called
[pkcs15-tool] card.c:251:sc_disconnect_card: returning with: 0
[pkcs15-tool] ctx.c:738:sc_release_context: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:178:openct_reader_release: called
[pkcs15-tool] reader-openct.c:164:openct_reader_finish: called
---

For example of how libopensc2 0.11.1-2 succceeds:

---
[EMAIL PROTECTED]:~$ pkcs15-tool --verbose --verbose --list-certificates
sc.c:168:sc_detect_card_presence: called
reader-openct.c:207:openct_reader_detect_card_presence: called
sc.c:173:sc_detect_card_presence: returning with: 1
Connecting to card in reader CCID Compatible...
card.c:110:sc_connect_card: called
reader-openct.c:231:openct_reader_connect: called
card.c:541:sc_select_file: called; type=1, path=a00063504b43532d3135
reader-openct.c:435:openct_reader_lock: 

Bug#378446: bluez-utils: Bluetooth subsystem fails to react on PIN code request for outgoing connection

2006-07-16 Thread Paavo Hartikainen
Package: bluez-utils
Version: 3.1-1
Severity: important

There is no way to react on PIN code requests for outgoing connetions without 
passkey-agent running.  Binary can be built from bluez-utils source but it 
needs to be included in binary package and running when PIN code request is 
received.

sudo pand --autozap --role PANU --connect 00:04:61:85:D5:F0
while passkey-agent not running:

---
Jul 16 05:49:51 kiara pand[32393]: Bluetooth PAN daemon version 3.1
Jul 16 05:49:51 kiara pand[32393]: Connecting to 00:04:61:85:D5:F0
Jul 16 05:49:55 kiara hcid[32355]: pin_code_request (sba=00:0D:93:14:A3:73, 
dba=00:04:61:85:D5:F0)
Jul 16 05:49:55 kiara hcid[32355]: call_passkey_agent(): no agent registered
Jul 16 05:49:55 kiara pand[32393]: Connect to 00:04:61:85:D5:F0 failed. 
Permission denied(13)
---

sudo pand --autozap --role PANU --connect 00:04:61:85:D5:F0
while passkey-agent running:

---
Jul 16 05:50:13 kiara pand[32396]: Bluetooth PAN daemon version 3.1
Jul 16 05:50:13 kiara pand[32396]: Connecting to 00:04:61:85:D5:F0
Jul 16 05:50:17 kiara hcid[32355]: pin_code_request (sba=00:0D:93:14:A3:73, 
dba=00:04:61:85:D5:F0)
Jul 16 05:50:17 kiara hcid[32355]: Calling PasskeyAgent.Request: name=:1.24, 
path=/org/bluez/passkey_agent_32394
Jul 16 05:50:17 kiara hcid[32355]: link_key_notify (sba=00:0D:93:14:A3:73, 
dba=00:04:61:85:D5:F0)
Jul 16 05:50:18 kiara pand[32396]: bnep0 connected
---

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (1001, 'stable'), (101, 'testing'), (99, 'unstable'), (9, 
'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages bluez-utils depends on:
ii  libbluetooth2  3.1-1 Library to use the BlueZ Linux Blu
ii  libc6  2.3.6-15  GNU C Library: Shared libraries
ii  libdbus-1-20.62-4simple interprocess messaging syst
ii  libdbus-glib-1-2   0.62-4simple interprocess messaging syst
ii  libglib2.0-0   2.10.2-1  The GLib library of C routines
ii  libusb-0.1-4   2:0.1.12-2userspace USB programming library
ii  lsb-base   3.1-10Linux Standard Base 3.1 init scrip
ii  makedev2.3.1-81  creates device files in /dev
ii  module-init-tools  3.2.2-3   tools for managing Linux kernel mo
ii  modutils   2.4.26-1.2Linux module utilities
ii  sysvinit   2.86.ds1-14.1 System-V-like init utilities
ii  udev   0.093-1   /dev/ and hotplug management daemo

bluez-utils recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]