beaker-docker 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b71f56e85f3587c0e5a206f50e0076dc720ee1439190ff174106433042702df
4
- data.tar.gz: 6ecc500404ea4ffb79d4e25ad3eaea8dab76dbba20551eae2f48872c638ed44c
3
+ metadata.gz: 663845682645f35c699e62cb65407975264952a259b7f80c962130d63750ec5c
4
+ data.tar.gz: d841fc687d1e0b2478d0145aea14149595b37c015b048fb4e6f4eb7f41e70f21
5
5
  SHA512:
6
- metadata.gz: c3382b63801a0a3ecaa409337ac240e8b9565892120a2e62285a7436047fae856384476b6d9427cf4ebbbe96b7470bec360d42d6cb765cffcbefe1adce210821
7
- data.tar.gz: a70861121d80a3e16b1abadf7b03ef1925a04ad8d87c6dfe71abd8e19e0e335ab44ebc16f8c24fba2d2ec483dcbea7681ffcfb303b67a0aca4f0ab717b7390a7
6
+ metadata.gz: 8fe5794c4c016d120c4ea55f2ee9ae6371be415664a727e1e48bebd61ffe7f79fed7563b15c694b77151e890c056273cd1d1ec1003191bfe1094c91ba5676616
7
+ data.tar.gz: 1f39d9e2c41d9eb34188cef8ca0942478f1cf7fbf32404d7f25e6461cdfadc21dba7d110288458dfd2d5fe1615a084643c9b846b57332b5f27f131677573f64e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.5.1](https://github.com/voxpupuli/beaker-docker/tree/2.5.1) (2024-11-20)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/beaker-docker/compare/2.5.0...2.5.1)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Update sshd configuration \(UsePAM no, sshd\_config.d\) [\#148](https://github.com/voxpupuli/beaker-docker/pull/148) ([jay7x](https://github.com/jay7x))
10
+
3
11
  ## [2.5.0](https://github.com/voxpupuli/beaker-docker/tree/2.5.0) (2024-09-20)
4
12
 
5
13
  [Full Changelog](https://github.com/voxpupuli/beaker-docker/compare/2.4.0...2.5.0)
@@ -525,7 +525,6 @@ module Beaker
525
525
  dockerfile += <<~DF
526
526
  RUN zypper -n in openssh #{additional_packages.join(' ')} \
527
527
  && ssh-keygen -A \
528
- && sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config \
529
528
  && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/*
530
529
  DF
531
530
  when /archlinux/
@@ -534,7 +533,6 @@ module Beaker
534
533
  && pacman --sync --refresh --noconfirm --sysupgrade \
535
534
  && pacman --sync --noconfirm #{additional_packages.join(' ')} \
536
535
  && ssh-keygen -A \
537
- && sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config \
538
536
  && systemctl enable sshd
539
537
  DF
540
538
  else
@@ -552,13 +550,15 @@ module Beaker
552
550
  # Also, disable reverse DNS lookups to prevent every. single. ssh
553
551
  # operation taking 30 seconds while the lookup times out.
554
552
  # Also unbreak users with a bunch of SSH keys loaded in their keyring.
553
+ # Also unbreak CentOS9 & Fedora containers on Ubuntu 24.04 host (UsePAM no)
555
554
  dockerfile += <<~DF
556
- RUN sed -ri \
555
+ RUN find /etc/ssh/sshd_config /etc/ssh/sshd_config.d/ -type f -exec sed -ri \
557
556
  -e 's/^#?PermitRootLogin .*/PermitRootLogin yes/' \
558
557
  -e 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' \
559
558
  -e 's/^#?UseDNS .*/UseDNS no/' \
559
+ -e 's/^#?UsePAM .*/UsePAM no/' \
560
560
  -e 's/^#?MaxAuthTries.*/MaxAuthTries 1000/' \
561
- /etc/ssh/sshd_config
561
+ {} \\;
562
562
  DF
563
563
 
564
564
  # Any extra commands specified for the host
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BeakerDocker
4
- VERSION = '2.5.0'
4
+ VERSION = '2.5.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2024-09-20 00:00:00.000000000 Z
14
+ date: 2024-11-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: fakefs
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.5.16
183
+ rubygems_version: 3.5.22
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Docker hypervisor for Beaker acceptance testing framework