← Back to team overview

dx-packages team mailing list archive

[Bug 1426362] Re: logind session files fill up /run space

 

All sessions appear in closing state, here's another one:

$ loginctl show-session 77
Id=77
User=1004
Name=raccess
Timestamp=Чт 2018-03-29 20:30:02 MSK
TimestampMonotonic=2363185101
VTNr=0
Remote=yes
RemoteHost=216.126.59.227
Service=sshd
Scope=session-77.scope
Leader=3389
Audit=77
Type=tty
Class=user
Active=yes
State=closing
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to systemd-shim in Ubuntu.
https://bugs.launchpad.net/bugs/1426362

Title:
  logind session files fill up /run space

Status in systemd-shim package in Ubuntu:
  Confirmed

Bug description:
  Under Ubuntu 14.10 (server), systemd fills up /run/systemd/sessions directory with files.
  The files are 240-260 bytes, but there are many
   As per default install, /run is on tmpfs with 50 MB size. After a couple of days, /run/ runs out of free space, which can cause not so funny errors, like failed kernel update (kernel postinst tries to create files here, then fails)

  As I see, thesefiles are releated to ssh sesssions, and yes there are
  plenty SSH connection to this host. Shouldn't systemd remove these old
  session files?

  # lsb_release -rd
  Description:    Ubuntu 14.10
  Release:        14.10

  # apt-cache policy systemd
  systemd:
    Installed: 208-8ubuntu8.2
    Candidate: 208-8ubuntu8.2
    Version table:
   *** 208-8ubuntu8.2 0
          500 http://hu.archive.ubuntu.com/ubuntu/ utopic-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       208-8ubuntu8 0
          500 http://hu.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1426362/+subscriptions