bugzilla-daemon at mindrot.org
2006-Jan-11 18:42 UTC
[Bug 1144] Generated rc script for sshd forces non-existent shell.
http://bugzilla.mindrot.org/show_bug.cgi?id=1144 Summary: Generated rc script for sshd forces non-existent shell. Product: Portable OpenSSH Version: 4.2p1 Platform: ix86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: bitbucket at mindrot.org ReportedBy: david.levy at tiscali.co.uk I have just installed openssh on my Sun Cobalt Qube, running Linux. It is a Red Hat variant. The shell interpreter for the rc script forces /sbin/sh. This seems to be defined in opensshd.init.in. This shell does not exist on this implementation of Linux. I have written about this in (much more) detail at http://blogs.sun.com/roller/page/DaveLevy/20060104. NB This would seem to me to be a common problem but I havn't found any references in the archives. A simple check to see if there is /sbin/sh could be made and the first line of the script amended dependent on the result of the test. The copy statement, moving the generated script from the build directory to the installed directory may require to be managed by a similar test. The blog article above has code examples which I wrote and you are free to use. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Jan-12 07:44 UTC
[Bug 1144] Generated rc script for sshd forces non-existent shell.
http://bugzilla.mindrot.org/show_bug.cgi?id=1144 ------- Comment #1 from dtucker at zip.com.au 2006-01-12 18:44 ------- Created an attachment (id=1050) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1050&action=view) Have configure check for the existence of /sbin/sh Getting configure to check for this is easy provided you're doing native builds and not cross-compiling. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Jan-12 22:34 UTC
[Bug 1144] Generated rc script for sshd forces non-existent shell.
http://bugzilla.mindrot.org/show_bug.cgi?id=1144 ------- Comment #2 from tim at multitalents.net 2006-01-13 09:34 ------- The openssh.init startup script was never intended to work on all platforms. If you Cobalt Qube is a Red Hat variant, you may be better off with contrib/redhat/sshd.init That said, if Darren wants to commit the patch, It's OK by me. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Jan-29 13:23 UTC
[Bug 1144] Generated rc script for sshd forces non-existent shell.
http://bugzilla.mindrot.org/show_bug.cgi?id=1144 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from dtucker at zip.com.au 2006-01-30 00:23 ------- Patch applied, thanks. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.