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

Permit init_t (systemd) to start a detached screen/tmux session #865

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Feb 18, 2025

This policy tweak permits running a screen/tmux session via a system service/unit file.

Given the interactive nature of the process it might be worth putting behind a boolean...

@pebenito
Copy link
Member

You're saying this is so in a unit you can do ExecStart=/usr/bin/screen ....?

@jcpunk
Copy link
Contributor Author

jcpunk commented Feb 20, 2025

Exactly! In particular: https://src.fedoraproject.org/rpms/tmux/blob/rawhide/f/tmux%40.service

I know fedora has its own policy, but I'd prefer to have the tweak in refpolicy and then try to port it to fedora.

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.

2 participants