Bug#508418: /etc/init.d/zaptel doesn't wait for udev

2009-09-12 Thread Tzafrir Cohen
tag 508418 +wontfix
thanks

Zaptel has been replaced with DAHDI in Squeeze. This issue is not likely
to be resolved in the stable version.

Furthermore, I'm not sure calling udevsettle in the middle of an init.d
script is the best option. It may hurt concurrency. Thus I don't move
this bug to the package dahdi (at least not for now).

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir



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



Bug#508418: /etc/init.d/zaptel doesn't wait for udev

2008-12-11 Thread Tzafrir Cohen
On Thu, Dec 11, 2008 at 08:43:12AM +0100, Lars Bensmann wrote:
 Package: zaptel
 Version: 1:1.4.11~dfsg-3
 Severity: wishlist
 
 It would be nice to include a call to 'udevsettle' after modprobing
 ztdummy. Otherwise ztcfg ist not called.

Is udevsettle safe for usage? Or is it expected to be replaced by 
'udevadm settle' ?

 
 I also found one other minor things:
 
 # /etc/init.d/zaptel status
 /etc/init.d/zaptel: line 136: check_zaptel_timing: command not found

Duh.

s/check_/test_/

Thanks for reporting.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir



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



Bug#508418: /etc/init.d/zaptel doesn't wait for udev

2008-12-11 Thread Lars Bensmann
On Thu, Dec 11, 2008 at 10:05:01AM +0200, Tzafrir Cohen wrote:
 Is udevsettle safe for usage? Or is it expected to be replaced by 
 'udevadm settle' ?

Mmmh. I just found some filed bugs for Gentoo and Archlinux, but nothing
for Debian. But they state that udevsettle is deprecated. So I guess,
'udevadm settle' is the way to go.

-- 
There are two ways to write error-free programs; only the third one works.



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



Bug#508418: /etc/init.d/zaptel doesn't wait for udev

2008-12-11 Thread Tzafrir Cohen
On Thu, Dec 11, 2008 at 09:13:05AM +0100, Lars Bensmann wrote:
 On Thu, Dec 11, 2008 at 10:05:01AM +0200, Tzafrir Cohen wrote:
  Is udevsettle safe for usage? Or is it expected to be replaced by 
  'udevadm settle' ?
 
 Mmmh. I just found some filed bugs for Gentoo and Archlinux, but nothing
 for Debian. But they state that udevsettle is deprecated. So I guess,
 'udevadm settle' is the way to go.

We have an ugly fix for it in the script (the loop that waits for 
/dev/zap/ctl), but it's, well, ugly. udevsettle indeed seems like a much
better idea. It will require more testing and thus I'll check it
upstream.

I have already commited a fix to the other issue you mentioned, which is
a minor issue with very minor risk, just in case we get to upload a new
version of this package.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir



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



Bug#508418: /etc/init.d/zaptel doesn't wait for udev

2008-12-11 Thread Lars Bensmann
On Thu, 11 Dec 2008 10:46:17 +0200, Tzafrir Cohen wrote:
 We have an ugly fix for it in the script (the loop that waits for 
 /dev/zap/ctl), but it's, well, ugly. udevsettle indeed seems like a much
 better idea. It will require more testing and thus I'll check it
 upstream.

Are we still talking about /etc/init.d/zaptel? I don't see a loop. And no
mention of 'ctl' either (1:1.4.11~dfsg-3).

'udevsettle' vs. 'udevadm settle':
The NEWS-entry for udev version 126 mentions:
No symlinks to udevadm are installed anymore, if they are still needed,
they should be provided by the package.
http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=NEWS

So. 'udevadm settle' should be the future-proof way if you or upstream
decide to go that way.

 I have already commited a fix to the other issue you mentioned, which is
 a minor issue with very minor risk, just in case we get to upload a new
 version of this package.

Yes. There's definately no hurry there. I just saw it by accident that the
function name was misspelled when I included the 'udevsettle' in the
script after the upgrade to -3. Didn't even know there was a 'status'
function before that :-)

-- 
I came, I saw, I deleted all your files.



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



Bug#508418: /etc/init.d/zaptel doesn't wait for udev

2008-12-10 Thread Lars Bensmann
Package: zaptel
Version: 1:1.4.11~dfsg-3
Severity: wishlist

It would be nice to include a call to 'udevsettle' after modprobing
ztdummy. Otherwise ztcfg ist not called.

I also found one other minor things:

# /etc/init.d/zaptel status
/etc/init.d/zaptel: line 136: check_zaptel_timing: command not found

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-vserver-amd64 (SMP w/2 CPU cores)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages zaptel depends on:
ii  fxload  0.0.20020411-1.1 Firmware download to EZ-USB device
ii  libc6   2.7-16   GNU C Library: Shared libraries
ii  libnewt0.52 0.52.2-11.3  Not Erik's Windowing Toolkit - tex
ii  libtonezone11:1.4.11~dfsg-3  tonezone library (runtime)
ii  libusb-0.1-42:0.1.12-13  userspace USB programming library
ii  procps  1:3.2.7-8/proc file system utilities

zaptel recommends no packages.

zaptel suggests no packages.

-- no debconf information



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