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

Also available in: Atom PDF