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

screen: fix launch. #32159

Merged
merged 1 commit into from
Jul 23, 2021
Merged

screen: fix launch. #32159

merged 1 commit into from
Jul 23, 2021

Conversation

ericonr
Copy link
Member

@ericonr ericonr commented Jul 23, 2021

When screen isn't suid, it can't create the directory under /run/screens
for sessions to sit in. We went with this approach instead of removing
--with-socket-dir so screen would default to using ~/.screen, becaise it
would require users with currently running screen sessions to launch the
screen client with SCREENDIR set correctly.

Since that approach would be more complicated for users and require
leaving an INSTALL.msg in the package for some time, we went with a
simpler one of always creating the directory at build time.

General

Have the results of the proposed changes been tested?

  • I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
  • I generally don't use the affected packages but briefly tested this PR

ericonr referenced this pull request Jul 23, 2021
This requires that the screen binary be suid.
When screen isn't suid, it can't create the directory under /run/screens
for sessions to sit in. We went with the approach of creating the
directory at boot time instead of removing --with-socket-dir so screen
would default to using ~/.screen, because it would require users with
currently running screen sessions to launch the screen client with
SCREENDIR set correctly, and an INSTALL.msg to warn users.
@ericonr ericonr merged commit 56db43e into void-linux:master Jul 23, 2021
@ericonr ericonr deleted the screen branch July 23, 2021 18:01
@tornaria
Copy link
Contributor

Looks good to me. Maybe it should also create /run/screens at install time?

@ericonr
Copy link
Member Author

ericonr commented Jul 24, 2021

You're not wrong, but I'm dreading having to fix the package again. Would you be interested in making a PR?

@tornaria
Copy link
Contributor

See #32201

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants