[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2023: regression coincident with iputil fixes, on FreeBSD and Slackware

Tahoe-LAFS trac at tahoe-lafs.org
Thu Sep 11 21:09:12 UTC 2014


#2023: regression coincident with iputil fixes, on FreeBSD and Slackware
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:  daira
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  1.11.0
    Component:  code-    |    Version:  1.10.0
  network                |   Keywords:  regression portability iputil
   Resolution:           |  blocks-release review-needed
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by warner):

 Incidentally, I was able to induce the EBADF failures on linux by
 shuffling the order of `_unix_commands` in iputil.py, to put
 `/usr/sbin/ifconfig` and `/usr/etc/ifconfig` first. The normal ordering
 puts `/bin/ip` first, which is present on linux and thus short-circuits
 the function, so it never tries to run a program that isn't there.
 `/usr/sbin/ifconfig` doesn't exist on linux (it lives in `/sbin`), so this
 triggers the subprocess bug.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2023#comment:15>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list