All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: diglloyd.com photography and WindInMyFace.com
Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...

SAVE $50 Samsung 2TB 860 EVO SATA III 2.…

SAVE $1500 Apple 15.4" MacBook Pro with To…
DZ SAVE $300 Z CAM E1 Mini 4K Interchange…
DZ SAVE $1200 Apple 15.4" MacBook Pro with…
SAVE $100 Sigma sd Quattro H Mirrorless
Sigma MC-11 Mount Converter/Lens Adapter…
SAVE $100 Sony a5100 Mirrorless (Black, B…
SAVE $400 Sony a7R II Mirrorless
SAVE $300 Sony a6300 Mirrorless with 16-5…
SAVE $80 Sony DSC-RX100
DZ SAVE $330 LG V30S ThinQ 128GB Smartpho…
NEW! SAVE $100 ZEISS 18mm f/2.8 Bati…
SAVE $1251 ZEISS 15mm f/2.8 Distagon T* ZF…
SAVE $623 ZEISS 135mm f/2 Apo Sonnar T* Z…
$37 FREE ITEMS SAVE $100 Sony DSC-RX100 III
SAVE $200 Sony a7R III Mirrorless
NEW! SAVE $100 ZEISS 18mm f/2.8 Bati…
SAVE $1251 ZEISS 15mm f/2.8 Distagon T* ZF…
SAVE $623 ZEISS 135mm f/2 Apo Sonnar T* Z…
SKU FUGFX50S32L
SKU FUGFX50S45L
SKU FUGFX50S63L
$101 FREE ITEMS SAVE $700 Canon EOS 6D DSLR
$20 FREE ITEMS SAVE $250 Canon EOS 77D DSLR
$20 FREE ITEMS SAVE $450 Canon EOS 7D Mark II DSLR
$101 FREE ITEMS SAVE $500 Canon EOS 80D DSLR with 18-135m…
$115 FREE ITEMS SAVE $650 Canon 18-135mm f/3.5-5.6 EOS 7D…
$556 FREE ITEMS SAVE $800 Nikon D810 DSLR with 24-120mm
$466 FREE ITEMS SAVE $1100 Nikon D750 DSLR with 24-120mm
$468 FREE ITEMS SAVE $470 Nikon D500 DSLR with 16-80mm
$61 FREE ITEMS SAVE $570 Nikon D7500 DSLR with 16-80mm
SAVE $300 Sony 24-70mm f/4 Vario-Tessar T…
$20 FREE ITEMS SAVE $450 Canon EOS 77D DSLR with 18-135m…
SAVE $400 Olympus OM-D E-M1 Mark II Mirro…
SAVE $350 Olympus OM-D E-M5 Mark II Mirro…
SAVE $400 Panasonic Lumix DMC-GX85 Mirror…
SAVE $300 Panasonic Lumix DMC-G7 Mirrorle…
SKU SOA7R324704K
SAVE $1000 Apple 15.4" MacBook Pro with To…
SAVE $1500 Pentax 645Z Medium Format DSLR
SAVE $200 Pentax K-1 DSLR
$466 FREE ITEMS SAVE $1100 Nikon D750 DSLR with 24-120mm
$466 FREE ITEMS SAVE $500 Nikon D750 DSLR
SAVE $100 Sigma 30mm f/1.4 sd Quattro Mir…
SAVE $450 Canon EOS 7D Mark II DSLR Body…
SAVE $100 Sony a6000 Mirrorless Body
$9 FREE ITEMS SAVE $160 Steiner 8x32 XC Binocular
DZ SAVE $120 Think Tank Photo Retrospecti…
$98 FREE ITEMS DZ SAVE $450 Interfit S1 500Ws HSS TTL Ba…
DZ SAVE $150 JBL Reflect Aware Sport Earp…
DZ SAVE $70 Vanguard Sedona 51 DSLR Back…
$44 FREE ITEMS DZ SAVE $130 ikan DH7 7" Full HD HDMI Mon…
DZ SAVE $60 Kolibri U818A Discovery Delt…
DZ SAVE $70 Kopul SDI-PPC Stereo Multime…
DZ SAVE $10 Joby Action Grip
DZ SAVE $30 Bolt VC-310C Compact On-Came…
DZ SAVE $40 Westcott Rapid Box - 26" Oct…
DZ SAVE $100 Wooden Camera Unified Cage
DZ SAVE $40 Celestron 15x70 SkyMaster Bi…
DZ SAVE $30 Bolt VC-310F Compact On-Came…
DZ SAVE $700 ikan IB508-v2 Bi-Color LED 3…
DZ SAVE $130 Think Tank Photo Lily Deanne…
DZ SAVE $42 Lowepro Passport Sling Camer…
DZ SAVE $100 Dracast LED140 Halo Bi-Color…
DZ SAVE $30 Bolt VC-310N Compact On-Came…
DZ SAVE $120 Domke Next Generation Herald…
DZ SAVE $25 Lowepro S&F Quick Flex Pouch…
DZ SAVE $90 E-Image 760AT Aluminum Tripo…
DZ SAVE $130 Think Tank Photo Lily Deanne…
$35 FREE ITEMS DZ SAVE $726 Redrock Micro microMatteBox…
DZ SAVE $30 Vello FreeWave Plus Wireless…
DZ SAVE $15 Pacsafe Carrysafe 50 Anti-Th…
DZ SAVE $15 HUBSAN X4 Plus H107P Quadcop…
DZ SAVE $45 Olympus LS-P1 Portable Handh…
DZ SAVE $160 Rokinon 12mm f/2.8 ED AS IF…
DZ SAVE $15 Joby UltraFit Sling Strap Fo…
DZ SAVE $30 Nintendo 2DS XL Handheld Gam…
$11 FREE ITEMS DZ SAVE $200 MagiCue Mobile Teleprompter…
DZ SAVE $150 ASUS 15.6" VivoBook S15 S510…
DZ SAVE $16 Ruggard Fabric Rain Shield M…
DZ SAVE $12 Ruggard Fabric Rain Shield S…
DZ SAVE $40 Vanguard Reno 41 DSLR Backpa…
DZ SAVE $17 Hoya 55mm Ultraviolet UV (O)…
DZ SAVE $130 Swann 4-Channel 1080p NVR wi…
DZ SAVE $100 Vinta S-Series Backpack Trav…
DZ SAVE $55 Luxxetta L-Shaped Office Com…
DZ SAVE $300 Rokinon 24mm T1.5 Cine DS
DZ Canon Mugs Lens Wristlet (70-200mm)
DZ SAVE $200 Rokinon 14mm f/2.8 AF
DZ SAVE $40 Magnus PV-7451M Tripod/Monop…
DZ SAVE $30 Think Tank Photo Hubba Hubba…
DZ SAVE $40 Ruggard DSLR Parka Cold and…
DZ SAVE $25 Roland GO:Mixer Audio Mixer…
DZ SAVE $23 IK Multimedia iKlip Grip Sma…
DZ SAVE $22 Vello ShutterBoss II Timer R…
DZ SAVE $40 Polsen PCR-65 Cardioid Conde…
DZ SAVE $270 Xerox WorkCentre 3315 All-in…
DZ SAVE $50 Vello Extendá Wi-Fi C…
DZ SAVE $40 Bolt P12 Compact Battery Pac…
DZ SAVE $40 Elvid OptiView 100 3.2" LCD…
DZ SAVE $40 Bolt P12 Compact Battery Pac…
DZ SAVE $20 Musicians Value C3 Series CS…
DZ SAVE $90 Bolt Cyclone DR PP-400DR Dua…

View all 336 deals…

Durable and fast, up to 1800MB/s

Caution on macOS 10.12.4: sudo is broken, sudo hangs before password for nearly 5 minutes

See also About the macOS Sierra 10.12.4 Update.

Update: most readers report not seeing this issue MPG suspects it depends on some kind of system configuration, such as an ACL, user/group database, etc.

Bug are bugs and often depend on some factor or factors that might leave some users high and dry even as others happily snorkel along. So the trick is finding out what is causing the behavior I’m seeing on all three Macs. I thank the users who have written for not degenerating into the “works for me” ignorance mode that sometimes pops up in such situations.

Summary as of 7 April 2017:

  • Apple has ignored the bug I filed for 12 days now (Apple Bug Report #31307973), pretty much what Apple does these days—no response whatsoever.
  • I added notes to this discussion thread at discussions.apple.com: sudo hangs before password
  • The ONLY fix that works is an erase/reinstall and manual reinstall of apps and data and reconfigure. This can take many hours for advanced users like me, with a detailed working environment
  • Using Migration Assistant drags over whatever is upsetting sudo—even onto a fresh erase/install of macOS.
  • No apparent issues in /etc/sudoers that would explain the issue.
  • Once triggered, even a new admin user has the problem, so it is a system wide issue (not specific to one user).

SOLUTION

See the solution.

... Original post ...

This bug has totally destroyed my daily workflow; I use 'sudo' dozens if not hundreds of times a day. I don’t know what I’m going to do—I may have to clone macOS 10.12.3 back over the “upgraded” system — and I cannot do that on two machines because I keep no clones (they're secondaries but I use them nonetheless).

In Terminal, using sudo hangs on all 3 Macs I was foolish enough to update to 10.12.4:

sudo ls

The process just hangs, rendering sudo useless. It doesn't matter what comes after sudo; any and all uses of sudo hangs. Using control-C does not recover either; the Terminal window becomes unusable. Eventually the command executes, with a 4 minute and 39 second delay:

diglloydMP:DIGLLOYD lloyd$ date; sudo date
Tue Mar 28 13:44:57 PDT 2017
Tue Mar 28 13:49:36 PDT 2017  = 4 minute 39 seconds delay

Since reports of a problem surfaced two months ago, I have to wonder how a bug like this can be shipped to customers. I found a link to an alleged fix, but I am not familiar with that site, and the suggested fix is non-Apple software for 'sudo'—the idea of downloading a sudo replacement to give root access to my system makes me blanche.

In About the security content of macOS Sierra 10.12.4, Apple lists this “fix”. The alleged fix is not relevant to my usage; I am not using network directories.

sudo

Available for: macOS Sierra 10.12.3

Impact: A user in an group named "admin" on a network directory server may be able to unexpectedly escalate privileges using sudo

Description: An access issue existed in sudo. This issue was addressed through improved permissions checking.

CVE-2017-2381

Observations that point to a solution as yet unknown:

  • Installing a brand-new 10.12.4 on a freshly erased volume does not suffer the problem.
  • Installing a brand-new 10.12.4 on a freshly erased volume and then using Migration Assistant on former system brings the problem back.

So whatever macOS is doing, the bug has to be related to some stateful data, something that Migration Assistant itself brings over when migrating. Presumably it is some kind of ACL or special permissions thing somewhere on something, but what and where is hard to know.

That a brand new fresh install followed by Migration Assistant does not result in a usable system is frustrating indeed.

Fixes tried

  1. On 2013 Mac Pro, rebooted into recovery mode and ran Disk Utility First Aid—no issues found. Problem remains.
  2. Reinstalled macOS on the iMac 5K (did not wipe out drive first, did an “install over”). Problem remains.
  3. Downloaded 10.12.3 combo installer; attempted to install over 10.12.4; this is not permitted.
  4. On iMac 5K and MacBook Pro, made a brand-new admin account and brand-new standard account, logged into each of those accounts. Problem remains, proving that it is not an account-specific or machine-specific issue.

So I went to some hours of effort to clone back macOS 10.12.3 on the Mac Pro then do a reinstall on top of that, it being my critical machine.

Only to find that macOS 10.12.4 had mangled my mail data to a new format (and what other data did it mangle?). So even now running macOS 10.12.3, Mail is now unusable. I could whack my mail with a backup from yesterday, losing an entire day’s mail. There is no way to merge easily. But what else did macOS 10.12.4 mangle? Or I can somehow put up with macOS 10.12.4. Shame on Apple for having a minor OS update mangle user data. Photos libraries are also mangled. Perhaps other things too, but by luck I used only Mail and Photos after the install.

I opted to lose a day’s mail. But to do so, I could not use Finder copy; the Finder generated errors copying, as is its wont with any large copy. I had to use Carbon Copy Cloner folder-to-folder cloning.

macOS minor updates mangle mail data

Other user reports

As of 29 March, two readers report no issues with sudo.

As with all bugs, there must be a cause for it to happen on all three of my Macs (Mac Pro, iMac 5K, MacBook Pro), even after a system reinstall and after creating a new user account (see what I tried, above).

Two Bonus bugs!

Bug #1 (shown below): Rebooting made this one go away, but it indicates something additional may be broken as well. This error never happened previously, only with 10.12.4.

Bug #2: Creating a new user does not show it in Users & Groups. I created a new admin user, and this user is not shown, yet the folder is right there in /Users. Nor could the new user be used to login. I had to remove it using 'sudo', which of course took 5 minutes!

macOS 10.12.4: System Preferences => Users & Groups will not load

Apple BugReporter filed

The last bug that I filed at Apple, it took 6 weeks to get a response. I am hoping for something quicker this time. Apple Bug Report #31307973.

Status +14 days: it took Apple 15 calendar days to even look at the bug (April 13 vs March 28), with this result: Duplicate of 30585368 (Open). Maybe Apple has so many bugs that it takes 2 weeks even to look at a new bug?

Searching for 30585368 in BugReporter, no such bug can be found (“No problems were found that match the search criteria”). Well, that’s frustrating.

macOS 10.12.4: System Preferences => Users & Groups will not load
Deals Updated Daily at B&H Photo
View BEST Deals Right Now
B&H Deal ZoneDeals by Brand/Category/Savings
Deals expire in 70 min unless noted. Certain deals may last longer.
$999 SAVE $700 = 41.0% $101 FREE ITEMS Canon EOS 6D DSLR in Cameras: DSLR
$649 SAVE $250 = 27.0% $20 FREE ITEMS Canon EOS 77D DSLR in Cameras: DSLR
$1049 SAVE $450 = 30.0% $20 FREE ITEMS Canon EOS 77D DSLR with 18-135mm USM in Cameras: DSLR
$1349 SAVE $450 = 25.0% $20 FREE ITEMS Canon EOS 7D Mark II DSLR in Cameras: DSLR
$1299 SAVE $500 = 27.0% $101 FREE ITEMS Canon EOS 80D DSLR with 18-135mm in Cameras: DSLR
$229 SAVE $170 = 42.0% $99 FREE ITEMS Dracast CamLux Max Bi-Color 3-Light Kit in All Other Categories
$7 SAVE $10 = 58.0% Joby Action Grip in Video: Camcorders
$2497 SAVE $470 = 15.0% $468 FREE ITEMS Nikon D500 DSLR with 16-80mm in Cameras: DSLR
$1497 SAVE $500 = 25.0% $466 FREE ITEMS Nikon D750 DSLR in Cameras: DSLR
$1997 SAVE $1100 = 35.0% $466 FREE ITEMS Nikon D750 DSLR with 24-120mm in Cameras: DSLR
$1747 SAVE $570 = 24.0% $61 FREE ITEMS Nikon D7500 DSLR with 16-80mm in Cameras: DSLR
$3297 SAVE $800 = 19.0% $556 FREE ITEMS Nikon D810 DSLR with 24-120mm in Cameras: DSLR
$1697 SAVE $200 = 10.0% Pentax K-1 DSLR in Cameras: DSLR
$599 SAVE $200 = 25.0% Rokinon 14mm f/2.8 AF in Lenses: DSLR
$100 SAVE $100 = 50.0% Sachtler Dr. Bag - 3 in All Other Categories
$1998 SAVE $400 = 16.0% Sony a7R II Mirrorless in Cameras: Mirrorless
$368 SAVE $80 = 17.0% Sony DSC-RX100 in Cameras: Point and Shoot
$648 SAVE $100 = 13.0% $37 FREE ITEMS Sony DSC-RX100 III in Cameras: Point and Shoot
$300 SAVE $160 = 34.0% $9 FREE ITEMS Steiner 8x32 XC Binocular in All Other Categories
$790 SAVE $400 = 33.0% Teradek COLR in Computers: Peripherals
$1399 SAVE $100 = 6.0% ZEISS 18mm f/2.8 Batis in Lenses: Mirrorless

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2008-2017 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__