Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

Under no circumstances should you attempt to install a set of RPM packages built for/with a different OS or version from your own (apart from the CentOS/RedHat exception noted above). This will usually lead to unpredictable problems and support issues. Instead, you can rebuild the SRPM packages and then you can install them anytime you need them.

Tip

Depending on the options used by the package maintainer, other dependencies may also be required and the RPM system will report this. For example, the unixODBC and libicu packages may need to be installed as well. However, packages provided by the Shibboleth Project will never require anything that isn't available as part of the OS as a standard package.

Note

With the 2.5 release, the package now installs shibd to run as a non-root user and group (called shibd). As a result, when you upgrade, the package will execute a number of file and directory ownership changes to make sure that it can continue to run. If you use any non-default filenames or locations, particularly for any private keys, you will need to manually adjust your file permissions so that the shibd user can access the files involved. Private keys should be readable only by that user account.

Also, please do NOT store files from unrelated software into the directories created by the package (principally the log, run, and cache directories in /var, and the /etc/shibboleth directory. This is NOT supported and may cause problems when you upgrade. The package assumes that it knows what can be in those directories and does not have the ability to avoid breaking other software.

Installing via Yum

The strongly recommended approach is to take advantage of the Build Service's ability to act as a yum repository alongside your existing OS-supplied repository. Ths allows you to manage the Shibboleth packages in a standard way and pick up updates using a single command.

For Red Hat Enterprise, the CentOS team provides some usual material on using yum.

The root To get a copy of the appropriate repository tree for Shibboleth can be found at httpfile for your system, see https://downloadshibboleth.opensuse.orgnet/repositories/security://shibboleth/ with each supported OS in its own subdirectory. Each subdirectory is the root of a yum repository and contains a definition file named security:shibboleth.repo. (downloads/service-provider/latest/RPMS/ for a simple drop down form that will generate a copy for you. Per the note above, Red Hat 7 systems must use the CentOS 7 repository.)

You should be aware that the repository links are magnet links to mirrors that may or may not include the necessary repositories. The Shibboleth Project has nothing to do with the mirroring process and no control over whether the packages are accessible or not. If you're getting a 404 back, that's the reason. You'll simply have to wait for it to reference a different mirror, or use the unofficial workaround noted in the generated files.

Installation varies by OS, but usually you just drop the definition file into a directory such as /etc/yum.repos.d. You can turn the repository on and off by adjusting the "enabled" property in the file, such as to prevent automated updates and maintain manual control. While enabled, the yum command will "see" the Shibboleth packages when you perform standard operations, and installing the SP should require only a single command:

...

If you prefer to do things by hand, you can download the packages individually from the repositories hosted on the Build Service at http://download.opensuse.org/repositories/security://shibboleth/.

Installation requires every RPM that is not a devel or debuginfo/debugsource package.

...