Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2013:0530 - Bug Fix Advisory
Issued:
2013-02-20
Updated:
2013-02-20

RHBA-2013:0530 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

sanlock bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

Updated sanlock packages that fix several bugs and add various enhancements are
now available for Red Hat Enterprise Linux 6.

Description

The sanlock packages provide a shared storage lock manager. Hosts with shared
access to a block device or file can use sanlock to synchronize their
activities. VDSM and libvirt use sanlock to synchronize access to virtual
machine images.

The sanlock packages have been upgraded to upstream version 2.6, which provides
a number of bug fixes and enhancements over the previous version, including the
new io_timeout setting, which has been added to the lockspace API. I/O timeouts
can now be adjusted directly with sanlock. (BZ#843073)

This update fixes the following bugs:

  • In certain cases, an internal sanlock race condition occurred between the

add_lockspace and rem_lockspace API. This made add_lockspace difficult to use
from applications where multiple threads could be adding the same lockspace.
With this update, it is possible for the threads to coordinate the lockspace
operations. As a result, the aforementioned error no longer occurs. (BZ#830736)

  • Prior to this update, the sanlock init script was not creating the

/var/lock/subsys/sanlock file. Consequently, the killall init script, which uses
such files to stop init services, did not terminate the sanlock service. This
bug has been fixed, and the /var/lock/subsys/sanlock file is now properly
created. (BZ#830848)

  • Previously, the sanlock service ignored undefined UID and GID options, which

led to a segmentation fault during the service startup. This bug has been fixed,
and the segmentation fault no longer occurs. (BZ#831906)

  • Previously, the wdmd init script did not start the softdog module when no

watchdog device was loaded. Consequently, the wdmd and sanlock daemons failed to
start. The bug has been fixed, and softdog is now correctly loaded in the
described scenario. (BZ#832935)

  • The sanlock inquire API was returning a lease version (lver) of "0" instead of

the real lver in the state string. Consequently, procedures like migrate,
suspend or resume failed to acquire a lease with an inquired version. The bug
has been fixed, and the correct lver number is now returned by sanlock inquire.
(BZ#840063)

  • Prior to this update, the sanlock daemon acquired supplementary groups to

allow file access on NFS. Some NFS servers did not recognize these groups and
refused the file access. With this update, the sanlock daemon has been modified
to and the aformentioned problem no longer occurs. (BZ#841305)

This update also adds the following enhancements:

  • With this update, when the storage domain (lockspace) is unreachable, the

sanlock manager suspends affected processes instead of killing them. When the
host regains access to lockspace, these processes are resumed. (BZ#826022)

  • With this update, the sanlock package has been added to the vdsm subchannel

for supported usage in Red Hat Enterprise Virtualization. As a result, sanlock
is now installed along with the vdsm package. (BZ#837095)

  • The fence-sanlock subpackage has been added. It provides a fence agent, that

uses the sanlock and wdmd packages, along with the ability of wdmd to run
scripts as tests. (BZ#858964)

All users of sanlock are advised to upgrade to these updated packages, which fix
these bugs and add these enhancements.

Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

Affected Products

  • Red Hat Enterprise Linux Server 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
  • Red Hat Enterprise Linux Workstation 6 x86_64
  • Red Hat Enterprise Linux Desktop 6 x86_64
  • Red Hat Enterprise Linux for Scientific Computing 6 x86_64
  • Red Hat Enterprise Linux Server from RHUI 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64

Fixes

  • BZ - 826022 - sanlock: should support graceful release of resources
  • BZ - 830736 - sanlock: race beween add_lockspace and rem_lockspace
  • BZ - 830848 - sanlock: initscript should create /var/lock/subsys/sanlock
  • BZ - 831906 - sanlock: segfault with SANLOCKOPTS="-w 0" configuration
  • BZ - 832935 - sanlock: softdog module should be loaded in case no watchdog driver was loaded
  • BZ - 840063 - sanlock: fix inquire lver
  • BZ - 843073 - Add the io_timeout to the lockspace api, and make it safe to adjust.

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 6

SRPM
sanlock-2.6-2.el6.src.rpm SHA-256: 47633933859129d9865f3f44729af05fa8be2277d6a8efeadc156c11e8e283f7
x86_64
fence-sanlock-2.6-2.el6.x86_64.rpm SHA-256: 7a8fbe0cdc4e781c8efa051755369c5297712d045900b1c61d1f0386e3524791
fence-sanlock-2.6-2.el6.x86_64.rpm SHA-256: 7a8fbe0cdc4e781c8efa051755369c5297712d045900b1c61d1f0386e3524791
sanlock-2.6-2.el6.x86_64.rpm SHA-256: 118ad42d84f020d4ab72771a0287425e5c7e6a0538a2a447582aae43b29fe1e6
sanlock-2.6-2.el6.x86_64.rpm SHA-256: 118ad42d84f020d4ab72771a0287425e5c7e6a0538a2a447582aae43b29fe1e6
sanlock-debuginfo-2.6-2.el6.x86_64.rpm SHA-256: b6a3bd60509bf159edf788d5073a16111c2da884a1a5f31042c02f5b06ba51aa
sanlock-devel-2.6-2.el6.x86_64.rpm SHA-256: 122ad13db7d390dbdba56ed9f2f9cb635917033cead3917da2f0571f3e5b3869
sanlock-devel-2.6-2.el6.x86_64.rpm SHA-256: 122ad13db7d390dbdba56ed9f2f9cb635917033cead3917da2f0571f3e5b3869
sanlock-lib-2.6-2.el6.x86_64.rpm SHA-256: da3ef9f9e1f780fce35b75b39a67a2b8f140acf620aef970dd268dde23deeef9
sanlock-lib-2.6-2.el6.x86_64.rpm SHA-256: da3ef9f9e1f780fce35b75b39a67a2b8f140acf620aef970dd268dde23deeef9
sanlock-python-2.6-2.el6.x86_64.rpm SHA-256: c9859fdd2b4b72e7784c424f799372a1e0bd1ea29ecba730f369966168c932dd
sanlock-python-2.6-2.el6.x86_64.rpm SHA-256: c9859fdd2b4b72e7784c424f799372a1e0bd1ea29ecba730f369966168c932dd

Red Hat Enterprise Linux Server - Extended Life Cycle Support 6

SRPM
sanlock-2.6-2.el6.src.rpm SHA-256: 47633933859129d9865f3f44729af05fa8be2277d6a8efeadc156c11e8e283f7
x86_64
fence-sanlock-2.6-2.el6.x86_64.rpm SHA-256: 7a8fbe0cdc4e781c8efa051755369c5297712d045900b1c61d1f0386e3524791
sanlock-2.6-2.el6.x86_64.rpm SHA-256: 118ad42d84f020d4ab72771a0287425e5c7e6a0538a2a447582aae43b29fe1e6
sanlock-debuginfo-2.6-2.el6.x86_64.rpm SHA-256: b6a3bd60509bf159edf788d5073a16111c2da884a1a5f31042c02f5b06ba51aa
sanlock-devel-2.6-2.el6.x86_64.rpm SHA-256: 122ad13db7d390dbdba56ed9f2f9cb635917033cead3917da2f0571f3e5b3869
sanlock-lib-2.6-2.el6.x86_64.rpm SHA-256: da3ef9f9e1f780fce35b75b39a67a2b8f140acf620aef970dd268dde23deeef9
sanlock-python-2.6-2.el6.x86_64.rpm SHA-256: c9859fdd2b4b72e7784c424f799372a1e0bd1ea29ecba730f369966168c932dd

Red Hat Enterprise Linux Workstation 6

SRPM
sanlock-2.6-2.el6.src.rpm SHA-256: 47633933859129d9865f3f44729af05fa8be2277d6a8efeadc156c11e8e283f7
x86_64
fence-sanlock-2.6-2.el6.x86_64.rpm SHA-256: 7a8fbe0cdc4e781c8efa051755369c5297712d045900b1c61d1f0386e3524791
sanlock-2.6-2.el6.x86_64.rpm SHA-256: 118ad42d84f020d4ab72771a0287425e5c7e6a0538a2a447582aae43b29fe1e6
sanlock-debuginfo-2.6-2.el6.x86_64.rpm SHA-256: b6a3bd60509bf159edf788d5073a16111c2da884a1a5f31042c02f5b06ba51aa
sanlock-devel-2.6-2.el6.x86_64.rpm SHA-256: 122ad13db7d390dbdba56ed9f2f9cb635917033cead3917da2f0571f3e5b3869
sanlock-lib-2.6-2.el6.x86_64.rpm SHA-256: da3ef9f9e1f780fce35b75b39a67a2b8f140acf620aef970dd268dde23deeef9
sanlock-python-2.6-2.el6.x86_64.rpm SHA-256: c9859fdd2b4b72e7784c424f799372a1e0bd1ea29ecba730f369966168c932dd

Red Hat Enterprise Linux Desktop 6

SRPM
sanlock-2.6-2.el6.src.rpm SHA-256: 47633933859129d9865f3f44729af05fa8be2277d6a8efeadc156c11e8e283f7
x86_64
fence-sanlock-2.6-2.el6.x86_64.rpm SHA-256: 7a8fbe0cdc4e781c8efa051755369c5297712d045900b1c61d1f0386e3524791
sanlock-2.6-2.el6.x86_64.rpm SHA-256: 118ad42d84f020d4ab72771a0287425e5c7e6a0538a2a447582aae43b29fe1e6
sanlock-debuginfo-2.6-2.el6.x86_64.rpm SHA-256: b6a3bd60509bf159edf788d5073a16111c2da884a1a5f31042c02f5b06ba51aa
sanlock-devel-2.6-2.el6.x86_64.rpm SHA-256: 122ad13db7d390dbdba56ed9f2f9cb635917033cead3917da2f0571f3e5b3869
sanlock-lib-2.6-2.el6.x86_64.rpm SHA-256: da3ef9f9e1f780fce35b75b39a67a2b8f140acf620aef970dd268dde23deeef9
sanlock-python-2.6-2.el6.x86_64.rpm SHA-256: c9859fdd2b4b72e7784c424f799372a1e0bd1ea29ecba730f369966168c932dd

Red Hat Enterprise Linux for Scientific Computing 6

SRPM
sanlock-2.6-2.el6.src.rpm SHA-256: 47633933859129d9865f3f44729af05fa8be2277d6a8efeadc156c11e8e283f7
x86_64
fence-sanlock-2.6-2.el6.x86_64.rpm SHA-256: 7a8fbe0cdc4e781c8efa051755369c5297712d045900b1c61d1f0386e3524791
sanlock-2.6-2.el6.x86_64.rpm SHA-256: 118ad42d84f020d4ab72771a0287425e5c7e6a0538a2a447582aae43b29fe1e6
sanlock-debuginfo-2.6-2.el6.x86_64.rpm SHA-256: b6a3bd60509bf159edf788d5073a16111c2da884a1a5f31042c02f5b06ba51aa
sanlock-devel-2.6-2.el6.x86_64.rpm SHA-256: 122ad13db7d390dbdba56ed9f2f9cb635917033cead3917da2f0571f3e5b3869
sanlock-lib-2.6-2.el6.x86_64.rpm SHA-256: da3ef9f9e1f780fce35b75b39a67a2b8f140acf620aef970dd268dde23deeef9
sanlock-python-2.6-2.el6.x86_64.rpm SHA-256: c9859fdd2b4b72e7784c424f799372a1e0bd1ea29ecba730f369966168c932dd

Red Hat Enterprise Linux Server from RHUI 6

SRPM
sanlock-2.6-2.el6.src.rpm SHA-256: 47633933859129d9865f3f44729af05fa8be2277d6a8efeadc156c11e8e283f7
x86_64
fence-sanlock-2.6-2.el6.x86_64.rpm SHA-256: 7a8fbe0cdc4e781c8efa051755369c5297712d045900b1c61d1f0386e3524791
sanlock-2.6-2.el6.x86_64.rpm SHA-256: 118ad42d84f020d4ab72771a0287425e5c7e6a0538a2a447582aae43b29fe1e6
sanlock-debuginfo-2.6-2.el6.x86_64.rpm SHA-256: b6a3bd60509bf159edf788d5073a16111c2da884a1a5f31042c02f5b06ba51aa
sanlock-devel-2.6-2.el6.x86_64.rpm SHA-256: 122ad13db7d390dbdba56ed9f2f9cb635917033cead3917da2f0571f3e5b3869
sanlock-lib-2.6-2.el6.x86_64.rpm SHA-256: da3ef9f9e1f780fce35b75b39a67a2b8f140acf620aef970dd268dde23deeef9
sanlock-python-2.6-2.el6.x86_64.rpm SHA-256: c9859fdd2b4b72e7784c424f799372a1e0bd1ea29ecba730f369966168c932dd

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6

SRPM
sanlock-2.6-2.el6.src.rpm SHA-256: 47633933859129d9865f3f44729af05fa8be2277d6a8efeadc156c11e8e283f7
x86_64
fence-sanlock-2.6-2.el6.x86_64.rpm SHA-256: 7a8fbe0cdc4e781c8efa051755369c5297712d045900b1c61d1f0386e3524791
sanlock-2.6-2.el6.x86_64.rpm SHA-256: 118ad42d84f020d4ab72771a0287425e5c7e6a0538a2a447582aae43b29fe1e6
sanlock-debuginfo-2.6-2.el6.x86_64.rpm SHA-256: b6a3bd60509bf159edf788d5073a16111c2da884a1a5f31042c02f5b06ba51aa
sanlock-devel-2.6-2.el6.x86_64.rpm SHA-256: 122ad13db7d390dbdba56ed9f2f9cb635917033cead3917da2f0571f3e5b3869
sanlock-lib-2.6-2.el6.x86_64.rpm SHA-256: da3ef9f9e1f780fce35b75b39a67a2b8f140acf620aef970dd268dde23deeef9
sanlock-python-2.6-2.el6.x86_64.rpm SHA-256: c9859fdd2b4b72e7784c424f799372a1e0bd1ea29ecba730f369966168c932dd

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility