Package: irqbalance
Version: 1.5.0-0.1
Severity: critical

Thanks to waldi for his help in diagnosing this.

With irqbalance installed, it is no longer possible to connect to
remote systems using SSH when SSH_AUTH_SOCK is unset.

  % SSH_AUTH_SOCK= ssh -S none -v cymbaline true
  […]
  debug1: rekey after 134217728 blocks

and then the client just stays there, indefinitely.

strace reveals:

  socket(AF_UNIX, SOCK_STREAM, 0)         = 4
  fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
  connect(4, {sa_family=AF_UNIX, 
sun_path=@"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"},
 110) = 0
  write(4, "\0\0\0\1", 4)                 = 4
  write(4, "\v", 1)                       = 1
  read(4,

and lsof identifies this socket as

  ssh     28605 madduck    4u  unix 0x0000000094bc2389      0t0  287876 
type=STREAM

So diving into this, we stumbled over:

  netstat -nap:
  unix  2      [ ACC ]     STREAM     LISTENING     23121    
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

and then looked at sss -xenp output:

  u_str             ESTAB               0                    0                  
  
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 29 3502                                                * 289678                
   users:(("irqbalance",pid=1455,fd=22)) <->
  u_str             ESTAB               1                    0                  
  
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 29 2010                                                * 0                     
   users:(("irqbalance",pid=1455,fd=19)) ---
  u_str             ESTAB               0                    0                  
  
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 27 9132                                                * 0                     
   users:(("irqbalance",pid=1455,fd=12)) ---

and sure enough, purging irqbalance makes SSH work again.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages irqbalance depends on:
ii  debconf [debconf-2.0]  1.5.69
ii  libc6                  2.28-2
ii  libcap-ng0             0.7.9-1+b1
ii  libglib2.0-0           2.58.1-2
ii  libncursesw6           6.1+20181013-1
ii  libnuma1               2.0.12-1
ii  libsystemd0            239-14
ii  libtinfo6              6.1+20181013-1
ii  lsb-base               10.2018112800

irqbalance recommends no packages.

irqbalance suggests no packages.


-- 
 .''`.   martin f. krafft <madduck@d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to