[SM-Grimoire-Bugs] [Bug 14606] New: in openssh, if sshd script is disabled, restart function doesn't work

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Fri Jul 25 17:08:17 EDT 2008


http://bugs.sourcemage.org/show_bug.cgi?id=14606

           Summary: in openssh, if sshd script is disabled, restart function
                    doesn't work
           Product: Codex
           Version: test grimoire
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: crypto
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: julien at rozo.org


While casting openssh, I installed sshd init script, but didn't enabled it.

If I do "telinit run sshd {start,stop}", it works flawlessly.

But if I run a "telinit run sshd restart", the script exits with this error :

sshd: Reloading sshd...
/etc/init.d/runlevels/%3/sshd: line 30: /etc/init.d/runlevels/%3/sshd:
Permission non accordée

which means the script is not executable.

Line 30 calls "$0 start" : maybe the way the script calls itself in restart
function needs to be reworked.


Doing a "chmod +x /etc/init.d/runlevels/%3/sshd" solves the problem.


-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the SM-Grimoire-Bugs mailing list