-
Notifications
You must be signed in to change notification settings - Fork 2
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
FR: CentOS/RHEL symlink redis-cli binary in $PATH #4 #8
Comments
Thats expected behavior because scl tools are designed to be installed isolated beside the OS packages. |
Mixing scl with OS packages/PATH could cause issues on user systems |
Nice, thanks for the tip. So I guess we can close this issue and just tell anybody who asks to install the |
yum search *-syspaths
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ratiokontakt.de
* centos-sclo-rh: mirror.plustech.de
* centos-sclo-sclo: mirror.ratiokontakt.de
* epel: mirror.23media.com
* extras: mirror.ratiokontakt.de
* updates: centosmirror.netcup.net
============================================================================================================================= Matched: *-syspaths =============================================================================================================================
rh-mariadb102-syspaths.x86_64 : System-wide wrappers for the rh-mariadb102 Software Collection
rh-mariadb103-syspaths.x86_64 : System-wide wrappers for the rh-mariadb103 Software Collection
rh-mongodb34-syspaths.x86_64 : System-wide wrappers for the rh-mongodb34 Software Collection
rh-mongodb36-syspaths.x86_64 : System-wide wrappers for the rh-mongodb36 Software Collection
rh-mysql80-syspaths.x86_64 : System-wide wrappers for the rh-mysql80 Software Collection
rh-postgresql10-syspaths.x86_64 : System-wide wrappers for the rh-postgresql10 Software Collection
rh-postgresql12-syspaths.x86_64 : System-wide wrappers for the rh-postgresql12 Software Collection
rh-postgresql96-syspaths.x86_64 : System-wide wrappers for the rh-postgresql96 Software Collection There are no syspath packages for redis or php |
TODO: Check what syspath does, other options are symlinks, or simple wrapper scripts: #!/usr/bin/env sh
set -eo pipefail
exec /path/to/rh/binary "$@" |
I've checked the MongoDB syspath package. No real magic, it also just creates wrapper scripts for the binaries and symlinks for everything else e.g. manpages or systemd unit files. I'll prepare a PR to add similar behavior. |
On CentOS/RHEL we install redis-tools from Software Collections. These packages don't make
redis-cli
universally executable by symlinking the installed binary from a$PATH
directoryThe text was updated successfully, but these errors were encountered: