[MacPorts] #62724: Macports renders system inoperable during port upgrade.

MacPorts noreply at macports.org
Wed Apr 21 22:29:16 UTC 2021


#62724: Macports renders system inoperable during port upgrade.
----------------------+--------------------
 Reporter:  ttelford  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  base      |    Version:
 Keywords:            |       Port:
----------------------+--------------------
 Hopefully this is filed in the right place. I'm seeing this issue on a new
 M1 MacBook Pro.

 I've found a bug where, if I try to run 'port upgrade <foo>', there are
 circumstances which will cause some major system issues:
 * Network becomes inoperable -- both IPv4, and IPv6. WiFi, ethernet -- all
 of it.
 * Many tasks are then impossible to force quit. This includes ''ping'', of
 all things. It appears anything that accesses the network crashes.
 * The system is semi-unresponsive, and rebooting hangs. A forced hard
 reboot is required.

 I can reproduce this reliably under the following circumstances:
 * Fresh boot
 * Open Terminal
 * `port upgrade libmagic` #other things can crash it too... but I know
 this one does it.

 Almost immediately, the machine's network drops off, and anything that
 attempts to use the network hard locks.

 There is a little bit more to the bug, however: upon login, my Mac obtains
 a Kerberos ticket from a local KDC.

 I'm not 100% positive about what's happening, but when I `kdestroy` my
 kerberos tickets before running `port upgrade libmagic`, it will complete
 successfully.

 Could there be a kerberos-enabled component which is trying (and failing
 very badly) to authenticate using krb5 before it downloads archives from a
 MacPorts mirror -- and if so, is it possible/does it make sense to disable
 kerberos authentication when downloading from a MacPorts mirror?

-- 
Ticket URL: <https://trac.macports.org/ticket/62724>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list