![]() |
|
|
|
|
Change By:
|
Ralph Bolton
(02/Jun/14 2:51 PM)
|
|
Description:
|
The jenkins-1.565-1.1 RPM contains a post-install script with performs the following:
{quote}{noformat}
# Ensure the right ownership on files . /etc/sysconfig/jenkins chown -R ${JENKINS_USER:-jenkins} /var/log/jenkins chown -R ${JENKINS_USER:-jenkins} ${JENKINS_HOME:-/var/lib/jenkins}
{noformat}{quote}
These chowns can take a very long time on systems with lots of files. A couple of our Jenkins boxes have thousands of files in a the /var/lib/jenkins/workspace directory (which itself is a network mount), which means this chown takes many minutes to complete (like ~15 minutes)
and actually changes the ownership of no files
. This holds up package deployment unnecessarily.
I propose that either these chowns be removed entirely (the RPM spec sets the ownership of things the RPM puts down), or better yet that they're restricted to specific files.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.