/var/run needs mode 777 in bionic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
screen (Ubuntu) |
Invalid
|
High
|
Brian Murray | ||
Bionic |
Fix Released
|
High
|
Brian Murray | ||
ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Test Case]
1) have an Ubuntu 16.04
2) rm /etc/cron.
3) ssh to Ubuntu 16.04 system so the release upgrade is run in screen
4) run do-release-upgrade -d
5) wait for the conffile prompt from mlocate
6) ssh to the Ubuntu 16.04 system being upgraded
7) sudo -i
8) run screen -rd
With the version of screen in the release pocket you'll receive the following error:
root@clean-
Directory '/run/screen' must have mode 777.
[Original Description]
I saw some odd behaviour of screen during the upgrade from Xenial to Bionic using do-release-upgrade. I was trying to use screen to reattach to an upgrade process that had gone sideways during a router daemon upgrade (duh). But I was told that the permissions on /run/screen needed to be 777. Does the bionic version of screen have that as a requirement? And if so, perhaps do-release-upgrade should set those permissions in anticipation of the upgrade process so that screen works with both old and new versions.
Changed in screen (Ubuntu): | |
status: | Invalid → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu): | |
milestone: | none → ubuntu-18.04.1 |
Changed in screen (Ubuntu): | |
milestone: | none → ubuntu-18.04.1 |
tags: | added: id-5ad8bd0d1f6a45cc0c62874b |
tags: | added: id-5b05e6a18adf2325732c69ca |
description: | updated |
Changed in screen (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in screen (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in screen (Ubuntu): | |
status: | In Progress → Invalid |
Changed in screen (Ubuntu Bionic): | |
importance: | Undecided → High |
assignee: | nobody → Brian Murray (brian-murray) |
I believe this is a bug in screen. The postinst script has code to handle the changed requirements for /run/screen permissions, but then immediately afterwards a debhelper code snippet runs which clobbers them again.