Closed GoogleCodeExporter closed 9 years ago
You'll have to provide far more detail: this works as expected in general. If
it's triggered by a _specific_ package you are installing, then I'd like to see
that package, or at least its Distribution file or Info.plist.
Even though you say you "tried recreating the package to make sure logout was
not required", the most likely explanation is that _some_ package to be
installed requires or recommends a logout or restart.
Original comment by gregnea...@mac.com
on 24 Jul 2014 at 4:23
This is the only package trying to be installed and it does not require logout.
It seems to do this for every install I've tried so far. Which is really just
this and VLC which is a copy from dmg. I attached the requested Distribution
file. Let me know what other information I can provide to help.
Thanks!
Original comment by rker...@gmail.com
on 24 Jul 2014 at 8:29
Attachments:
I'd also like to see the output of:
`defaults read /Library/Preferences/ManagedInstalls`
`sudo defaults read /var/root/Library/Preferences/ManagedInstalls`
and for good measure, check /var/root/Library/Preferences/ByHost for any
ManagedInstalls plist files.
Need to eliminate the possibility that you've set InstallRequiresLogout to True
in one of these domains.
If these come up empty, check also the output of mcxquery.
Original comment by gregnea...@mac.com
on 24 Jul 2014 at 9:08
defaults read /Library/Preferences/ManagedInstalls
{
AdditionalHttpHeaders = (
"xxxxx"
);
AppleSoftwareUpdatesOnly = 0;
ClientIdentifier = TestClient;
DaysBetweenNotifications = 2;
InstallAppleSoftwareUpdates = TRUE;
InstallRequiresLogout = FALSE;
InstalledApplePackagesChecksum = 3a5e310fce473740393b79966c2f9d21d651c034619ee091e7a3430fbe49c90a;
LastAppleSoftwareUpdateCheck = "2014-07-24 20:20:09 +0000";
LastCheckDate = "2014-07-25 13:05:48 +0000";
LastCheckResult = 0;
LogFile = "/Library/Managed Installs/Logs/ManagedSoftwareUpdate.log";
LogToSyslog = 0;
LoggingLevel = 1;
ManagedInstallDir = "/Library/Managed Installs";
PackageVerificationMode = hash;
SoftwareRepoURL = "xxxxx";
SoftwareUpdateServerURL = "xxxxx";
SuppressAutoInstall = 0;
SuppressStopButtonOnInstall = TRUE;
SuppressUserNotification = FALSE;
UseClientCertificate = 0;
defaults read /var/root/Library/Preferences/ManagedInstalls
{
ClientIdentifier = TestClient;
InstallAppleSoftwareUpdates = 1;
LogFile = "/Library/Managed Installs/Logs/ManagedSoftwareUpdate.log";
SoftwareRepoURL = "xxxxxx";
}
None in /var/root/Library/Preferences/ByHost
Not a Open Directory Managed machine
Original comment by rker...@gmail.com
on 25 Jul 2014 at 1:35
To my eyes, this looks like you've set InstallRequiresLogout to the literal
string "FALSE", which since it's not non-zero, non-empty value will evaluate as
boolean True in a conditional statement like
if prefs['InstallRequiresLogout']:
# do something
Try this:
sudo defaults delete /Library/Preferences/ManagedInstalls InstallRequiresLogout
or
sudo defaults write /Library/Preferences/ManagedInstalls InstallRequiresLogout
-bool FALSE
If you do the latter, and then read the value, it will return 0, which I what
I'd expect to see.
I'd recommend doing something similar for the other keys that want boolean
values, especially SuppressUserNotification, since it would be doing the
opposite of what you seem to want.
Original comment by gregnea...@mac.com
on 25 Jul 2014 at 3:16
My mistake. Thank you for the help. Please close this issue.
Original comment by rker...@gmail.com
on 25 Jul 2014 at 7:35
Determined to not be an issue with Munki code.
Original comment by gregnea...@mac.com
on 25 Jul 2014 at 8:23
Original issue reported on code.google.com by
rker...@gmail.com
on 24 Jul 2014 at 4:18