Installation Instructions for Hot Fix D2L002

Linux for x64

Hot fix D2L002 addresses the issue(s) in Base SAS 9.4_M5 as documented in the Issue(s) Addressed section of the hot fix download page:

D2L002 is a "container" hot fix that contains the following "member" hot fixes which will update the software components as needed.

B6Q035  updates  Base SAS 9.4_M5
B5M007  updates  SAS Threaded Kernel Core Routines 9.4_M5
D2M001  updates  SAS Threaded Kernel Interface to R 9.4_M5
B5S005  updates  SAS Threaded Kernel Secure 9.4_M5

See What is a container hot fix? in the Hot Fix FAQ for more information about container hot fixes.

Before applying this hot fix, follow the instructions in SAS Note 35968 to generate a SAS Deployment Registry report, then verify that the appropriate product releases are installed on your system. The release number information in the Registry report should match the 'member' release number information provided above for the software components installed on each machine in your deployment.

The hot fix downloaded,, includes the updates required for all components listed above on all applicable operating systems. To apply this hot fix on multiple machines, you can either save on each machine or save it in a network location that is accessible to all machines.

Do NOT extract the contents of The hot fix installation process will extract the contents as needed.


  1. Files delivered in this hot fix will be backed up during the installation process. However, it is good general practice to back up your system before applying updates to software.

  2. You must have Administrator Privileges on your CLIENT or SERVER machine.

  3. All currently active SAS sessions, daemons, spawners and servers must be terminated before applying this hot fix.

  4. This hot fix should be installed using the same userid who performed the initial software installation.

  5. CONFIGURATION: No automatic configuration scripting is included for this hot fix. If you have previously configured software installed, the SAS Deployment Manager may present a screen where you will see "Apply SAS Hot Fixes" and "Configure SAS Hot Fixes" options. On this screen, you must ensure that the "Configure SAS Hot Fix" option is *not* selected. If this option is automatically selected, please de-select it prior to proceeding with the SAS Deployment Manager Screens. Failure to do so could have unintended consequences when applying this hot fix.


Hot Fix D2L002 must be installed on each machine where the updated components of the product, listed above, are installed. During the installation process you may see references to all operating systems for which updates are provided in the hot fix. The installation process will determine the operating system and which component(s) of Base SAS 9.4_M5 require updating on the machine. See SAS Note 44810 for more details.

The hot fix will be applied using the SAS Deployment Manager. By default, the SAS Deployment Manager will search in the <SASHOME>/InstallMisc/HotFixes/New directory for hot fixes to be applied, but will also prompt for a location if you have downloaded hot fixes to a different directory.

After downloading, follow the instructions for applying hot fixes in the SAS Deployment Wizard and SAS Deployment Manager 9.4: User's Guide.

Please review the CONFIGURATION Important Note above concerning proper selection of the "Configure SAS Hot Fix" option in the SAS Deployment Manager.

The hot fix installation process generates the log file

for example, IT_2011-10-31-13.18.21.log. Each attempt to apply a hot fix results in the creation of a new log file giving detailed information regarding the installation process.

Postexec log files are created after the installation is completed and identifies the files that were added, backed up, changed and removed. These log files include the 'member' hot fix id in the name of the file and are also written to the <!SASHOME>/InstallMisc/InstallLogs directory. There is one postexec log for each 'member' hot fix applied (member hot fixes are listed at the top of these instructions).

The content of this hot fix is listed in the hot fix manifest.


After installation of this hot fix, the following step must be completed for the fix to be fully functional.

  1. Go to <SASHOME>/SASFoundation/9.4/utilities/bin
  2. As root, execute

Configuration of the sas-services-daemon

SAS Services Daemon (sas-services-daemon)
sas-services-daemon is a multi-threaded (refactored) replacement for sasauth. Both sas-services-daemon and sasauth are software agents that implement Unix authentication. Unlike sasauth, sas-services-daemon runs independent of any other SAS Processes.

sas-services-daemon should be started as a daemon when the system boots prior to any SAS Processes or SAS Servers and must be run under the root user id. Typically, this can be done with "service" - System V ( or "systemctl" - Systemd ( Example init scripts are provided in <SASROOT>/utilities/bin. sas-services-daemon.init for System V and sas-services-daemon.service for Systemd. Unlike sasauth, sas-services-daemon does not need to be owned by root or require the setuid bit set.

System V
Edit sas-services.daemon.init and modify cmd="<SASHOME>/SASFoundation/9.4/utilities/bin/sas-services-daemon" to reflect the actual install location for sas-servcies-daemon.

Copy sas-service-daemon.init to /etc/init.d/sas-services-daemon

To start:   sudo /sbin/service sas-services-daemon start
To stop:    sudo /sbin/service sas-services-daemon stop
To restart: sudo /sbin/service sas-services-daemon restart
Get status: sudo /sbin/service sas-services-daemon status
Start on boot: sudo /sbin/chkconfig --add sas-services-daemon

Edit sas-services.daemon.service and modify ExecStart=<SASHOME>/SASFoundation/9.4/utilities/bin/sas-services-daemon to reflect the actual install location for sas-services-daemon. After sas-services-daemon.service has been copied to /lib/systemd/system and modified, the systemd manager configuration must be reloaded.

Copy sas-services-daemon.service to /lib/systemd/system/sas-services-daemon.service

To reload systemd manager configuration: sudo systemctl daemon-reload
To start:   sudo systemctl start sas-services-daemon
To stop:    sudo systemctl stop sas-services-daemon
Go restart: sudo systemctl restart sas-services-daemon
Get status: sudo systemctl status sas-services-daemon
Start on boot: sudo systemctl enable sas-services-daemon

sas-services-daemon is configurable by using the sas-services-daemon.conf file. The sas-services-daemon.conf file is the same format and options as sasauth.conf. sas-services-daemon.conf should be located in the same directory as sas-services-daemon. Options unique to sas-services-daemon:
- numThreads - Number of threads to use. (Default: 4 threads Range: 1 to 32 threads)

For configuration changes to be applied, sas-services-daemon will need to be restarted.

By default, sasauth will be used by all SAS Processes and SAS Servers. sas-services-daemon is enabled by setting the environment variable SAS_USE_SASSD to 1. It is recommended this be set in <SASCONFIG>/Lev#/ SAS Servers will need to be restarted:
<SASCONFIG>/Lev#/sas.servers restart

Authentication methods
- pw - user id and password. Uses standard /etc/passwd - /etc/shadow authentication.
- PAM - [Pluggable Authentication Module]( When configuring sas-services-daemon for PAM, the config file that goes in /etc/pam.d is named sas-services-daemon. Your Systems Administrator can provide site specific configuration settings.

Unsupported Authentication methods
LDAP - [Lightweight Directory Access Protocol]( However, if LDAP is a necessary requirement, then PAM can be configured to use [pam_ldap](

Supported hosts
Linux(SAS Support Linux distributions)

For each product installed, click the link to be redirected to post-installation instructions.

B6Q035  updates  Base SAS 9.4_M5
B5M007  updates  SAS Threaded Kernel Core Routines 9.4_M5
D2M001  updates  SAS Threaded Kernel Interface to R 9.4_M5
B5S005  updates  SAS Threaded Kernel Secure 9.4_M5

B6Q035  updates  Base SAS 9.4_M5


B5M007  updates  SAS Threaded Kernel Core Routines 9.4_M5


D2M001  updates  SAS Threaded Kernel Interface to R 9.4_M5


B5S005  updates  SAS Threaded Kernel Secure 9.4_M5


This completes the installation of hot fix D2L002 on Linux for x64.

Copyright 2019 SAS Institute Inc. All Rights Reserved.