[Bug 293000] Re: hardy: openssh-server oom_adj can lead to denial of service

2010-03-06 Thread Karsten Suehring
Colin, thanks for the reply. Maybe I got a wrong impression ;-)

After seeing the issue show up again and again over the last two years,
my suggestion would be to change the oom_adj patch itself to set the
child oom_adj value always to zero, independent of the value that it was
called with.

I understand that the current behavior gives more freedom, but it's not
obvious enough, how it works. Basically in the current implementation
every caller needs to be aware of it's own oom_adj value which means
there is some logic required before starting sshd. We can probably never
be sure that the author of every startup script knows what to do. I've
seen the problem in Jaunty where a network startup script had oom_adj
equal to -17 which was not reset (bug #390556) and now even you made the
mistake.

I also cannot imagine any reasons why somebody would need a sshd child
oom_adj value different than zero.

-- 
hardy: openssh-server oom_adj can lead to denial of service
https://bugs.launchpad.net/bugs/293000
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 534365] [NEW] openssh-server bug reporting issue

2010-03-08 Thread Karsten Suehring
Public bug reported:

Starting ubuntu-bug for the openssh-server package gives the following
error:

t...@ubuntu:~$ ubuntu-bug openssh-server
hook /usr/share/apport/package-hooks//openssh-server.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 612, in 
add_hooks_info
execfile(hook, symb)
  File "/usr/share/apport/package-hooks//openssh-server.py", line 28
 report['SSHDConfig'] = root_command_output('/usr/sbin/sshd', '-T'])
  ^
 SyntaxError: invalid syntax

It seems that the closing rectangular bracket needs to be removed in
this line.

ProblemType: Bug
Architecture: amd64
Date: Mon Mar  8 13:55:40 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Error: [Errno 13] Permission denied: 
'/var/log/installer/media-info'
Package: openssh-server 1:5.3p1-3ubuntu2
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: openssh
Uname: Linux 2.6.32-15-generic x86_64

** Affects: openssh (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug lucid

-- 
openssh-server bug reporting issue
https://bugs.launchpad.net/bugs/534365
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 534365] Re: openssh-server bug reporting issue

2010-03-08 Thread Karsten Suehring

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/40486583/Dependencies.txt

-- 
openssh-server bug reporting issue
https://bugs.launchpad.net/bugs/534365
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs