[Bug 1761997] Re: /var/run needs mode 777 in bionic
Brian Murray
brian at ubuntu.com
Thu Jul 19 16:22:08 UTC 2018
/etc/tmpfiles.d/screen-cleanup.conf does not exist on an Ubuntu 16.04
install nor is it created when I install screen on a Ubuntu 16.04
system.
$ schroot -u root -c xenial-amd64
(xenial-amd64)root at impulse:/mnt/sec-machines# apt-get install screen
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
iselect | screenie | byobu ncurses-term
The following NEW packages will be installed:
screen
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 560 kB of archives.
After this operation, 972 kB of additional disk space will be used.
Get:1 http://192.168.10.7/ubuntu xenial/main amd64 screen amd64 4.3.1-2build1 [560 kB]
Fetched 560 kB in 0s (2131 kB/s)
Selecting previously unselected package screen.
(Reading database ... 23511 files and directories currently installed.)
Preparing to unpack .../screen_4.3.1-2build1_amd64.deb ...
Unpacking screen (4.3.1-2build1) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up screen (4.3.1-2build1) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
(xenial-amd64)root at impulse:/mnt/sec-machines# ls -lh /etc/tmpfiles.d/
total 0
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1761997
Title:
/var/run needs mode 777 in bionic
Status in screen package in Ubuntu:
Triaged
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
[Test Case]
1) have an Ubuntu 16.04
2) rm /etc/cron.daily/mlocate (this'll ensure you get a conffile prompt)
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 at clean-xenial-amd64:~# screen -rd
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/screen/+bug/1761997/+subscriptions
More information about the foundations-bugs
mailing list