[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#575582: openssh-server: privsep directory disappeared on upgrade



found 575582 1:5.1p1-5
severity 575582 serious
affects 575582 upgrade-reports
thanks

I just ran into this on a remote upgrade.

I was upgrading a (fortunately not too remote) machine using ssh +
screen from my laptop. When I switched wifi AP and tried to reattach my
screen, I couldn't:

| $ ssh dreamcoat -t screen -DR
| ssh_exchange_identification: Connection closed by remote host

And in auth.log:

| sshd[16271]: fatal: Missing privilege separation directory: /var/run/sshd

I had to reattach from a VT and continue the upgrade there, until it got
to openssh-server's postinst and I could ssh in again. There were
pending debconf questions, I couldn't simply wait for it to start
working again.

I can easily reproduce this in a minimal VM with openssh-server
installed.

The problem seems to be that /var/run/sshd is removed on unpacking but
only recreated in postinst. One cannot ssh in to the machine in-between.
I consider this to be release-critical and am bumping the bug
appropriately.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



Reply to: