Skip to Content.
Sympa Menu

grouper-users - [grouper-users] How to determine patch status?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] How to determine patch status?


Chronological Thread 
  • From: Baron Fujimoto <>
  • To: Grouper Users <>
  • Subject: [grouper-users] How to determine patch status?
  • Date: Fri, 15 Mar 2019 17:17:57 -1000

I'm trying to bring an instance of grouper 2.2.2 up to date with available
patches. I'm having a problem verifying if it has been successful though.

Below is a partial transcript of patching the UI. It seems to indicate the
successful application of patches up to and including
grouper_v2_2_2_ui_patch_6.
=====
[...]
################ Checking patch grouper_v2_2_2_api_patch_12
Patch doesnt exist yet (not an error):
http://software.internet2.edu/grouper/release/2.2.2/patches/grouper_v2_2_2_api_patch_12.tar.gz

There are no new API patches to install


################ Checking patch grouper_v2_2_2_ui_patch_0
Patch: grouper_v2_2_2_ui_patch_0: was applied on: 2019/03/13 16:23:30


################ Checking patch grouper_v2_2_2_ui_patch_1
Patch: grouper_v2_2_2_ui_patch_1: had an error installing on: 2019/03/13
16:23:48

File exists:
/home/grouper/grouper/installer-archive/grouper_v2_2_2_ui_patch_1.tar.gz,
should we use the local file (t|f)? [t]: Unzipped file exists:
/home/grouper/grouper/installer-archive/grouper_v2_2_2_ui_patch_1.tar, use
unzipped file (t|f)? [t]: Untarred dir exists:
/home/grouper/grouper/installer-archive/grouper_v2_2_2_ui_patch_1, use
untarred dir (t|f)? [t]: Would you like to install all patches (t|f)? [t]:
Patch grouper_v2_2_2_ui_patch_1 is low risk, is not a security patch
GRP-1215: unfriendly error when assigning privs and not have admin
- set property: grouper_v2_2_2_ui_patch_1.date from: 2019/03/13 16:23:48 to:
2019/03/13 16:28:17
This patch requires all processes that user Grouper to be stopped.
Please stop these processes if they are running and press <enter> to
continue...
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/grouperUi2/group/groupHeader.jsp
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Subject.class
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Subject$2.class
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Subject$1.class
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Subject$4.class
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Subject$3.class
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Subject$5.class
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Subject.java
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Subject$6.class
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/grouperText/grouper.text.en.us.base.properties
Patch successfully applied: grouper_v2_2_2_ui_patch_1
- set property: grouper_v2_2_2_ui_patch_1.state from: error to: applied


################ Checking patch grouper_v2_2_2_ui_patch_2
Patch: grouper_v2_2_2_ui_patch_2: was applied on: 2019/03/13 16:23:55


################ Checking patch grouper_v2_2_2_ui_patch_3
Patch: grouper_v2_2_2_ui_patch_3: was applied on: 2019/03/13 16:24:02


################ Checking patch grouper_v2_2_2_ui_patch_4
File exists:
/home/grouper/grouper/installer-archive/grouper_v2_2_2_ui_patch_4.tar.gz,
should we use the local file (t|f)? [t]: Unzipped file exists:
/home/grouper/grouper/installer-archive/grouper_v2_2_2_ui_patch_4.tar, use
unzipped file (t|f)? [t]: Untarred dir exists:
/home/grouper/grouper/installer-archive/grouper_v2_2_2_ui_patch_4, use
untarred dir (t|f)? [t]: Patch grouper_v2_2_2_ui_patch_4 is low risk, is not
a security patch
GRP-1222: xss vulnerability in tooltips in new UI
- added to end of property file: grouper_v2_2_2_ui_patch_4.date = 2019/03/13
16:28:26
Applying file:
/home/grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/grouperText/grouper.text.en.us.base.properties
Patch successfully applied: grouper_v2_2_2_ui_patch_4
- added to end of property file: grouper_v2_2_2_ui_patch_4.state = applied


################ Checking patch grouper_v2_2_2_ui_patch_5
Patch: grouper_v2_2_2_ui_patch_5: was applied on: 2019/03/08 17:29:45


################ Checking patch grouper_v2_2_2_ui_patch_6
Patch: grouper_v2_2_2_ui_patch_6: was applied on: 2019/03/08 17:29:46


################ Checking patch grouper_v2_2_2_ui_patch_7
Patch doesnt exist yet (not an error):
http://software.internet2.edu/grouper/release/2.2.2/patches/grouper_v2_2_2_ui_patch_7.tar.gz

Since patches were applied, you should delete files in your app server work
directory,
in tomcat it is named 'work'. Hit <enter> to continue:
=====

It appears that previously, patch status/history was recorded in a
grouperPatchStatus.properties file (e.g.
grouper.ui-2.2.2/dist/grouper/WEB-INF/grouperPatchStatus.properties. After
going through this latest round of patching, I don't see the patches noted in
the transcript in this file. Patches 5 and 6 are not present. A recursive
search in directories for the timestamp string in the transcript for the
applied times for patches 5 and 6 yields no results.
=====
# added by grouper-installer
grouper_v2_2_2_api_patch_0.date = 2015/12/03 15:40:53

# added by grouper-installer
grouper_v2_2_2_api_patch_0.state = applied

# added by grouper-installer
grouper_v2_2_2_api_patch_1.date = 2015/12/03 15:41:05

# added by grouper-installer
grouper_v2_2_2_api_patch_1.state = applied

# added by grouper-installer
grouper_v2_2_2_api_patch_2.date = 2015/12/03 15:41:11

# added by grouper-installer
grouper_v2_2_2_api_patch_2.state = applied

# added by grouper-installer
grouper_v2_2_2_ui_patch_0.date = 2015/12/03 15:41:41

# added by grouper-installer
grouper_v2_2_2_ui_patch_0.state = applied

# added by grouper-installer
grouper_v2_2_2_ui_patch_1.date = 2015/12/03 15:41:46

# added by grouper-installer
grouper_v2_2_2_ui_patch_1.state = applied

# added by grouper-installer
grouper_v2_2_2_ui_patch_2.date = 2015/12/03 15:41:50

# added by grouper-installer
grouper_v2_2_2_ui_patch_2.state = applied

# added by grouper-installer
grouper_v2_2_2_ui_patch_3.date = 2015/12/03 15:41:54

# added by grouper-installer
grouper_v2_2_2_ui_patch_3.state = applied

# added by grouper-installer
grouper_v2_2_2_ui_patch_4.date = 2015/12/03 15:41:56

# added by grouper-installer
grouper_v2_2_2_ui_patch_4.state = applied
=====

When I look at https://bugs.internet2.edu/jira/browse/GRP-1838 (fixed in
patch_6) the images that are supposed to demonstrate the patched and
unpatched results appear to be broken(?) so I'm not sure what I should be
seeing there either.

Any suggestions would be appreciated.
--
Baron Fujimoto <> :: UH Information Technology Services
minutas cantorum, minutas balorum, minutas carboratum desendus pantorum



Archive powered by MHonArc 2.6.19.

Top of Page