New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPM Installation Issues #278
Comments
This seems to be 2 separate issues. I'll fix the daemon name right now, new snapshot should be available by tomorrow. I want to run some more tests for the user creation (if you want to send a PR for this one, I'll be happy to accept it. my bash-fu is rusty ...) |
I worked on initial rpm but things changed over the years. |
About jmxtrans user already existing, it shouldn't |
Code is always misleading, but it seems that jmxtrans user is created in pre and removed in postrun (around https://github.com/jmxtrans/jmxtrans/blob/master/pom.xml#L1098). And it does not seem that there are any dependencies on the UID. So conditionally creating the user should be fine (RPM is really not my thing, I might be completely wrong ...) |
I was looking in original spec file : https://github.com/jmxtrans/jmxtrans/blob/master/rpm/SPECS/jmxtrans.spec :) |
Another suggestion is to publish SHA256 checksum for the files so that tools like Chef can perform the verification. Chef uses SHA256 for checksum verification. Let me know if a new item need to be created. |
It will better to 3 create different issues/requests. |
MD5, SHA1 and GPG signatures are generated (http://central.maven.org/maven2/org/jmxtrans/jmxtrans/249/). Feel free to send a PR if you want additional signatures ... |
@hgomez I moved the generation of RPMs to Maven to make it easier to automate the build on travis and to upload everything to Maven central. That might or might not have been a mistake ... but at least RPMs are published with each snapshot now. I have probably broken a few things in the process. All my apologies... |
No problem. |
I'd be really grateful ! |
👍 |
Tried to install version 249 rpm on a CentOS VM.
jmxtrans
init.d script should be available under/etc/init.d
and it seems to be missing after the install. Instead there is ajmxtransd
script available.jmxtrans
is already on the system which is not the case with thedebian
package. If the user is already existing can we skip the user creation logic instead of failing the installation process?The text was updated successfully, but these errors were encountered: