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.
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
- Description updated (diff)
- Category set to Packaging
- Target version set to 6.0.5
- Related to Architecture #10885: /var/rudder/share must be readable by rudder-policy-reader added
- Related to Bug #11176: /var/rudder/share is not readable by rudder-policy-reader added
- Related to Bug #16136: On relays /var/rudder/share files are not executable for group added
The recursivity was created during #10885 probably because of upgrade from previous relays.
We don't need it anymore.
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/2821
- Status changed from In progress to Pending release
- Fix check changed from To do to Checked
- 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
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.5 which was released today.
Also available in: Atom
PDF