Skip to content

fix: unmask all systemd-tmpfiles services to restore runtime directory creation - #73

Merged
andrewlukoshko merged 2 commits into
AlmaLinux:mainfrom
yuravk:main
Mar 11, 2026
Merged

andrewlukoshko merged 2 commits into
AlmaLinux:mainfrom
yuravk:main

Conversation

@yuravk

@yuravk yuravk commented Mar 10, 2026 •

Copy link
Copy Markdown
Collaborator

Resolves #62: PostgreSQL and other applications need systemd-tmpfiles-setup.service to create runtime directories like /run/postgresql at boot time. While this service was masked per WSL recommendations to fix X11 socket issues, it prevented essential tmpfiles functionality. Unmasking restores /run directory creation without breaking other WSL systemd optimizations.
Removed masking for all systemd-tmpfiles-* services:
- systemd-tmpfiles-setup.service
- systemd-tmpfiles-clean.service
- systemd-tmpfiles-clean.timer
- systemd-tmpfiles-setup-dev-early.service
- systemd-tmpfiles-setup-dev.service

Affects all AlmaLinux versions: 8, 9, 10, and Kitten 10 (both x64 and ARM64)

yuravk added 2 commits March 10, 2026 19:13
…eation

Resolves AlmaLinux#62: PostgreSQL and other applications need systemd-tmpfiles-setup.service
to create runtime directories like /run/postgresql at boot time. While this service
was masked per WSL recommendations to fix X11 socket issues, it prevented essential
tmpfiles functionality. Unmasking restores /run directory creation without breaking
other WSL systemd optimizations.

Affects all AlmaLinux versions: 8, 9, 10, and Kitten 10 (both x64 and ARM64)
…y creation

Removed masking for all systemd-tmpfiles-* services:
  - systemd-tmpfiles-setup.service
  - systemd-tmpfiles-clean.service
  - systemd-tmpfiles-clean.timer
  - systemd-tmpfiles-setup-dev-early.service
  - systemd-tmpfiles-setup-dev.service

Affects all AlmaLinux versions: 8, 9, 10, and Kitten 10 (both x64 and ARM64)
@yuravk yuravk changed the title fix: unmask systemd-tmpfiles-setup.service to allow /run directory creation fix: unmask all systemd-tmpfiles services to restore runtime directory creation Mar 11, 2026
@andrewlukoshko
andrewlukoshko merged commit 7b979a3 into AlmaLinux:main Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Alma linux 10 , postgresql /run/postgresql is not created automatically at startup

2 participants