Bugzilla – Attachment 1050 Details for
Bug 1144
Generated rc script for sshd forces non-existent shell.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Have configure check for the existence of /sbin/sh
opensshd.init-shell.patch (text/plain), 1.12 KB, created by
Darren Tucker
on 2006-01-12 18:44:14 AEDT
(
hide
)
Description:
Have configure check for the existence of /sbin/sh
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2006-01-12 18:44:14 AEDT
Size:
1.12 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v >retrieving revision 1.321 >diff -u -p -r1.321 configure.ac >--- configure.ac 1 Jan 2006 10:03:30 -0000 1.321 >+++ configure.ac 11 Jan 2006 12:57:58 -0000 >@@ -47,6 +47,11 @@ AC_PATH_PROG(PATH_GROUPADD_PROG, groupad > AC_PATH_PROG(PATH_USERADD_PROG, useradd, useradd, > [/usr/sbin${PATH_SEPARATOR}/etc]) > AC_CHECK_PROG(MAKE_PACKAGE_SUPPORTED, pkgmk, yes, no) >+if test -x /sbin/sh; then >+ AC_SUBST(STARTUP_SCRIPT_SHELL,/sbin/sh) >+else >+ AC_SUBST(STARTUP_SCRIPT_SHELL,/bin/sh) >+fi > > # System features > AC_SYS_LARGEFILE >Index: opensshd.init.in >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/opensshd.init.in,v >retrieving revision 1.1 >diff -u -p -r1.1 opensshd.init.in >--- opensshd.init.in 20 Jun 2004 02:31:06 -0000 1.1 >+++ opensshd.init.in 12 Jan 2006 07:23:04 -0000 >@@ -1,4 +1,4 @@ >-#!/sbin/sh >+#!@STARTUP_SCRIPT_SHELL@ > # Donated code that was put under PD license. > # > # Stripped PRNGd out of it for the time being.
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 1144
: 1050