Re: [Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-15 Thread Andreas Jellinghaus
thanks a lot scott, I tested the new package and it works fine.

Regards, Andreas

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-14 Thread Scott Kitterman
openct (0.6.11-3ubuntu1) gutsy; urgency=low

  [ Andreas Jellinghaus ]
  * Fix openct_udev script for Ubuntu (LP: #125054)

  [ Scott Kitterman ]
  * Correct Ubuntu revision number
  * Clean up debian/changelog entry
  * Change maintainer to MOTU

 -- Scott Kitterman [EMAIL PROTECTED]   Sun, 14 Oct 2007 00:53:28
-0400

** Changed in: openct (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-13 Thread Cesare Tirabassi
** Changed in: openct (Ubuntu)
   Status: New = Confirmed

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-13 Thread Scott Kitterman
** Changed in: openct (Ubuntu)
 Assignee: (unassigned) = Scott Kitterman (kitterman)
   Status: Confirmed = In Progress

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-13 Thread Scott Kitterman
Uploaded.

** Changed in: openct (Ubuntu)
   Importance: Undecided = Medium
 Assignee: Scott Kitterman (kitterman) = (unassigned)
   Status: In Progress = Fix Committed

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-12 Thread Andreas Jellinghaus
my self-build packages with this patch applied (and nothing else) work fine.
if you want to do more testing, I can help (without some usb smart card reader
or usb crypto token supported by openct there is not much you can test 
yourself).

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-12 Thread Scott Kitterman
Subscribed UUS/Unsubbed motu-uvf as it's not an upstream version.

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-11 Thread Andreas Jellinghaus
I could finally test ubuntu gutsy and found out: it is broken,
hotplugging usb smart card reader does not work.

the problem is simple: /dev/bus/usb/* has device files in ubuntu gutsy,
but /proc/bus/usb is an empty directory. the kernel event gives us a file
name in /proc/bus/usb :(

the proper fix is to ask udev which device file did you create for the parent 
event
and then use that file name. this was implemented in openct 0.6.14 and works 
fine
and has been tested by a several people on several distribution.

so beside a changelog entry I replaced etc/openct_usb.in with the openct 0.6.14 
file
and now it works fine. attached is a diff. could someone please compile/upload 
a new
openct package with this fix?

** Attachment added: fix ubuntu gutsy package for openct
   http://launchpadlibrarian.net/9945926/ubuntu-gutsy-fix.diff

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-11 Thread Andreas Jellinghaus
this latest patch works on top of the current openct version in universe.
it is as small as it can get.
with it: plug in a usb smart card reader, works.
without it: plug in a usb smart card reader, does not work. you can work around 
with sudo /etc/init.d/openct restart but that
is very ugly, and not a good idea, if you want to login with smart cards (e.g. 
pam_p11 login module with opensc and openct).

the only file changed is the /lib/udev/openct_usb file used by the hotplug 
mechanism, only called for usb smart card readers,
so other packages cannot be affected by this fix.

the fix was necessary, because ubuntu dropped /proc/bus/usb which is
historically mounted with usbfs.

diffstat:
 debian/changelog  |   11 +++
 etc/openct_usb.in |   53 ++---
 2 files changed, 45 insertions(+), 19 deletions(-)

the changed package builds, installs and upgrades fine, does not break
packages depending on it (such as opensc).

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-11 Thread Scott Kitterman
If it does, ack, but it's just adding a patch.  I'd say go for it
dholbach as long as it's tested before upload.

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-10-11 Thread Daniel Holbach
Needs motu-uvf ACK.

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-08-31 Thread Andreas Jellinghaus
please update openct to 0.6.14 for gutsy, so it will work.
0.6.14 contains all recent fixes for udev and hal setup.

note: if you run 2.6.22, make sure it is 2.6.22.6+ (fix for
drivers/usb/core/message.c included) before testing.
a kernel bug for this has been filed as well.

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 125054] Re: openct broken by ubuntu udev setup

2007-07-10 Thread Andreas Jellinghaus
this patch updates etc/openct_usb to the latest version from openct/trunk. this 
file was tested and works well on feisty,
and also should work well on gutsy (same openct package IIRC). please apply to 
both! (and edgy if that one has /dev/bus/usb bind-mounted to /proc/bus/usb too).

** Attachment added: patch with the fix for this
   http://launchpadlibrarian.net/8357205/fix

-- 
openct broken by ubuntu udev setup
https://bugs.launchpad.net/bugs/125054
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs