Roudger

Q: various problems since the transition to Yosemite

hi,

 

I am faced with various problems since the transition to Yosemite for a customer who has a server and six machines.

 

6 iMac connect to the server with network users (Open Directory). The home folders are also on the server.

 

The server and iMac are underr 10.10.2

 

The problems are:

- 4-5 minutes is required after entering his login and password before the desktop appears

- Mail software does not open the first time. We must always quit and restart it for the window appear.

- Changes in the accounts setup in Mail are not kept

- Sometimes the iMac crash and restart when shutting-down.

 

I have already done much of operations to try to get out, but after several days of failure, I come seeking help.

 

I also called Apple who explained to me that the only thing to do was reinstall the server.

so I do a clean install of Yosemite, then I installed "server 4" then I recreate an Open Directory host.

then retrieved the home folders of users, which I applied the new owner.

but I am having the same defects.

 

your help will be invaluable!

thank you in advance

Mac Pro, OS X Yosemite (10.10.2)

Posted on Feb 7, 2015 7:57 PM

Close

Q: various problems since the transition to Yosemite

  • All replies
  • Helpful answers

  • by Roudger,

    Roudger Roudger Feb 8, 2015 12:26 PM in response to Roudger
    Level 1 (0 points)
    Feb 8, 2015 12:26 PM in response to Roudger

    about the problem by opening Mail, I get an error in the console:

    ----------------------------

    8/02/2015 19:41:20,142    Mail[1112]    0x7f98d841bb30 got exception setting PRAGMA cache_size (error 10: disk I/O error), current retries 2

    08/02/2015 19:41:21,144    Mail[1112]    *** Assertion failure in -[MFSqliteHandle dealloc], /SourceCache/Mail/Mail-2070.6/MailFramework/Library/MFLibrary.m:10899

    08/02/2015 19:41:21,187    Mail[1112]    <MFSqliteHandle: 0x60800004cff0> attempting to dealloc with active db

    ----------------------------

     

    if I close and reopen Mail, the window opens and I no longer have this error until the next restart of the Mac

  • by Roudger,

    Roudger Roudger Feb 8, 2015 1:55 PM in response to Roudger
    Level 1 (0 points)
    Feb 8, 2015 1:55 PM in response to Roudger

    About the problem of passwords in Mail, that more information:

     

    Sometimes when opening Mail, passwords are not saved.

    If I try to fill them or change the account setup, change is not taken into account.

     

    And it says in the console:

    ------------------------------------------

    08/02/2015 01:27:59,790 Mail[7384]: Error finding an Internet password for XXX@XXX.fr@pop.YYYYYY.net: -25291

    08/02/2015 01:27:59,953 Mail[7384]: Error finding an Internet password for XXX@XXX.fr@pop.YYYYYY.net: -25291

    08/02/2015 01:28:00,114 Mail[7384]: Error finding an Internet password for XXX@XXX.fr@pop.YYYYYY.net: -25291

    08/02/2015 01:30:51,571 Mail[7384]: Error finding an Internet password for XXX@XXX.fr@pop.YYYYYY.net: -25291

    08/02/2015 01:30:51,572 Mail[7384]: Error finding an Internet password for XXX@XXX.fr@pop.YYYYYY.net: -25291

    08/02/2015 01:30:51,704 Mail[7384]: Error updating the value of the Internet password for XXX@XXX.fr@pop.YYYYYY.net: -25291

    08/02/2015 01:30:51,778 Mail[7384]: Error finding an Internet password for XXX@XXX.fr@pop.YYYYYY.net: -25291

    ------------------------------------------

     

     

    We must completely restart the machine (the application "Mail" not enough) and restart, the change in account setup is possible again.

    Sometimes you have to restart several times ...

     

    really strange, I do not understand what's going on, but I imagine that many of these problems are related.

  • by Picoscope,

    Picoscope Picoscope Aug 30, 2016 1:29 PM in response to Roudger
    Level 1 (9 points)
    Aug 30, 2016 1:29 PM in response to Roudger

    Getting these same errors. Mail cannot update the keychain file so it can't store the password. If I create the password manually in keychain access utility Mail still can't access it. I suspect this is a problem accessing the sqlite db, since that seems to be the root of many issues in Mavericks, but I haven't seen a fix.

     

    Any updates anyone?

    p

  • by John Lockwood,

    John Lockwood John Lockwood Sep 1, 2016 3:20 AM in response to Roudger
    Level 6 (9,165 points)
    Servers Enterprise
    Sep 1, 2016 3:20 AM in response to Roudger

    Sadly the current situation with Network Home Directories and Apple's own software i.e. Mail, Calendar and Contacts is nothing but problems. This has been so for many years now and there have been many posts in other threads in these forums about this.

     

    There are probably about six different problems - some of which are closely related, however the most critical issues all relate to when Apple introduced the ability to sync keychains via iCloud. The problem here is that even if you are not logged in to an iCloud account and have no desire or intention to use this facility the changes Apple made have really badly broken things. Prior to these changes the passwords for Mail, Calendar and Contacts were stored in a users login.keychain file, after this change they are now stored in the 'local items' keychain which is stored in a machine specific folder meaning as a first issue this prevents hot-desking. An even bigger problem is that it seems this local items keychain will frequently get corrupted requiring the user to logout and back in to create a new empty one and then for you to re-add the passwords.

     

    Note: Other programs like Outlook for Mac thankfully do not use this 'local items' keychain so that maybe an option although Outlook for Mac is notorious for its own sets of issues.

     

    Other issues are that when a user logs out it seems Apple fail to properly terminate user processes leaving them running and potentially blocking subsequent user sessions, also failing properly to dismount a users network home directory again potentially blocking subsequent user sessions and hence acting potentially as a security issue, problems with Spotlight and network home directories, and on and on and on.

     

    Some of these issues have been mitigated by users coming up with steps to include in a logout hook script. Of course there is some further irony here in that Apple for several years have been discouraging the use of login and logout hooks.

     

    It seems Apple are making their usual mistakes.

     

    1. They assume all their customers are home users i.e. individuals and have completely forgotten about businesses and in particular education users who have had a long history of using network home directories
    2. They assume all their users have completely bought in to the Apple view of things and are therefore all using iCloud to sync keychains - this at least potentially would resolve the 'local items' keychain and hot-desking issue, this however is completely unfeasible in a business/education environment
    3. They assume all their users have laptops and local home directories and that no-one is using network home directories anymore, I am sure this is how all Apple employees work and that as Apple themselves (presumably) do not use network home directories not only do they not test this, but they don't apparently care about the impact on customers either

     

    These problems still affect versions up to and including El Capitan and early reports suggest Sierra is still broken as well.

     

    There is no indication that SMB is any better than AFP, indeed it might even be worse.

     

    Potentially using a Snow Leopard Server to host the network home directories is a possible option, although this is where we see spotlight issues for network logins.

     

    PS. The speed of login is down to the speed of your Ethernet network and server. It is always going to be slower than a local home directory but we do not see as bad (on average) delay as you suggest. It is possible to setup automatic folder redirections of tmp and cache folders to e.g. /private/tmp on the local drive which helps a bit speed wise.