[Bug 1608290] [NEW] rescue mode should mount /dev/pts
Doug Goldstein
cardoe at gentoo.org
Sun Jul 31 20:59:08 UTC 2016
Public bug reported:
I recently installed Ubuntu 16.04.1 Server (amd64) and unrelated to this
issue the installer made some bad assumptions leaving me with a non-
bootable system. I booted the installation media again and selected
"Rescue Mode" and had it drop me to a root shell in my installation. I
proceeded to install a few missing packages and kept getting an error
about posix_openpt() failing due to /dev/pts not being mounted. I did a
simple "mount -t devpts devpts /dev/pts" and all was well. It appears
that /dev/pts is mounted in the live CD environment but not in the
chroot root environment where the root shell is inside the actual
installation.
I'm guessing when the chroot is being setup there's a missing call for
"mount --make-rslave /target/SYSTEM/dev"
** Affects: rescue (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rescue in Ubuntu.
https://bugs.launchpad.net/bugs/1608290
Title:
rescue mode should mount /dev/pts
Status in rescue package in Ubuntu:
New
Bug description:
I recently installed Ubuntu 16.04.1 Server (amd64) and unrelated to
this issue the installer made some bad assumptions leaving me with a
non-bootable system. I booted the installation media again and
selected "Rescue Mode" and had it drop me to a root shell in my
installation. I proceeded to install a few missing packages and kept
getting an error about posix_openpt() failing due to /dev/pts not
being mounted. I did a simple "mount -t devpts devpts /dev/pts" and
all was well. It appears that /dev/pts is mounted in the live CD
environment but not in the chroot root environment where the root
shell is inside the actual installation.
I'm guessing when the chroot is being setup there's a missing call for
"mount --make-rslave /target/SYSTEM/dev"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rescue/+bug/1608290/+subscriptions
More information about the foundations-bugs
mailing list