Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
6cc2c6c5
Commit
6cc2c6c5
authored
Jun 14, 2019
by
Steven Murray
Browse files
Split cta-rmcd package into cta-rmcd and cta-smc
parent
8c6ce07b
Changes
2
Hide whitespace changes
Inline
Side-by-side
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/rmcd.sh
View file @
6cc2c6c5
...
...
@@ -26,7 +26,7 @@ CTA_RMCD_OPTIONS=/dev/smc
EOF
# install RPMs?
test
-e
/etc/buildtreeRunner
||
yum
-y
install
mt-st mtx lsscsi sg3_utils cta-rmcd
test
-e
/etc/buildtreeRunner
||
yum
-y
install
mt-st mtx lsscsi sg3_utils cta-rmcd
cta-smc
# rmcd will be running as non root user, we need to fix a few things:
# device access rights
...
...
@@ -41,7 +41,7 @@ EOF
else
# systemd is not available
# install RPMs?
test
-e
/etc/buildtreeRunner
||
yum
-y
install
mt-st mtx lsscsi sg3_utils cta-rmcd
test
-e
/etc/buildtreeRunner
||
yum
-y
install
mt-st mtx lsscsi sg3_utils cta-rmcd
cta-smc
# to get rmcd logs to stdout
tail
-F
/var/log/cta/cta-rmcd.log &
...
...
cta.spec.in
View file @
6cc2c6c5
...
...
@@ -335,22 +335,19 @@ Scripts and utilities to faciliate working with the CTA catalogue
%attr(0644,root,root) %doc /usr/share/man/man1/cta-database-poll.1cta.gz
%package -n cta-rmcd
Summary: T
ools to faciliate working with rmcd and smc in cta
Summary: T
he Remote Media Changer daemon (rmcd)
Group: Application/CTA
Requires: logrotate
Requires: cta-common = %{version}-%{release}
%description -n cta-rmcd
CERN Tape Archive:
T
ools to faciliate working with rmcd and smc in cta
T
he Remote Media Changer daemon (rmcd)
%files -n cta-rmcd
%defattr(-,root,root)
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-rmcd
%attr(0644,root,root) %doc /usr/share/man/man1/cta-rmcd.1cta.gz
%attr(0755,root,root) %{_bindir}/cta-rmcd
%attr(0755,root,root) %{_bindir}/cta-smc
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-rmcd.conf
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-smc.conf
%attr(0644,root,root) %doc /usr/share/man/man1/cta-smc.1cta.gz
%attr(0644,root,root) %config(noreplace) /etc/sysconfig/cta-rmcd
%attr(0644,root,root) /etc/systemd/system/cta-rmcd.service
...
...
@@ -365,6 +362,18 @@ Tools to faciliate working with rmcd and smc in cta
%systemd_postun cta-rmcd.service
%systemdDaemonReload
%package -n cta-smc
Summary: The client of the Remote Media Changer Daemon (rmcd)
Group: Application/CTA
%description -n cta-smc
CERN Tape Archive:
The client of the Remote Media Changer Daemon (rmcd)
%files -n cta-smc
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/cta-smc
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-smc.conf
%attr(0644,root,root) %doc /usr/share/man/man1/cta-smc.1cta.gz
%package -n cta-common
Summary: CERN Tape Archive common items
Group: Application/CTA
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment