Incorrect username for systemd-journal-upload.service

Bug #1983046 reported by Tom Cameron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Expired
Low
Unassigned

Bug Description

Starting the systemd-journal-upload service fails. The username specified in the Ubuntu systemd-journal-upload.service does not exist after the systemd-journal-remote package is installed.

Ubuntu systemd-journal-upload.service:

User=systemd-journal-upload

Corrent systemd-journal-upload.service:

User=systemd-journal-remote

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: systemd-journal-remote 249.11-0ubuntu3.4
ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39
Uname: Linux 5.15.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Jul 28 17:44:06 2022
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: systemd
UpgradeStatus: Upgraded to jammy on 2022-07-28 (0 days ago)
modified.conffile..etc.systemd.journal-upload.conf: [modified]
mtime.conffile..etc.systemd.journal-upload.conf: 2022-07-28T07:02:44.608776

Revision history for this message
Tom Cameron (drdabbles) wrote :
Revision history for this message
Nick Rosbrook (enr0n) wrote :

If this is still relevant, can you share the output from the failed service? The systemd-journal-upload.service unit should have DynamicUser=yes, which should take care of the user at runtime (i.e. I would not expect to see systemd-journal-upload listed in /etc/passwd).

Changed in systemd (Ubuntu):
status: New → Incomplete
importance: Undecided → Critical
importance: Critical → Low
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.