integ/kubernetes/docker-distribution/debian/deb_patches/0002-no-gecos.patch
Karla Felix c007315764 Upversion docker-distribution to v2.8.2+ds1-1
Upversioning docker-distribution to v2.8.2+ds1-1 to be able to block
TLS1.0, TLS1.1 in registry-distribution.

Test Plan:

PASS: $downloader.
PASS: $build-pkgs docker-distribution --clean.
PASS: $build-image.
PASS: List docker-distribution package installed with apt list |
      grep docker.
PASS: Verify if ports 9001 and 9002 are blocking tls1.0, 1.1 and
      1.2 with nmap.

Closes-Bug: 2043217

Change-Id: Id0fc5f8794af54fc4b87b9cab6cec8b454775410
Signed-off-by: Karla Felix <karla.karolinenogueirafelix@windriver.com>
2023-11-10 12:44:09 -03:00

30 lines
818 B
Diff

From 166ccc11c71ce7d68073e4231c6423a8eae9c1c2 Mon Sep 17 00:00:00 2001
From: Karla Felix <karla.karolinenogueirafelix@windriver.com>
Date: Wed, 18 Oct 2023 19:32:16 -0300
Subject: [PATCH] Do not set gecos when creating user
Remove the gecos creation since it causes issue while running
debootstrap.
Signed-off-by: Charles Short <charles.short@windriver.com>
---
---
debian/docker-registry.postinst | 1 -
1 file changed, 1 deletion(-)
diff --git a/debian/docker-registry.postinst b/debian/docker-registry.postinst
index d179197..d6a93ba 100755
--- a/debian/docker-registry.postinst
+++ b/debian/docker-registry.postinst
@@ -7,7 +7,6 @@ if [ "$1" = 'configure' ]; then
--home /var/lib/docker-registry \
--no-create-home \
--group \
- --gecos 'Docker Registry' \
docker-registry
fi
--
2.25.1