Skip to content

fix: use tmpfiles.d to set default config in home dirs#1926

Merged
HastD merged 2 commits intosecureblue:livefrom
HastD:user-tmpfiles
Feb 13, 2026
Merged

fix: use tmpfiles.d to set default config in home dirs#1926
HastD merged 2 commits intosecureblue:livefrom
HastD:user-tmpfiles

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Feb 10, 2026

Use user-tmpfiles.d instead of ad-hoc systemd services to disable user-session QEMU core dumps and the KDE Plasma splash screen.

For qemu.conf, the default file contents are only written if the file ~/.config/libvirt/qemu.conf doesn't already exist.

Thanks to @nihil-admirari for the suggestion: #1054 (comment)

For ksplashrc, the file is always overwritten and is set to read-only, because certain theme settings in KDE Plasma will automatically try to overwrite that file. This also fixes a bug where the splash screen would be reenabled until next boot if the user logs out and logs back in.

Users wishing to enable the splash screen can symlink the file ~/.config/user-tmpfiles.d/ksplashrc.conf to /dev/null to override this configuration.

Use user-tmpfiles.d instead of ad-hoc systemd services to disable
user-session QEMU core dumps and the KDE Plasma splash screen.

For qemu.conf, the default file contents are only written if the file
`~/.config/libvirt/qemu.conf` doesn't already exist.

Thanks to @nihil-admirari for the suggestion:
secureblue#1054 (comment)

For ksplashrc, the file is always overwritten and is set to read-only,
because certain theme settings in KDE Plasma will automatically try to
overwrite that file. This also fixes a bug where the splash screen would
be reenabled until next boot if the user logs out and logs back in.

Users wishing to enable the splash screen can symlink the file
`~/.config/user-tmpfiles.d/ksplashrc.conf` to `/dev/null` to override
this configuration.
HastD added a commit to HastD/secureblue.dev that referenced this pull request Feb 10, 2026
@HastD HastD enabled auto-merge (squash) February 13, 2026 20:19
RoyalOughtness pushed a commit to secureblue/secureblue.dev that referenced this pull request Feb 13, 2026
@HastD HastD merged commit 588a18d into secureblue:live Feb 13, 2026
16 checks passed
@HastD HastD deleted the user-tmpfiles branch February 13, 2026 21:10
@HastD HastD removed the Pending CI label Feb 13, 2026
PhysicsIsAwesome pushed a commit to PhysicsIsAwesome/secureblue that referenced this pull request Mar 1, 2026
Use user-tmpfiles.d instead of ad-hoc systemd services to disable
user-session QEMU core dumps and the KDE Plasma splash screen.

For qemu.conf, the default file contents are only written if the file
`~/.config/libvirt/qemu.conf` doesn't already exist.

Thanks to @nihil-admirari for the suggestion:
secureblue#1054 (comment)

For ksplashrc, the file is always overwritten and is set to read-only,
because certain theme settings in KDE Plasma will automatically try to
overwrite that file. This also fixes a bug where the splash screen would
be reenabled until next boot if the user logs out and logs back in.

Users wishing to enable the splash screen can symlink the file
`~/.config/user-tmpfiles.d/ksplashrc.conf` to `/dev/null` to override
this configuration.
PhysicsIsAwesome pushed a commit to PhysicsIsAwesome/secureblue that referenced this pull request Mar 1, 2026
Use user-tmpfiles.d instead of ad-hoc systemd services to disable
user-session QEMU core dumps and the KDE Plasma splash screen.

For qemu.conf, the default file contents are only written if the file
`~/.config/libvirt/qemu.conf` doesn't already exist.

Thanks to @nihil-admirari for the suggestion:
secureblue#1054 (comment)

For ksplashrc, the file is always overwritten and is set to read-only,
because certain theme settings in KDE Plasma will automatically try to
overwrite that file. This also fixes a bug where the splash screen would
be reenabled until next boot if the user logs out and logs back in.

Users wishing to enable the splash screen can symlink the file
`~/.config/user-tmpfiles.d/ksplashrc.conf` to `/dev/null` to override
this configuration.
RKNF404 pushed a commit to RKNF404/secureblue that referenced this pull request Mar 1, 2026
Use user-tmpfiles.d instead of ad-hoc systemd services to disable
user-session QEMU core dumps and the KDE Plasma splash screen.

For qemu.conf, the default file contents are only written if the file
`~/.config/libvirt/qemu.conf` doesn't already exist.

Thanks to @nihil-admirari for the suggestion:
secureblue#1054 (comment)

For ksplashrc, the file is always overwritten and is set to read-only,
because certain theme settings in KDE Plasma will automatically try to
overwrite that file. This also fixes a bug where the splash screen would
be reenabled until next boot if the user logs out and logs back in.

Users wishing to enable the splash screen can symlink the file
`~/.config/user-tmpfiles.d/ksplashrc.conf` to `/dev/null` to override
this configuration.
PhysicsIsAwesome pushed a commit to PhysicsIsAwesome/secureblue that referenced this pull request Mar 1, 2026
Use user-tmpfiles.d instead of ad-hoc systemd services to disable
user-session QEMU core dumps and the KDE Plasma splash screen.

For qemu.conf, the default file contents are only written if the file
`~/.config/libvirt/qemu.conf` doesn't already exist.

Thanks to @nihil-admirari for the suggestion:
secureblue#1054 (comment)

For ksplashrc, the file is always overwritten and is set to read-only,
because certain theme settings in KDE Plasma will automatically try to
overwrite that file. This also fixes a bug where the splash screen would
be reenabled until next boot if the user logs out and logs back in.

Users wishing to enable the splash screen can symlink the file
`~/.config/user-tmpfiles.d/ksplashrc.conf` to `/dev/null` to override
this configuration.
PhysicsIsAwesome pushed a commit to PhysicsIsAwesome/secureblue that referenced this pull request Mar 4, 2026
Use user-tmpfiles.d instead of ad-hoc systemd services to disable
user-session QEMU core dumps and the KDE Plasma splash screen.

For qemu.conf, the default file contents are only written if the file
`~/.config/libvirt/qemu.conf` doesn't already exist.

Thanks to @nihil-admirari for the suggestion:
secureblue#1054 (comment)

For ksplashrc, the file is always overwritten and is set to read-only,
because certain theme settings in KDE Plasma will automatically try to
overwrite that file. This also fixes a bug where the splash screen would
be reenabled until next boot if the user logs out and logs back in.

Users wishing to enable the splash screen can symlink the file
`~/.config/user-tmpfiles.d/ksplashrc.conf` to `/dev/null` to override
this configuration.
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.

3 participants