diff --git a/cloud-init.spec b/cloud-init.spec index 6fe2d154f5ed58000ad6919227b067ef4283a7d8..97acc4bf9effc8754481c627bdd511001c640c43 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -1,6 +1,6 @@ Name: cloud-init Version: 23.2.2 -Release: 1 +Release: 2 Summary: the defacto multi-distribution package that handles early initialization of a cloud instance. License: ASL 2.0 or GPLv3 URL: http://launchpad.net/cloud-init @@ -119,6 +119,12 @@ fi %exclude /usr/share/doc/* %changelog +* Mon Aug 07 2023 shixuantong - 23.2.2-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:remove unused patch + * Thu Aug 03 2023 shixuantong - 23.2.2-1 - Type:enhancement - ID:NA diff --git a/fix-permission-of-the-private-key.patch b/fix-permission-of-the-private-key.patch deleted file mode 100644 index 8f0cb23b7b72c623c51d80655fa9a049f852bfd3..0000000000000000000000000000000000000000 --- a/fix-permission-of-the-private-key.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ef18ff5a437e9abe91c81289157a4e846169736a Mon Sep 17 00:00:00 2001 -From: shixuantong -Date: Tue, 14 Mar 2023 07:38:03 +0000 -Subject: [PATCH] fix permission of the private key - ---- - cloudinit/config/cc_ssh.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/cloudinit/config/cc_ssh.py b/cloudinit/config/cc_ssh.py -index 6210627..bc4a158 100644 ---- a/cloudinit/config/cc_ssh.py -+++ b/cloudinit/config/cc_ssh.py -@@ -274,7 +274,7 @@ def handle(_name, cfg, cloud: Cloud, log: Logger, _args): - if gid != -1: - # perform same "sanitize permissions" as sshd-keygen - os.chown(keyfile, -1, gid) -- os.chmod(keyfile, 0o640) -+ os.chmod(keyfile, 0o600) - os.chmod(keyfile + ".pub", 0o644) - except subp.ProcessExecutionError as e: - err = util.decode_binary(e.stderr).lower() --- -2.39.1 -