Skip to content
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

DPM client deployment: wrong dependency and path #6

Open
ccacciari opened this issue Nov 22, 2017 · 2 comments
Open

DPM client deployment: wrong dependency and path #6

ccacciari opened this issue Nov 22, 2017 · 2 comments

Comments

@ccacciari
Copy link
Contributor

The current packaging script for rpm has a dependency from irods-icat.
This is not necesary and fails on irods v4.2.x, so it has to be replaced with irods-icommand.
The script should check the iRODS version and change the path for the policy manager script accordingly, otherwise in iRODS v4.2.x it fails:

$ sudo rpm -i /home/irodsmaster/rpmbuild/RPMS/noarch/irods-eudat-b2safe-dpm-client-1.0-0.noarch.rpm

To install/configure b2safe dpm client in iRODS do following as the user who runs iRODS : 

source /etc/irods/service_account.config
su - $IRODS_SERVICE_ACCOUNT_NAME
cd /opt/eudat/b2safe-dpm-client/conf
# update config.ini with correct parameters with your favorite editor

chown: cannot access ‘/var/lib/irods/iRODS/server/bin/cmd/runPolicyManager.py’: No such file or directory
warning: %post(irods-eudat-b2safe-dpm-client-1.0-0.noarch) scriptlet failed, exit status 1
@cookie33
Copy link

This has to be updated in the same way as the b2safe package has been updated.

This will be done next week.

@cookie33
Copy link

should be fixed in #7. please test..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants