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

agent: broadcast to consoles before rebooting #114

Closed
lucab opened this issue Aug 29, 2019 · 4 comments · Fixed by #479
Closed

agent: broadcast to consoles before rebooting #114

lucab opened this issue Aug 29, 2019 · 4 comments · Fixed by #479

Comments

@lucab
Copy link
Contributor

lucab commented Aug 29, 2019

This is a followup to coreos/fedora-coreos-tracker#239.

Right now Zincati triggers a reboot in a silent way, which could surprise any logged users while they are in middle of some interactive maintenance.

For better user experience, it should somehow notify the users before triggering a reboot. Current proposal is to broadcast (i.e. wall) to all active consoles. This would match locksmith behavior.

@lucab
Copy link
Contributor Author

lucab commented Aug 29, 2019

Blocked until:

@dustymabe
Copy link
Member

+1 - I just had this idea today and there's already an open issue for it ❤️

@lucab
Copy link
Contributor Author

lucab commented Nov 28, 2019

Small update here, this is unfortunately blocked on a couple more levels of dependencies that need to be patched too, see rust-lang/libc#1496 (comment).

@kelvinfan001
Copy link
Member

Update: The implementation in #479 simply shells out to loginctl to get the list of logged in users. No longer requiring nix-rust/nix#1111.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants