While we've worked around this by setting RELEASE_UPGRADER_NO_SCREEN=1
in friendly-recovery, it'd be better to make sure that the screenrc file
is loaded by the release-upgrader all the time.
So in DistUpgrade/DistUpgradeMain.py we should change how screenrc is
loaded:
# unset escape key to avoid confusing people who are not used to
# screen. people who already run screen will not be affected by this
# unset escape key with -e, enable log with -L, set name with -S
cmd = ["screen",
"-e", "\\0\\0",
"-L",
"-c", "screenrc",
"-S", SCREENNAME]+sys.argv
logging.info("re-exec inside screen: '%s'" % cmd)
os.execv("/usr/bin/screen", cmd)
** Also affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Triaged
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => Medium
** Changed in: ubuntu-release-upgrader (Ubuntu)
Milestone: None => later
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1438865
Title:
Using dpkg in Recovery Menu fails if screen is installed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1438865/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs