Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

At dpkg postinst, ask for reboot instead of killing desktop #26

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

moroten
Copy link
Contributor

@moroten moroten commented Mar 12, 2025

Instead of killing the user sessions and any desktop environments, notify the user about that a reboot is required to apply changes to /etc/logind.conf.

Also add version number to bb-clientd.deb and skip asking for reboot if just upgrading.

Fixes #25

Instead of killing the user sessions and any desktop environments,
notify the user about that a reboot is required to apply changes to
/etc/logind.conf.

Fixes buildbarn#25
@moroten moroten force-pushed the dpkg-postinst-keep-sessions branch from 0c76bb5 to 69de202 Compare March 12, 2025 09:52
@moroten moroten force-pushed the dpkg-postinst-keep-sessions branch from 69de202 to 2405f5f Compare March 12, 2025 09:55
... and skip asking for reboot if just upgrading during dpkg
installation.
@moroten moroten force-pushed the dpkg-postinst-keep-sessions branch from 2405f5f to ba435ae Compare March 12, 2025 10:23
@EdSchouten EdSchouten merged commit 15120f8 into buildbarn:master Mar 12, 2025
1 check passed
@moroten moroten deleted the dpkg-postinst-keep-sessions branch March 12, 2025 13:07
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.

.deb post install systemctl restart systemd-logind.service "crashes the system"
3 participants