Skip to content

Commit 516273c

Browse files
committed
CMAKE: Put the credentials store in /run/ and not /var/run
1 parent b0e0f8d commit 516273c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

eos.spec.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,9 @@ The EOS fuse core containing eosxd/eosxd3.
569569
%dir %attr(755,daemon,daemon) %{_localstatedir}/cache/eos/
570570
%dir %attr(755,daemon,daemon) %{_localstatedir}/cache/eos/fusex/
571571
# Ensure /run/eos/... creation
572-
%dir %attr(0755, root, root) %{_rundir}/eos
573-
%dir %attr(1777, root, root) %{_rundir}/eos/credentials
574-
%dir %attr(1777, root, root) %{_rundir}/eos/credentials/store
572+
%dir %attr(0755, root, root) %{_localstatedir}%{_rundir}/eos
573+
%dir %attr(1777, root, root) %{_localstatedir}%{_rundir}/eos/credentials
574+
%dir %attr(1777, root, root) %{_localstatedir}%{_rundir}/eos/credentials/store
575575

576576
#-------------------------------------------------------------------------------
577577
# Package eos-fusex-selinux

misc/var/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/eos/fuse)
3535
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/eos/fusex)
3636
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/eos/httpd)
3737
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/eos/tx)
38-
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/run/eos/credentials/store)
3938
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/share/eos)
4039
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/www/eos/cgi-bin)
40+
install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_RUNSTATEDIR}/eos/credentials/store)

0 commit comments

Comments
 (0)