Opened 4 years ago

Closed 4 years ago

#62724 closed defect (duplicate)

Macports renders system inoperable during port upgrade.

Reported by: ttelford (Troy Telford) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: bigsur Cc:
Port:

Description

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?

Change History (1)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added
Resolution: duplicate
Status: newclosed

Duplicate of #61683. According to that, it's fixed in macOS 11.3 beta, so try that, or wait for 11.3 final. If that doesn't fix it, file a bug report with Apple.

Note: See TracTickets for help on using tickets.