prasannakumar123 / munki

Automatically exported from code.google.com/p/munki
Other
0 stars 0 forks source link

LoginwindowInstall will not run when no user is logged in #359

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?

N/A

What is the expected output? What do you see instead?

Apps, Packages to install when users are not logged in!?!

What version of the Munki tools/InstallOSpkg tools are you using? On what
version of OS X?

Munkitools 1.0.0.1886.0
MunkiTools2 2.0.0.2112

Both on Mavericks 10.9.4

Please provide any additional information below.

Managed Software Center will run correctly when logged in as a user, just won't 
run when logged off.

Original issue reported on code.google.com by dwmacs...@gmail.com on 5 Aug 2014 at 12:20

GoogleCodeExporter commented 8 years ago
You are going to need to provide additional details on what you are doing, what 
you are expecting, and what you are seeing. Munki installs software as expected 
at the loginwindow for me on my personal machine and my test machines and for 
many, many others. It's core Munki functionality.

https://code.google.com/p/munki/wiki/configuration#Supported_ManagedInstalls_Key
s
You haven't set the SuppressLoginwindowInstall preference, have you?

Original comment by gregnea...@mac.com on 5 Aug 2014 at 3:17

GoogleCodeExporter commented 8 years ago
Hi sorry if my initial explanation wasn't thorough.  I have tried both versions 
of Munki Tools and can confirm when the Managed Software Center is run whilst a 
user is logged in communication to the Munki Server is successful i.e: 
Published apps/Software updates are listed and installation can be manually 
initiated by the user. 

I am expecting that when the machine is logged out and mouse and keyboard is 
inactive for around 10 seconds Munki will run automatically and install any 
relevant Apps/Software as specified in the manifest/machine profile.

I am seeing the machine sitting there and nothing is happening after 10 seconds 
upto 1 and a half hours of inactivity.

I am using MCX to manage the preferences for the machine and have tried the 
SuppressLoginwindowInstall preference with the boolean setting set to 
true,false and totally deleted it from the plist file - all to no avail, don't 
get me wrong i believe this software to be a great piece of work and very 
useful, i just wanted to post for help after 2 days of internal troubleshooting.

Any advice would be very appreciated.

Cheers

Original comment by dwmacs...@gmail.com on 5 Aug 2014 at 4:53

GoogleCodeExporter commented 8 years ago
"I am expecting that when the machine is logged out and mouse and keyboard is 
inactive for around 10 seconds Munki will run automatically and install any 
relevant Apps/Software as specified in the manifest/machine profile."

You are expecting incorrectly!

"I am seeing the machine sitting there and nothing is happening after 10 
seconds upto 1 and a half hours of inactivity."

This is within the window of expected behavior.

https://code.google.com/p/munki/wiki/FAQ#Q:_How_often_do_Munki_clients_check_for
_updates?

Logging out does not trigger a background run of the managedsoftwareupdate 
tool.  managedsoftwareupdate runs in the background roughly once per hour, but 
the actual time between runs can vary such that almost two hours can elapse 
between runs. If managedsoftwareupdate runs while the machine is at the 
loginwindow, and there are things to install/remove, and the keyboard and mouse 
have been idle for 10 seconds or longer, managedsoftwareupdate will proceed to 
install and show a progress status over the loginwindow.

I'm closing this since it appears to be working as expected. If you have 
additional data that indicates otherwise, we can reopen it.

Original comment by gregnea...@mac.com on 5 Aug 2014 at 5:32

GoogleCodeExporter commented 8 years ago
O.K. thank you, sorry for the inconvenience.

Original comment by dwmacs...@gmail.com on 5 Aug 2014 at 6:32