FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 10-22-2010, 06:36 PM
Chris Lumens
 
Default Don't hardcode the sshd location, either.

---
anaconda | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/anaconda b/anaconda
index b48310f..d3c65a2 100755
--- a/anaconda
+++ b/anaconda
@@ -450,8 +450,9 @@ def startSsh():
}
for (algorithm, keyfile) in ssh_keys.items():
createSshKey(algorithm, keyfile)
- args = ["/sbin/sshd", "-f", "/etc/ssh/sshd_config.anaconda"]
- os.execv("/sbin/sshd", args)
+ sshd = iutil.find_program_in_path("sshd")
+ args = [sshd, "-f", "/etc/ssh/sshd_config.anaconda"]
+ os.execv(sshd, args)
sys.exit(1)

def startDebugger(signum, frame):
--
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 10-22-2010, 08:47 PM
"Brian C. Lane"
 
Default Don't hardcode the sshd location, either.

On Fri, Oct 22, 2010 at 02:36:30PM -0400, Chris Lumens wrote:
> ---
> anaconda | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>

Ack.

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org