lots of logind sessions fill up /run

Bug #1518116 reported by Matthijs Tempels
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

error happened while upgrading from 14.10 to 15.04 using do-release-upgrade

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: systemd 208-8ubuntu8.2 [modified: usr/share/dbus-1/system-services/org.freedesktop.systemd1.service]
ProcVersionSignature: Ubuntu 3.16.0-44.59-generic 3.16.7-ckt14
Uname: Linux 3.16.0-44-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.5
Architecture: amd64
Date: Fri Nov 20 00:02:45 2015
DuplicateSignature: package:systemd:208-8ubuntu8.2 [modified: usr/share/dbus-1/system-services/org.freedesktop.systemd1.service]:subprocess new pre-installation script returned error exit status 1
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationDate: Installed on 2015-02-19 (273 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
SourcePackage: systemd
Title: package systemd 208-8ubuntu8.2 [modified: usr/share/dbus-1/system-services/org.freedesktop.systemd1.service] failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to vivid on 2015-11-19 (0 days ago)

Revision history for this message
Matthijs Tempels (matthijs-k) wrote :
Revision history for this message
Matthijs Tempels (matthijs-k) wrote :

It seemed that by freak behaviour of systemd my /var/run shm partition was 100% full.. the /var/run/systemd/sessions folder was 1.2Gb and filled /var/run to 100%

after a reboot all was ok

Matthijs

tags: removed: need-duplicate-check
Martin Pitt (pitti)
summary: - package systemd 208-8ubuntu8.2 [modified: usr/share/dbus-1/system-
- services/org.freedesktop.systemd1.service] failed to install/upgrade:
- subprocess new pre-installation script returned error exit status 1
+ package upgrade failed due to full /dev/shm
summary: - package upgrade failed due to full /dev/shm
+ package upgrade failed due to full /run
Revision history for this message
Martin Pitt (pitti) wrote : Re: package upgrade failed due to full /run

I don't really know what we can do about failed upgrades when /run is full, this part is pretty much a "wont fix". The thing worth looking at is why you have so many user sessions running. Can you reproduce this? In a case where you have that many, please copy&paste the output of "systemd-cgls", "loginctl", and "loginctl show-session XX" for a few XX values of the output of "loginctl", i. e. session names like "c2" or "35". Thanks!

Changed in systemd (Ubuntu):
status: New → Incomplete
summary: - package upgrade failed due to full /run
+ lots of logind sessions fill up /run
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for systemd (Ubuntu) because there has been no activity for 60 days.]

Changed in systemd (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.