All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kurt Roeckx <Q@ping.be>
To: selinux@tycho.nsa.gov
Subject: sshd problem.
Date: Sat, 5 Apr 2003 18:46:54 +0200	[thread overview]
Message-ID: <20030405164654.GA3200@ping.be> (raw)

If I run run_init /etc/init.d/ssh start it fails to start, even in
permissive mode.  I have no idea why it fails, I see nothing in
the logs.

If I run strace -f run_init /etc/init.d/ssh start, it starts
without problems, which currently seems to be the only way I can
make it start properly.

Note that it starts up properly when it boots.

I'm using Bryan May's version on debian woody.

run_init strace -f /etc/init.d/ssh start shows this at the end:

[pid  6267] fstat64(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) =
0
[pid  6267] read(0, "/etc/init.d/ssh: /usr/sbin/sshd:"..., 32768)
= 51
[pid  6267] read(0, "", 32768)          = 0
[pid  6267] close(1)                    = 0
[pid  6267] _exit(1)                    = ?
[pid  6265] <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s)
== 1], 0, NULL)
= 6267
[pid  6265] wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0,
NULL) = 6266
[pid  6265] rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0
[pid  6265] rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
[pid  6265] rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
[pid  6265] rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
[pid  6265] rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
[pid  6265] rt_sigaction(SIGINT, {0x807a900, [], SA_RESTORER,
0x400826b8}, {0x806e2f8, [], SA_RESTORER, 0x400826b8}, 8) = 0
[pid  6265] close(3)                    = -1 EBADF (Bad file
descriptor)
[pid  6265] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid  6265] --- SIGCHLD (Child exited) @ 0 (0) ---
[pid  6265] wait4(-1, 0xbffff620, WNOHANG, NULL) = -1 ECHILD (No
child processes)
[pid  6265] sigreturn()                 = ? (mask now [])
[pid  6265] _exit(1)                    = ?
<... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0,
NULL) = 6265
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbffff738, WNOHANG, NULL)    = -1 ECHILD (No child
processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x806e2f8, [], SA_RESTORER,
0x400826b8}, 8) = 0rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
_exit(0)                                = ?


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

             reply	other threads:[~2003-04-05 16:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-05 16:46 Kurt Roeckx [this message]
2003-04-05 21:40 ` sshd problem Russell Coker
2003-04-05 22:14   ` Kurt Roeckx
  -- strict thread matches above, loose matches on Subject: below --
2011-09-12  6:23 Russell Coker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030405164654.GA3200@ping.be \
    --to=q@ping.be \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.