FS#24252 - [wvdial] reports all serial ports as busy unless /var/lock is manually created
Attached to Project:
Community Packages
Opened by Jakub Schmidtke (sjakub) - Friday, 13 May 2011, 04:53 GMT
Last edited by Florian Pritz (bluewind) - Saturday, 26 November 2011, 13:35 GMT
Opened by Jakub Schmidtke (sjakub) - Friday, 13 May 2011, 04:53 GMT
Last edited by Florian Pritz (bluewind) - Saturday, 26 November 2011, 13:35 GMT
|
Details
wvdial simply doesn't work with the default settings.
It reports all serial ports as busy, with no additional messages which makes it tricky to solve. The solution is to create a /var/lock directory. If it is critical for wvdial, it should be created by the package... |
Closed by Florian Pritz (bluewind)
Saturday, 26 November 2011, 13:35 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in pacman 4
Saturday, 26 November 2011, 13:35 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in pacman 4
http://dev.archlinux.org/~andrea/pkgs/wvdial-1.61-3-i686.pkg.tar.xz
http://dev.archlinux.org/~andrea/pkgs/wvdial-1.61-3-x86_64.pkg.tar.xz
Thanks
But in the meantime I noticed that when pppd is used directly it experiences exactly the same problem.
When there is no /var/lock/ directory it simply exists. With no error messages.
Since wvdial depends on ppp package, maybe ppp package should make sure that this directory exists - it could
be created by the installation script if it doesn't exist? Or maybe it should be a part
of some generic "core directories" package?
In either case, I think it should work also without being called from the rc.d script.
That dir is installed by the filesystem package, you can set /var/lock as tmpfs in the fstab to create the dir at the boot.
I didn't have that directory at all before I found out that I need it.
I didn't remove it in the past, I simply didn't have it.
Apparently something did not create it, so it's still a bug.
And it's not only my machine, I found a solution to my problem (the solution being creating the /var/lock directory that did not exist)
in a forum post. Quick search shows that some other people had the same problem too:
https://bbs.archlinux.org/viewtopic.php?id=74163
https://bbs.archlinux.org/viewtopic.php?id=118886
https://bbs.archlinux.org/viewtopic.php?id=118724