lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 8 Nov 2012 16:54:37 -0800
From:	Vincent Li <vincent.mc.li@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: ubuntu 10.04 with kernel 3.7.0-rc4 cause ssh fail to start

Hi,

I am running ubuntu 10.04  with most recent kernel based on this link
https://wiki.ubuntu.com/KernelTeam/GitKernelBuild. I had experienced a
strange issue that with 3.7.0-rc4. the ssh service fail to start, but
with 3.6.0 kernel, ssh service startup fine. I did 'strace -tt -f -o
<output>  service start ssh'  the difference here:

3.7.0-rc4 strace:

1868  16:45:06.047289 writev(3,
[{"l\1\2\1\10\0\0\0\2\0\0\0i\0\0\0\1\1o\0\34\0\0\0/com/ubu"..., 128},
{"\0\0\0\0\1\0\0\0", 8}], 2) = 136
1868  16:45:06.047441 poll([{fd=3, events=POLLIN}], 1, -1) = 1
([{fd=3, revents=POLLIN}])
1868  16:45:06.047742 read(3,
"l\4\1\1#\0\0\0\2\0\0\0o\0\0\0\1\1o\0\34\0\0\0/com/ubu"..., 2048) =
163
1868  16:45:06.047892 read(3, 0xb92eb050, 2048) = -1 EAGAIN (Resource
temporarily unavailable)
1868  16:45:06.047985 gettimeofday({1352421906, 48023}, NULL) = 0
1868  16:45:06.048083 poll([{fd=3, events=POLLIN}], 1, 2078517183) = 1
([{fd=3, revents=POLLIN}])
1868  16:45:06.048984 read(3,
"l\3\1\1\30\0\0\0\3\0\0\0?\0\0\0\4\1s\0%\0\0\0com.ubun"..., 2048) =
104
1868  16:45:06.049121 read(3, 0xb92eb050, 2048) = -1 EAGAIN (Resource
temporarily unavailable)
1868  16:45:06.049319 write(2, "start: Job failed to start\n", 27) = 27
1868  16:45:06.049514 close(3)          = 0
1868  16:45:06.049837 exit_group(1)     = ?



3.6.0 strace:

2125  16:41:09.150074 writev(3,
[{"l\1\2\1\10\0\0\0\2\0\0\0i\0\0\0\1\1o\0\34\0\0\0/com/ubu"..., 128},
{"\0\0\0\0\1\0\0\0", 8}], 2) = 136
2125  16:41:09.150224 poll([{fd=3, events=POLLIN}], 1, -1) = 1
([{fd=3, revents=POLLIN}])
2125  16:41:09.150527 read(3,
"l\4\1\1#\0\0\0\2\0\0\0o\0\0\0\1\1o\0\34\0\0\0/com/ubu"..., 2048) =
163
2125  16:41:09.150671 read(3, 0xb9302050, 2048) = -1 EAGAIN (Resource
temporarily unavailable)
2125  16:41:09.150760 gettimeofday({1352421669, 150798}, NULL) = 0
2125  16:41:09.150857 poll([{fd=3, events=POLLIN}], 1, -2122005215) =
1 ([{fd=3, revents=POLLIN}])
2125  16:41:09.155263 read(3,
"l\2\1\1#\0\0\0\3\0\0\0\17\0\0\0\5\1u\0\2\0\0\0\10\1g\0\1o\0\0"...,
2048) = 67
2125  16:41:09.155456 read(3, 0xb9302050, 2048) = -1 EAGAIN (Resource
temporarily unavailable)
2125  16:41:09.155716 writev(3,
[{"l\1\2\1)\0\0\0\3\0\0\0h\0\0\0\1\1o\0\34\0\0\0/com/ubu"..., 120},
{"\31\0\0\0com.ubuntu.Upstart0_6.Job\0\0\0"..., 41}], 2) = 161
2125  16:41:09.156108 gettimeofday({1352421669, 156142}, NULL) = 0
2125  16:41:09.156199 poll([{fd=3, events=POLLIN}], 1, 25000) = 1
([{fd=3, revents=POLLIN}])
2125  16:41:09.156308 read(3,
"l\2\1\1\f\0\0\0\4\0\0\0\17\0\0\0\5\1u\0\3\0\0\0\10\1g\0\1v\0\0"...,
2048) = 44
2125  16:41:09.156465 read(3, 0xb9302050, 2048) = -1 EAGAIN (Resource
temporarily unavailable)
2125  16:41:09.156641 writev(3,
[{"l\1\2\1#\0\0\0\4\0\0\0g\0\0\0\1\1o\0\36\0\0\0/com/ubu"..., 120},
{"\36\0\0\0com.ubuntu.Upstart0_6.Instan"..., 35}], 2) = 155
2125  16:41:09.157043 gettimeofday({1352421669, 157080}, NULL) = 0
2125  16:41:09.157144 poll([{fd=3, events=POLLIN}], 1, 25000) = 1
([{fd=3, revents=POLLIN}])
2125  16:41:09.157258 read(3,
"l\2\1\1\210\0\0\0\5\0\0\0\23\0\0\0\5\1u\0\4\0\0\0\10\1g\0\5a{s"...,
2048) = 176
2125  16:41:09.157412 read(3, 0xb9302050, 2048) = -1 EAGAIN (Resource
temporarily unavailable)
2125  16:41:09.157564 fstat64(1, {st_mode=S_IFCHR|0600,
st_rdev=makedev(136, 0), ...}) = 0
2125  16:41:09.157739 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73d8000
2125  16:41:09.157834 write(1, "ssh start/running, process 2131\n", 32) = 32
2125  16:41:09.158004 close(3)          = 0
2125  16:41:09.158410 exit_group(0)     = ?

I attached the kernel config and full strace log, is there anything
else I can provide to help diagnosis the issue?

Thanks

Vincent

View attachment "config-3.6.0-sshissue.txt" of type "text/plain" (100019 bytes)

Download attachment "config-3.7.0-rc1-sshissue" of type "application/octet-stream" (135848 bytes)

View attachment "ssh-strace-3.6.0.txt" of type "text/plain" (42962 bytes)

View attachment "ssh-strace-3.7.0-rc4.txt" of type "text/plain" (41693 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ