From 9aabc24bfa35829246117f437172786bdba17fc1 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 31 Oct 2012 13:48:07 +0100 Subject: [PATCH] cleanups, bump version to 1.0-30 --- Makefile | 2 +- data/PVE/Cluster.pm | 6 +++--- debian/changelog | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2d5cd81..9c785f5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.2 PACKAGE=pve-cluster PKGVER=1.0 -PKGREL=29 +PKGREL=30 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index 9f251ba..3387fc8 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -1035,10 +1035,10 @@ sub setup_rootsshconfig { # create ssh config if it does not exist if (! -f $rootsshconfig) { - mkdir '/root/.ssh' if ( !-e '/root/.ssh' ); - if (my $fh = IO::File->new ($rootsshconfig, O_CREAT|O_WRONLY|O_EXCL, 0640)) { + mkdir '/root/.ssh'; + if (my $fh = IO::File->new($rootsshconfig, O_CREAT|O_WRONLY|O_EXCL, 0640)) { # this is the default ciphers list from debian openssl0.9.8 except blowfish is added as prefered - print $fh "Ciphers blowfish,aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc\n"; + print $fh "Ciphers blowfish-cbc,aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc\n"; close($fh); } } diff --git a/debian/changelog b/debian/changelog index 5b043e8..19b85a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-cluster (1.0-30) unstable; urgency=low + + * create /root/.ssh/config and set default Chiphers + + -- Proxmox Support Team Wed, 31 Oct 2012 13:47:17 +0100 + pve-cluster (1.0-29) unstable; urgency=low * fix caching problems in create_rrd_graph (do not save any data to files) -- 2.39.5