[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Daniel Beck resolved JENKINS-26184 as Not A Defect jenkins user in jobs not inheriting linux groups Issue seems to originate from outside the Jenkins Project, and use of the provided packages/installers resolves/works around the issue, so resolving as Not A Defect. Change By: Daniel Beck (25/Dec/14 7:32 PM) Status: Open Resolved Resolution: Not A Defect 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups It was written as part of the jenkins Chef cookbook. https://github.com/opscode-cookbooks/jenkins I will submit an issue to them so that they can correct it for others. This is the template they are using: https://github.com/opscode-cookbooks/jenkins/blob/master/templates/default/sv-jenkins-run.erb 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Daniel Beck commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups Did you write "runit" yourself or is it from somewhere associated with the Jenkins project? 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups OK, after re-installing using the Jenkins official repo (instead of the .war download) and a reboot, groups are now showing correctly. So the original problem probably lied with the runit start script. That said, using repo is easier. Issue resolved. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro edited a comment on JENKINS-26184 jenkins user in jobs not inheriting linux groups I was installing Jenkins via the jenkins.war download. Right now I am trying a re-install using the Ubuntu 14.04 package. I will report back to see if it results in anything different. Then I will try again after with the .war and seeing if groups jenkins before groups has any impact. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups I was installing Jenkins via the jenkins.war download. Right now I am trying a re-install using the Ubuntu 14.04 package. I will report back to see if it results in anything different. Then I will try again after with the .war and seeing if monospaced}}groups jenkins{{monospaced before monospaced}}groups{{monospaced has any impact. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Daniel Beck commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups FWIW try running groups after groups jenkins, the latter should cause the groups to get loaded properly according to the info. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Daniel Beck commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups There may be something wrong with the way Jenkins gets started as jenkins. Did you install the dpkg? 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups Seems I'm not the only other person who has ran into this problem recently: http://superuser.com/questions/847553/jenkins-group-while-in-job-is-not-the-same-as-in-terminal 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro edited a comment on JENKINS-26184 jenkins user in jobs not inheriting linux groups I just tried restarting Jenkins and rebooting the server. Still no luck. I also tried downgrading to 1.585, but that also has still had no effect. Here is the output of the latest job. I added a "whoami" and a "groups jenkins". @danielbeck, it seems the "groups jenkins" returns the correct groups. How can I get the job itself to have those groups? Started by user anonymous Building in workspace /var/lib/jenkins/jobs/Angemo_Test/workspace > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url g...@github.com:zehnergroup/rdi-angemo.git # timeout=10 Fetching upstream changes from g...@github.com:zehnergroup/rdi-angemo.git > git --version # timeout=10 using GIT_SSH to set credentials ZG Jenkins Bot > git fetch --tags --progress g...@github.com:zehnergroup/rdi-angemo.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 4df9e9c94199d24b60185e770bf3936e710cc6c0 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4df9e9c94199d24b60185e770bf3936e710cc6c0 > git rev-list 4df9e9c94199d24b60185e770bf3936e710cc6c0 # timeout=10 [workspace] $ /bin/sh -xe /tmp/hudson3420456835255545641.sh + whoami jenkins + groups jenkins + groups jenkins jenkins : jenkins docker Finished: SUCCESS 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro edited a comment on JENKINS-26184 jenkins user in jobs not inheriting linux groups I just tried restarting Jenkins and rebooting the server. Still no luck. I also tried downgrading to 1.585, but that also has still had no effect. Here is the output of the latest job. I added a "whoami" and a "groups jenkins". @danielbeck, it seems the "groups jenkins" returns the correct groups. How can I get the job itself to have those groups? Started by user anonymous Building in workspace /var/lib/jenkins/jobs/Angemo_Test/workspace > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url g...@github.com:zehnergroup/rdi-angemo.git # timeout=10 Fetching upstream changes from g...@github.com:zehnergroup/rdi-angemo.git > git --version # timeout=10 using GIT_SSH to set credentials ZG Jenkins Bot > git fetch --tags --progress g...@github.com:zehnergroup/rdi-angemo.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 4df9e9c94199d24b60185e770bf3936e710cc6c0 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4df9e9c94199d24b60185e770bf3936e710cc6c0 > git rev-list 4df9e9c94199d24b60185e770bf3936e710cc6c0 # timeout=10 [workspace] $ /bin/sh -xe /tmp/hudson3420456835255545641.sh + whoami jenkins + groups jenkins + groups jenkins jenkins : jenkins docker Finished: SUCCESS 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups I just tried restarting Jenkins and rebooting the server. Still no luck. I also tried downgrading to 1.585, but that also has still had no effect. Here is the output of the latest job. I added a "whoami" and a "groups jenkins". ~danielbeck, it seems the "groups jenkins" returns the correct groups. How can I get the job itself to have those groups? Started by user anonymous Building in workspace /var/lib/jenkins/jobs/Angemo_Test/workspace > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url g...@github.com:zehnergroup/rdi-angemo.git # timeout=10 Fetching upstream changes from g...@github.com:zehnergroup/rdi-angemo.git > git --version # timeout=10 using GIT_SSH to set credentials ZG Jenkins Bot > git fetch --tags --progress g...@github.com:zehnergroup/rdi-angemo.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 4df9e9c94199d24b60185e770bf3936e710cc6c0 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4df9e9c94199d24b60185e770bf3936e710cc6c0 > git rev-list 4df9e9c94199d24b60185e770bf3936e710cc6c0 # timeout=10 [workspace] $ /bin/sh -xe /tmp/hudson3420456835255545641.sh + whoami jenkins + groups jenkins + groups jenkins jenkins : jenkins docker Finished: SUCCESS 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Daniel Beck commented on JENKINS-26184 jenkins user in jobs not inheriting linux groups When did you add Jenkins to that group? Did you restart Jenkins (or possibly the machine) since? What happens when you run groups jenkins (assuming the user is called jenkins)? 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-26184) jenkins user in jobs not inheriting linux groups
Adam Duro created JENKINS-26184 jenkins user in jobs not inheriting linux groups Issue Type: Bug Assignee: Unassigned Components: core Created: 20/Dec/14 3:43 AM Description: When I run the following as the jenkins user on the command line $ groups I get this: jenkins@zg-jenkins-berkshelf:~$ groups jenkins docker When I create a simple job that runs the same "groups" command as a shell script step, I get this: Started by user anonymous Building in workspace /var/lib/jenkins/jobs/Angemo_Test/workspace > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url g...@github.com:zehnergroup/rdi-angemo.git # timeout=10 Fetching upstream changes from g...@github.com:zehnergroup/rdi-angemo.git > git --version # timeout=10 using GIT_SSH to set credentials ZG Jenkins Bot > git fetch --tags --progress g...@github.com:zehnergroup/rdi-angemo.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 4df9e9c94199d24b60185e770bf3936e710cc6c0 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4df9e9c94199d24b60185e770bf3936e710cc6c0 > git rev-list 4df9e9c94199d24b60185e770bf3936e710cc6c0 # timeout=10 [workspace] $ /bin/sh -xe /tmp/hudson245901703018479391.sh + groups jenkins Finished: SUCCESS Jenkins "in-job" does not have the same groups as the jenkins user on command line. Environment: Jenkins Version 1.594, OS: Ubuntu 14.04, Installation Type: WAR, Java: java-6-openjdk-amd64 Project: Jenkins Labels: job Priority: Minor Reporter: Adam Duro 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.