beaker-docker 2.5.0 → 2.5.2

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: 82823ad6e679cad61ab1d52376b78634922b2149055056d75125a71e093762ec
4
+ data.tar.gz: c0e4f5b31548257c779695f668a8767667cad41bba9fdfcdbcf9d1460e6c5193
5
5
  SHA512:
6
- metadata.gz: c3382b63801a0a3ecaa409337ac240e8b9565892120a2e62285a7436047fae856384476b6d9427cf4ebbbe96b7470bec360d42d6cb765cffcbefe1adce210821
7
- data.tar.gz: a70861121d80a3e16b1abadf7b03ef1925a04ad8d87c6dfe71abd8e19e0e335ab44ebc16f8c24fba2d2ec483dcbea7681ffcfb303b67a0aca4f0ab717b7390a7
6
+ metadata.gz: af7de02b2bc2f54ea0708456d01a7a8e5db8fc64bee54d932e2b164485835a85839362f2a35ccb0777364323b1b0e24a56016df24bb3add9b57d9bbd2aec5062
7
+ data.tar.gz: bdacfcb2253789650ad0f6b50864da91900c61404ad03cfb1540484ccdc3c962614eb79ff5d8631f9bf8a54d7241416ed18ac3f8f7aec70162466b1465d46f7d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.5.2](https://github.com/voxpupuli/beaker-docker/tree/2.5.2) (2024-11-20)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/beaker-docker/compare/2.5.1...2.5.2)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - fix: ignore /etc/ssh/sshd\_config.d/\* if files are not present [\#152](https://github.com/voxpupuli/beaker-docker/pull/152) ([vchepkov](https://github.com/vchepkov))
10
+
11
+ ## [2.5.1](https://github.com/voxpupuli/beaker-docker/tree/2.5.1) (2024-11-20)
12
+
13
+ [Full Changelog](https://github.com/voxpupuli/beaker-docker/compare/2.5.0...2.5.1)
14
+
15
+ **Fixed bugs:**
16
+
17
+ - Update sshd configuration \(UsePAM no, sshd\_config.d\) [\#148](https://github.com/voxpupuli/beaker-docker/pull/148) ([jay7x](https://github.com/jay7x))
18
+
3
19
  ## [2.5.0](https://github.com/voxpupuli/beaker-docker/tree/2.5.0) (2024-09-20)
4
20
 
5
21
  [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
555
  RUN 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
+ /etc/ssh/sshd_config $(compgen -G '/etc/ssh/sshd_config.d/*' || echo '')
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.2'
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.2
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