console-setup fails intermittently due to a missing file in /tmp

Bug #1770248 reported by Dan Watkins
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Confirmed
Undecided
Unassigned
Xenial
Confirmed
Undecided
Unassigned

Bug Description

In our testing of cloud images, we intermittently see an error along the lines of:

May 09 17:59:27 ubuntu setupcon[476]: /bin/setupcon: 809: /bin/setupcon: cannot open /tmp/tmpkbd.7L3GEu: No such file

This only happens from time-to-time which suggests that it's a race condition.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: console-setup 1.108ubuntu15.3
ProcVersionSignature: User Name 4.13.0-1015.19-gcp 4.13.16
Uname: Linux 4.13.0-1015-gcp x86_64
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
Date: Wed May 9 19:29:50 2018
PackageArchitecture: all
SourcePackage: console-setup
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dan Watkins (oddbloke) wrote :
Revision history for this message
Dan Watkins (oddbloke) wrote :

The attached `systemd-analyze plot` output suggests that console-setup ran at the same time as the systemd-tmpfiles-setup service, so I wonder if this is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846256

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in console-setup (Ubuntu):
status: New → Confirmed
Changed in console-setup (Ubuntu Xenial):
status: New → Confirmed
Revision history for this message
Ray Link (rlink) wrote :

This behavior is also presenting on Bionic.

tags: added: bionic
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.