[Bug 2069555] [NEW] Failed to take /etc/passwd lock: Invalid argument on upgrade

Björn Kautler 2069555 at bugs.launchpad.net
Mon Jun 17 01:44:37 UTC 2024


Public bug reported:

When I install Ubuntu 24.04 on WSL and then do an `apt-get update`
followed by `apt-get upgrade --yes`, the process fails with message
"Failed to take /etc/passwd lock: Invalid argument" when trying to
execute the post-installation script of systemd.

The full error with context can be seen at
https://github.com/Vampire/setup-
wsl/actions/runs/9532264682/job/26274230057#step:4:258

This started to fail on June 5th with the systemd version 255.4-1ubuntu8.1 being available.
The day before the `apt-get upgrade --yes` did not contain a systemd update and it worked without problem: https://github.com/Vampire/setup-wsl/actions/runs/9359599784/job/25763680833#step:4:296

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2069555

Title:
  Failed to take /etc/passwd lock: Invalid argument on upgrade

Status in systemd package in Ubuntu:
  New

Bug description:
  When I install Ubuntu 24.04 on WSL and then do an `apt-get update`
  followed by `apt-get upgrade --yes`, the process fails with message
  "Failed to take /etc/passwd lock: Invalid argument" when trying to
  execute the post-installation script of systemd.

  The full error with context can be seen at
  https://github.com/Vampire/setup-
  wsl/actions/runs/9532264682/job/26274230057#step:4:258

  This started to fail on June 5th with the systemd version 255.4-1ubuntu8.1 being available.
  The day before the `apt-get upgrade --yes` did not contain a systemd update and it worked without problem: https://github.com/Vampire/setup-wsl/actions/runs/9359599784/job/25763680833#step:4:296

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




More information about the foundations-bugs mailing list