keeleysam / munki-exported

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

Munki 2 - InstallRequiresLogout preference not honored #332

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. sudo defaults write /Library/Preferences/ManagedInstalls 
InstallRequiresLogout -bool true
2. Open client MSC
3. Attempt to install any software

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

MSC should notify user that this installation requires a logout but instead, 
software immediately installs.

Please use labels and text to provide additional information.

Yesterday I noticed this on a particular test group where this value is 
enforced by MC X.

Now confirmed at home through plist manipulation.

Original issue reported on code.google.com by eriknico...@gmail.com on 19 Jun 2014 at 12:39

GoogleCodeExporter commented 9 years ago
Confirmed that MSC.app currently completely ignores this preference.

How does this preference fit with an "App Store"-like behavior? Is it desired 
that simple installs (think Firefox or Google Chrome as examples) require a 
logout?

Not adverse to writing the support for this preference, but are we agreed how 
it should work with the new UI?

Original comment by gregnea...@mac.com on 19 Jun 2014 at 12:43

GoogleCodeExporter commented 9 years ago
I agree that this doesn't fit with the concept of Munki 2, however this is 
needed for backwards compatibility. In my case, this particular group is 
masochistic and needs this value enforced.

Perhaps this:
InstallRequiresLogout
AppRequiresLogout

The former covers everything but simple apps, although how do you define simple 
apps? DMGs/=simple and some admins repackage all DMG's to pkg's (autopkg).

What if a simple app has an update_for package that for whatever reason the 
admin requires a logout? (ccck extension for firefox).

Perhaps this is better suited for munki-dev.

Original comment by eriknico...@gmail.com on 19 Jun 2014 at 1:06

GoogleCodeExporter commented 9 years ago
I don't think I'm going to increase the complexity at this time. If the admin 
wants to force a logout for all installs, I guess I'll let him/her.

Original comment by gregnea...@mac.com on 19 Jun 2014 at 5:39

GoogleCodeExporter commented 9 years ago
Support added here: 
https://code.google.com/p/munki/source/detail?r=ba1108afac7e122caad139ea212e2348
5775f842&name=Munki2

Original comment by gregnea...@mac.com on 19 Jun 2014 at 5:54