Hi,

The wvdial postinst script runs wvdialconf which tries to detect modems and
write out /etc/wvdial.conf.  There have been several bugs reported where
wvdialconf hangs while probing serial ports and the wvdialconf process must be
killed, leaving the package unconfigured.

You may wish to scan the bug list briefly:

https://bugs.launchpad.net/ubuntu/+source/wvdial

I have just run into this issue and have reported bug #513787.  It is indeed a
bug if wvdialconf hangs when probing serial devices.

However, I wanted to bring this issue up here because I don't think it's
appropriate for a postinst script to probe serial devices without at least
asking the user first.

It's impossible to probe serial devices without possibly disrupting
communication for processes that are already making use of the device.
Depending upon what sort of device is connected to the port, probing may cause a
network connection to fail, introduce data corruption on a connection, or a
variety of potentially worse problems, depending on what sort of device is on
the other end (consider what might happen if someone tries to install wvdial on
a machine that is using the serial ports to control some mechanical device).

wvdial does use debconf to decide if it should automatically detect modems, but
this setting is given priority "low" and defaults to "yes", so most users are
never asked.  I think the priority should be higher, and I think the default
should be "no" to avoid problems with noninteractive installation.

Thoughts?

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org

Attachment: signature.asc
Description: Digital signature

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to