[Bug 2023001] Re: sshd not starting because of missing /run/sshd
Christopher Beland
2023001 at bugs.launchpad.net
Wed Jun 7 05:16:31 UTC 2023
systemctl status systemd-tmpfiles-setup says:
systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/lib/systemd/system/systemd-tmpfiles-setup.service; static)
Active: active (exited) since Tue 2023-06-06 01:46:37 EDT; 23h ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Main PID: 536 (code=exited, status=73)
CPU: 62ms
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /var (owned by root) during canonicalization of /var/log/journal.
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /var (owned by root) during canonicalization of /var/log/journal.
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /var (owned by root) during canonicalization of /var/log/journal/0bbe1b93d943a0a5>
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /var (owned by root) during canonicalization of /var/log/journal/0bbe1b93d943a0a5>
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /var (owned by root) during canonicalization of /var/log/journal/0bbe1b93d943a0a5>
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /run (owned by root) during canonicalization of /run/log/journal.
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /run (owned by root) during canonicalization of /run/log/journal.
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /var (owned by root) during canonicalization of /var/log/journal/0bbe1b93d943a0a5>
Jun 06 01:46:37 big-bucks systemd-tmpfiles[536]: Detected unsafe path transition / (owned by beland) → /var (owned by root) during canonicalization of /var/log/journal/0bbe1b93d943a0a5>
Jun 06 01:46:37 big-bucks systemd[1]: Finished systemd-tmpfiles-setup.service - Create Volatile Files and Directories.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/2023001
Title:
sshd not starting because of missing /run/sshd
Status in openssh package in Ubuntu:
Incomplete
Status in systemd package in Ubuntu:
New
Bug description:
I recently upgraded from Ubuntu to 22.04 to 23.04 using do-release-
upgrade (twice because I upgraded via 22.10). After doing so, sshd
stopped working. The output of "journalctl -xeu ssh.service" includes
the line:
Jun 06 01:51:05 big-bucks sshd[4544]: Missing privilege separation
directory: /run/sshd
This fixed the problem: sudo mkdir /run/sshd
It seems like either the upgrade sequence or the service startup
sequence should have done this automatically.
Currently running: ssh/lunar 1:9.0p1-1ubuntu8 all
There was also a problem reported with /run/sshd on bug #1991283, but I guess the fix for that didn't prevent this.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: ssh (not installed)
Uname: Linux 6.2.6-76060206-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 6 02:37:21 2023
SourcePackage: openssh
UpgradeStatus: Upgraded to lunar on 2023-06-04 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2023001/+subscriptions
More information about the foundations-bugs
mailing list