Project

General

Profile

Actions

Bug #16907

closed

Slow permissions change of /var/rudder/share during upgrade

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

root     18413  4.9  0.3 444932 113588 pts/0   S+   13:50   0:15  |       \_ /usr/bin/python /usr/bin/yum update rudder-*
root     18654  0.0  0.0 113180  1504 pts/0    S+   13:50   0:00  |           \_ /bin/sh /var/tmp/rpm-tmp.vYVD8c 2
root     18753  0.0  0.0 113180  1492 pts/0    S+   13:50   0:00  |               \_ /bin/bash /opt/rudder/share/package-scripts/rudder-server-relay-postinst 2 httpd apache apache httpd/conf.d
root     18908  2.8  0.0 122056  3128 pts/0    S+   13:53   0:02  |                   \_ find /var/rudder/share -type d
root     18909  0.4  0.0 108252   828 pts/0    S+   13:53   0:00  |                   \_ xargs chmod g+s-w
root     19093  0.0  0.0 108504  1012 pts/0    R+   13:55   0:00  |                       \_ chmod g+s-w /
<pre>
on large install, it's several minutes 

introduced in https://issues.rudder.io/issues/10885

Related issues 3 (0 open3 closed)

Related to Rudder - Architecture #10885: /var/rudder/share must be readable by rudder-policy-readerReleasedAlexis MoussetActions
Related to Rudder - Bug #11176: /var/rudder/share is not readable by rudder-policy-readerReleasedAlexis MoussetActions
Related to Rudder - Bug #16136: On relays /var/rudder/share files are not executable for groupReleasedAlexis MoussetActions
Actions #1

Updated by Nicolas CHARLES over 4 years ago

  • Description updated (diff)
  • Category set to Packaging
  • Target version set to 6.0.5
Actions #2

Updated by Benoît PECCATTE over 4 years ago

  • Related to Architecture #10885: /var/rudder/share must be readable by rudder-policy-reader added
Actions #3

Updated by Benoît PECCATTE over 4 years ago

  • Related to Bug #11176: /var/rudder/share is not readable by rudder-policy-reader added
Actions #4

Updated by Benoît PECCATTE over 4 years ago

  • Related to Bug #16136: On relays /var/rudder/share files are not executable for group added
Actions #5

Updated by Benoît PECCATTE over 4 years ago

The recursivity was created during #10885 probably because of upgrade from previous relays.
We don't need it anymore.

Actions #6

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #7

Updated by Benoît PECCATTE over 4 years ago

  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/2821
Actions #8

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from In progress to Pending release
Actions #9

Updated by Nicolas CHARLES over 4 years ago

  • Fix check changed from To do to Checked
Actions #10

Updated by Alexis Mousset over 4 years ago

  • Subject changed from during upgrade, we change permissions of /var/rudder/share, and it can be really slow to Slow permissions change of /var/rudder/share during upgrade
  • Name check changed from To do to Reviewed
Actions #11

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.5 which was released today.

Actions

Also available in: Atom PDF