Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 574231 Details for
Bug 808778
cloud-init sshutil fails with Fedora's default sshd_config
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
git-formatted patch
0001-Fixed-incorrect-interpretation-of-relative-path-for.patch (text/plain), 2.51 KB, created by
Andy Grimm
on 2012-03-31 19:57:45 UTC
(
hide
)
Description:
git-formatted patch
Filename:
MIME Type:
Creator:
Andy Grimm
Created:
2012-03-31 19:57:45 UTC
Size:
2.51 KB
patch
obsolete
>From 83d60c4decd690f1f3c0c10fc722fb3d3e84d761 Mon Sep 17 00:00:00 2001 >From: Andy Grimm <agrimm@gmail.com> >Date: Sat, 31 Mar 2012 15:54:53 -0400 >Subject: [PATCH] Fixed incorrect interpretation of relative path for > AuthorizedKeysFile (BZ #735521) > >--- > cloud-init-0.6.3-lp970071.patch | 11 +++++++++++ > cloud-init.spec | 9 ++++++++- > 2 files changed, 19 insertions(+), 1 deletions(-) > create mode 100644 cloud-init-0.6.3-lp970071.patch > >diff --git a/cloud-init-0.6.3-lp970071.patch b/cloud-init-0.6.3-lp970071.patch >new file mode 100644 >index 0000000..0fe9376 >--- /dev/null >+++ b/cloud-init-0.6.3-lp970071.patch >@@ -0,0 +1,11 @@ >+--- cloud-init-0.6.3-bzr532.orig/cloudinit/SshUtil.py 2012-03-05 14:05:34.000000000 -0500 >++++ cloud-init-0.6.3-bzr532/cloudinit/SshUtil.py 2012-03-31 15:21:30.365271359 -0400 >+@@ -155,6 +155,8 @@ >+ akeys = ssh_cfg.get("AuthorizedKeysFile", "%h/.ssh/authorized_keys") >+ akeys = akeys.replace("%h", pwent.pw_dir) >+ akeys = akeys.replace("%u", user) >++ if not akeys.startswith('/'): >++ akeys = os.path.join(pwent.pw_dir, akeys) >+ authorized_keys = akeys >+ except Exception: >+ authorized_keys = '%s/.ssh/authorized_keys' % pwent.pw_dir >diff --git a/cloud-init.spec b/cloud-init.spec >index 585db44..bf19af3 100644 >--- a/cloud-init.spec >+++ b/cloud-init.spec >@@ -2,7 +2,7 @@ > > Name: cloud-init > Version: 0.6.3 >-Release: 0.1.bzr532%{?dist} >+Release: 0.2.bzr532%{?dist} > Summary: Cloud instance init scripts > > Group: System Environment/Base >@@ -16,6 +16,8 @@ Patch0: cloud-init-0.6.3-fedora.patch > # Make runparts() work on Fedora > # https://bugs.launchpad.net/cloud-init/+bug/934404 > Patch1: cloud-init-0.6.3-no-runparts.patch >+# https://bugs.launchpad.net/cloud-init/+bug/970071 >+Patch2: cloud-init-0.6.3-lp970071.patch > > BuildArch: noarch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) >@@ -50,6 +52,7 @@ ssh keys and to let the user run various scripts. > %setup -q -n %{name}-%{version}-bzr532 > %patch0 -p0 > %patch1 -p0 >+%patch2 -p1 > > cp -p %{SOURCE2} README.fedora > >@@ -131,6 +134,10 @@ fi > > > %changelog >+* Sat Mar 31 2012 Andy Grimm <agrimm@gmail.com> - 0.6.3-0.2.bzr532 >+- Fixed incorrect interpretation of relative path for >+ AuthorizedKeysFile (BZ #735521) >+ > * Mon Mar 5 2012 Garrett Holmstrom <gholms@fedoraproject.org> - 0.6.3-0.1.bzr532 > - Rebased against upstream rev 532 > - Fixed runparts() incompatibility with Fedora >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 808778
: 574231