From 4bc176656a7443a4549bf509a43d9d8990d52cb4 Mon Sep 17 00:00:00 2001 From: Dragonish Date: Mon, 23 Nov 2026 12:33:35 +0000 Subject: [PATCH] chore(release): 1.10.2 Patch release for the systemd_hardening socket handling (#308, #314). Assisted-by: Claude Code --- CHANGELOG.rst | 8 ++++++++ README.md | 4 ++-- changelogs/.plugin-cache.yaml | 2 +- changelogs/changelog.yaml | 14 ++++++++++++++ changelogs/fragments/systemd-hardening-sockets.yml | 8 -------- galaxy.yml | 2 +- 6 files changed, 26 insertions(+), 12 deletions(-) delete mode 100644 changelogs/fragments/systemd-hardening-sockets.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5575930..744a3b1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,14 @@ mortis.kamino Release Notes .. contents:: Topics +v1.10.2 +======= + +Bugfixes +-------- + +- systemd_hardening - Disable and mask the socket of a listed service as well. A service whose socket stayed active was started again by the next connection to its port (``rpcbind`` listens on port 111 through ``rpcbind.socket``). Every name in the disable and mask lists is now looked up as a socket and as a service, with or without a ``.service`` or ``.socket`` suffix, and each installed unit is acted on, the socket first. A socket that belongs to a listed name, such as ``rpcbind.socket``, is now stopped and disabled, or masked, where before it was left alone. + v1.10.1 ======= diff --git a/README.md b/README.md index 8dbc6a2..bf60979 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ An Ansible Collection of reusable, hardened roles for a self-hosted home lab: Linux baseline, firewall, SSH, user management and, in later releases, Proxmox, Gitea and Gitea Actions runner roles. -Status: roles arrive in waves. Release 1.10.1 holds the `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `gitea`, `gitea_runner` and `traefik` call). +Status: roles arrive in waves. Release 1.10.2 holds the `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `gitea`, `gitea_runner` and `traefik` call). ## Consuming @@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.`: collections: - name: https://git.rkdr.net/mortis/kamino.git type: git - version: v1.10.1 + version: v1.10.2 ``` Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index b3b84d4..ae04be7 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -66,4 +66,4 @@ plugins: strategy: {} test: {} vars: {} -version: 1.10.1 +version: 1.10.2 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 3691ae3..b8b6a4f 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -71,6 +71,20 @@ releases: fragments: - systemd-hardening-unit-lookup.yml release_date: '2026-11-23' + 1.10.2: + changes: + bugfixes: + - systemd_hardening - Disable and mask the socket of a listed service as well. + A service whose socket stayed active was started again by the next connection + to its port (``rpcbind`` listens on port 111 through ``rpcbind.socket``). + Every name in the disable and mask lists is now looked up as a socket and + as a service, with or without a ``.service`` or ``.socket`` suffix, and each + installed unit is acted on, the socket first. A socket that belongs to a listed + name, such as ``rpcbind.socket``, is now stopped and disabled, or masked, + where before it was left alone. + fragments: + - systemd-hardening-sockets.yml + release_date: '2026-11-23' 1.2.0: changes: minor_changes: diff --git a/changelogs/fragments/systemd-hardening-sockets.yml b/changelogs/fragments/systemd-hardening-sockets.yml deleted file mode 100644 index 3d68944..0000000 --- a/changelogs/fragments/systemd-hardening-sockets.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -bugfixes: - - >- - systemd_hardening - Disable and mask the socket of a listed service as well. A service whose socket stayed active was started again by - the next connection to its port (``rpcbind`` listens on port 111 through ``rpcbind.socket``). Every name in the disable and mask lists - is now looked up as a socket and as a service, with or without a ``.service`` or ``.socket`` suffix, and each installed unit is acted - on, the socket first. A socket that belongs to a listed name, such as ``rpcbind.socket``, is now stopped and disabled, or masked, - where before it was left alone. diff --git a/galaxy.yml b/galaxy.yml index f89ac74..a01c9f7 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: mortis name: kamino -version: 1.10.1 +version: 1.10.2 readme: README.md authors: - Defame1297