Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/notify-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
}

- name: Send issue comments notification to Slack
if: github.event_name == 'issue_comment' && !github.event.issue.pull_request
if: github.event_name == 'issue_comment' && !github.event.issue.pull_request
uses: slackapi/slack-github-action@v2.1.1
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG-3.x.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v3.1.1
- Update proxy connection scaling logic
- Fix IndexError in get_system_release_version on SUSE SLES 16

# v3.1.0
- Enable readahead caching in proxy for bypassed reads
- Clean up warnings in proxy
Expand Down
18 changes: 14 additions & 4 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ This guide provides detailed instructions for building `efs-utils` from source o

## Build Prerequisites

Building efs-utils v2.0+ requires the following dependencies:
Building efs-utils v3.0+ requires the following dependencies:

* `rust` 1.70+
* `rust` 1.91.1+
* `cargo`
* `go` 1.17.13+
* `perl`
Expand Down Expand Up @@ -166,6 +166,16 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
```

### `make rpm` fails due to "rustc X.X.X is not supported by the following packages" ###

Your system Rust is older than 1.91.1. Remove the system Rust, install via rustup, and build with `make rpm-without-system-rust`:
```bash
sudo yum remove -y cargo rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
make rpm-without-system-rust
```

### You installed a new version of rust with the above command, but your system is still using the rust installed by the package manager ###

When installing rust with the rustup script above, the script will fail if it detects a rust already exists on the system.
Expand Down Expand Up @@ -198,8 +208,8 @@ If rust dependencies was installed using rustup and the package manager does not

```
error: Failed build dependencies:
cargo is needed by amazon-efs-utils-2.1.0-1.el7_9.x86_64
rust is needed by amazon-efs-utils-2.1.0-1.el7_9.x86_64
cargo is needed by amazon-efs-utils-3.1.0-1.el8.x86_64
rust is needed by amazon-efs-utils-3.1.0-1.el8.x86_64
```

In this case, the 'make rpm' command in the installation script above should be replaced by 'make rpm-without-system-rust' to remove the rpmbuild dependency check.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ You can use AWS Systems Manager Distributor to automatically install or update `

### Other Linux Distributions

Building from source requires Rust 1.70+, Cargo, Go 1.17.13+, CMake 3.0+, GCC/G++, and Perl. See [INSTALL.md](INSTALL.md) for detailed build instructions for your distribution.
Building from source requires Rust 1.91.1+, Cargo, Go 1.17.13+, CMake 3.0+, GCC/G++, and Perl. See [INSTALL.md](INSTALL.md) for detailed build instructions for your distribution.

### For macOS Tahoe, Sequoia, Sonoma, and Ventura distributions

Expand Down Expand Up @@ -283,7 +283,7 @@ Make sure to re run the failed mount again after running the prior commands befo
# Upgrading Efs-utils Versions

### Upgrading efs-utils from v1 to v2
Efs-utils v2.0.0 replaces stunnel, which provides TLS encryptions for mounts, with efs-proxy an AWS built component built. Efs-proxy is the primary the foundation for all new feature support for EFS. To receive the performance benefits of efs-proxy, you need to re-mount any existing mounts. Note: Efs-proxy is not compatible with OCSP or Mac clients. In these cases, efs-utils will automatically revert back to using stunnel. If you build efs-utils v2.0.0 from source Rust and Cargo are required for versions 1.70+.
Efs-utils v2.0.0 replaces stunnel, which provides TLS encryptions for mounts, with efs-proxy an AWS built component built. Efs-proxy is the primary the foundation for all new feature support for EFS. To receive the performance benefits of efs-proxy, you need to re-mount any existing mounts. Note: Efs-proxy is not compatible with OCSP or Mac clients. In these cases, efs-utils will automatically revert back to using stunnel.

### Upgrading from efs-utils v2 to v3
Efs-utils v3.0.0 adds support for S3 Files. There are no breaking changes upgrading from v2 to v3.0.0.
Expand Down
6 changes: 5 additions & 1 deletion amazon-efs-utils.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
%{?!include_vendor_tarball:%define include_vendor_tarball true}

Name : amazon-efs-utils
Version : 3.1.0
Version : 3.1.1
Release : 1%{platform}
Summary : This package provides utilities for simplifying the use of EFS file systems

Expand Down Expand Up @@ -215,6 +215,10 @@ fi
%clean

%changelog
* Mon Apr 27 2026 Zachary Maguire <maguirza@amazon.com> - 3.1.1
- Update proxy connection scaling logic
- Fix IndexError in get_system_release_version on SUSE SLES 16

* Fri Apr 17 2026 Samuel Hale <samuhale@amazon.com> - 3.1.0
- Enable readahead caching in proxy for bypassed reads
- Clean up warnings in proxy
Expand Down
2 changes: 1 addition & 1 deletion build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -ex

BASE_DIR=$(pwd)
BUILD_ROOT=${BASE_DIR}/build/debbuild
VERSION=3.1.0
VERSION=3.1.1
RELEASE=1
ARCH=$(dpkg --print-architecture)
DEB_SYSTEM_RELEASE_PATH=/etc/os-release
Expand Down
2 changes: 1 addition & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
#

[global]
version=3.1.0
version=3.1.1
release=1
2 changes: 1 addition & 1 deletion src/efs_utils_common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import pwd
import re

VERSION = "3.1.0"
VERSION = "3.1.1"

AMAZON_LINUX_2_RELEASE_ID = "Amazon Linux release 2 (Karoo)"
AMAZON_LINUX_2_PRETTY_NAME = "Amazon Linux 2"
Expand Down
6 changes: 4 additions & 2 deletions src/efs_utils_common/platform_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ def get_system_release_version():
try:
with open(OS_RELEASE_PATH) as f:
for line in f:
if "PRETTY_NAME" in line:
return line.split("=")[1].strip()
line = line.strip()
if line.startswith("PRETTY_NAME="):
value = line.split("=", 1)[1].strip()
return value.strip('"').strip("'")
except IOError:
logging.debug("Unable to read %s", OS_RELEASE_PATH)

Expand Down
Loading
Loading