keeleysam / munki-exported

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

Munki 2 - MSC.app should rerun msu after removing item updates tab #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add item via Self Service
2. Remove item via Updates tab

What is the expected output? What do you see instead?
Item should be removed from cache and selfservice plist should be 
modified/reread.

Instead a user has to select another item or check again.

While not terrible, I could see it being an issue with bigger packages on SSD 
machines.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by eriknico...@gmail.com on 5 Mar 2014 at 12:52

GoogleCodeExporter commented 9 years ago
SelfServeManifest is updated immediately.
Cached installer will be eventually removed from disk.  I don't want to run 
managedsoftwareupdate too often; there are other issues around that (especially 
if the admin has implemented pre and postflight scripts for reporting, etc. 
Probably will leave this behavior as-is.

Original comment by gregnea...@mac.com on 5 Mar 2014 at 12:59

GoogleCodeExporter commented 9 years ago
This may only effect items that are previously installed, but in my testing 
with VLC, SelfService is not updating automatically. The xml is only updated 
once press the "check again" button.

Fair enough though. It's not a huge issue.

Original comment by eriknico...@gmail.com on 5 Mar 2014 at 1:16

GoogleCodeExporter commented 9 years ago
Which SelfServeManifest are you checking?  Users can't write to 
/Library/Managed Installs/manifests/SelfServeManifest. MSU.app and MSC.app 
instead write to /Users/Shared/.SelfServeManifest.

When managedsoftwareupdate runs (as root), it reads from 
/Users/Shared/.SelfServeManifest and rewrites the file to /Library/Managed 
Installs/manifests/SelfServeManifest.

Original comment by gregnea...@mac.com on 5 Mar 2014 at 1:45

GoogleCodeExporter commented 9 years ago
Okay this is working correctly. .SelfServeManifest is writing correctly and 
"Check again" invokes msu as root, which then updates SelfServeManifest in 
Managed Installs.

Original comment by eriknico...@gmail.com on 5 Mar 2014 at 2:02

GoogleCodeExporter commented 9 years ago
Closing.

Original comment by gregnea...@mac.com on 11 Mar 2014 at 9:52