Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 939
    • Issues 939
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 27
    • Merge requests 27
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #16184

Intermittent test failures on the devel branch: fails to login "Failed to fully start up daemon: Permission denied"

Originally created by @intrigeri on #16184 (Redmine)

Keeping track of regressions brought by tracking systemd/stretch-backports:

Dec 03 11:36:29 amnesia gdm-password][4026]: pam_unix(gdm-password:session): session opened for user amnesia by (uid=0)
Dec 03 11:36:29 amnesia systemd[1]: Stopped /run/user/0 mount wrapper.
Dec 03 11:36:29 amnesia systemd[1]: Started /run/user/1000 mount wrapper.
Dec 03 11:36:29 amnesia systemd[1]: Created slice User Slice of UID 1000.
Dec 03 11:36:29 amnesia systemd[1]: Starting User Manager for UID 1000...
Dec 03 11:36:29 amnesia systemd-logind[1331]: New session 5 of user amnesia.
Dec 03 11:36:29 amnesia systemd[1]: Started Session 5 of user amnesia.
Dec 03 11:36:29 amnesia systemd[4040]: pam_unix(systemd-user:session): session opened for user amnesia by (uid=0)
Dec 03 11:36:29 amnesia systemd[4040]: Failed to fully start up daemon: Permission denied
Dec 03 11:36:29 amnesia systemd[4041]: pam_unix(systemd-user:session): session closed for user amnesia
Dec 03 11:36:29 amnesia systemd[1]: user@1000.service: Failed with result 'protocol'.
Dec 03 11:36:29 amnesia systemd[1]: Failed to start User Manager for UID 1000.
Dec 03 11:36:29 amnesia systemd[1]: user-runtime-dir@1000.service: Unit not needed anymore. Stopping.
Dec 03 11:36:29 amnesia systemd[1]: Stopping /run/user/1000 mount wrapper...
Dec 03 11:36:29 amnesia gdm-password][4026]: pam_systemd(gdm-password:session): Failed to create session: Start job for unit user@1000.service failed with 'failed'
Dec 03 11:36:29 amnesia gdm-session-worker[4026]: Entering PostLogin

This looks like a systemd bug:

  • https://github.com/systemd/systemd/issues/9461
  • https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1805358

It happens only rarely, is unlikely to affect human users, and is probably fixed in systemd v240. So for now, let’s ignore this and if it gets too painful, upgrade to systemd v240.

Feature Branch: bugfix/16352-16184-systemd-v240+force-all-tests

Related issues

  • Related to #16100 (closed)
  • Related to #16352 (closed)
  • Blocks tails/accounting#15507
Edited May 15, 2020 by intrigeri
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking