summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/openssh-server.postinst2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 099cd254b..c9b5dadc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ openssh (1:6.2p2-4) UNRELEASED; urgency=low
3 * Fix non-portable shell in ssh-copy-id (closes: #711162). 3 * Fix non-portable shell in ssh-copy-id (closes: #711162).
4 * Rebuild against debhelper 9.20130604 with fixed dependencies for 4 * Rebuild against debhelper 9.20130604 with fixed dependencies for
5 invoke-rc.d and Upstart jobs (closes: #711364). 5 invoke-rc.d and Upstart jobs (closes: #711364).
6 * Set SELinux context on private host keys as well as public host keys
7 (closes: #687436).
6 8
7 -- Colin Watson <cjwatson@debian.org> Fri, 31 May 2013 16:20:49 +0100 9 -- Colin Watson <cjwatson@debian.org> Fri, 31 May 2013 16:20:49 +0100
8 10
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 087a7125e..bec99f746 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -102,7 +102,7 @@ create_key() {
102 ssh-keygen -q -f "$file" -N '' "$@" 102 ssh-keygen -q -f "$file" -N '' "$@"
103 echo 103 echo
104 if which restorecon >/dev/null 2>&1; then 104 if which restorecon >/dev/null 2>&1; then
105 restorecon "$file.pub" 105 restorecon "$file" "$file.pub"
106 fi 106 fi
107 fi 107 fi
108} 108}