I've changed the Unit files for the mount and automount points and will
see if this was the cause of the unit ordering issue. I commented out
the Requires= files and just left the After= files to create a softer
dependency tree.
```
''# cat mnt-xbmc\\x2ddata.mount''
[Unit]
Description=mount cifs
I'm looking at the journalctl logs for systemd-tmpfiles-setup.service
and sysinit.target/start and it shows up that one of the mount and
automount units that I created might have caused a problem and systemd
somehow deleted the start events for systemd-tmpfiles-
setup.service/start event.
This lin
When the /run/sshd/ directory exits and looks good.
```
'''stat /run/sshd'''
File: /run/sshd
Size: 40 Blocks: 0 IO Block: 4096 directory
Device: 0,25Inode: 1786Links: 2
Access: (0755/drwxr-xr-x) Uid: (0/root) Gid: (0/root)
Access: 2024-03
More discussion threads regarding this issue.
This is an old one from 16.04 before ssh socket activation.
https://askubuntu.com/questions/1110828/ssh-failed-to-start-missing-
privilege-separation-directory-var-run-sshd
Another older report from 5-years ago from 16.04.05 again.
https://askubuntu.
Found this reference also to this folder.
```
''man sshd''
/run/sshd
chroot(2) directory used by sshd during privilege separation in
the pre‐authentication phase. The directory should not contain any files and
must be owned by root and not group or world‐writable.
```
--
You
** Tags added: packaging systemd-boot
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/2055806
Title:
sshd.service ssh.socket systemd-tmpfiles-setup:Before= - Missing
priv
This is a follow-up to the problems reported in the following thread
that already discussed an issue with socket activation for the
ssh.service.
SSHd now uses socket-based activation (Ubuntu 22.10 and later)
https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-late
Public bug reported:
Symptom: ssh.service is not running and not accepting new SSH
connections and returns socket closed error upon attempted connection.
ssh.service shows a failed with error message "Missing privilege
separation directory: /run/sshd".
The following line is needed in the SystemD
8 matches
Mail list logo