Hi everyone,
I just got this problem and let me give you some background. I just did a new install of FreeBSD 9.1 and am using zfs as root. I made a base jails, and cloned that jail to create different web services. I have one jail running currently on this machine and have cloned the base again to start creating another service. The first jail is run at startup with the following code in my rc.conf:
The second jail I use the following command to work on it:
Now when I try to build an port I don't get the ncurses configuration screen and instead get this:
I believe the issue is that this second jail does not have /dev/pts/? populated. On the first jail everything works fine and /dev/pts is populated with /dev/pts/0.
I guess I am a little confused on how the PTS's are supposed to work and if they are supposed to be mapped to both jails? Or can only one jail use it at a time? I'm sure I am just overlooking something and I appreciate any help in the right direction!
~thekeymaker
I just got this problem and let me give you some background. I just did a new install of FreeBSD 9.1 and am using zfs as root. I made a base jails, and cloned that jail to create different web services. I have one jail running currently on this machine and have cloned the base again to start creating another service. The first jail is run at startup with the following code in my rc.conf:
Code:
# Jail Setup
jail_enable="YES"
jail_list="owncloud"
jail_owncloud_rootdir="/usr/jails/owncloud"
jail_owncloud_hostname="noreal.example.com"
jail_owncloud_ip="192.168.xx.yy"
jail_owncloud_interface="re0"
jail_owncloud_devfs_enable="YES"
jail_owncloud_exec_start="/bin/sh /etc/rc"
jail_owncloud_exec_stop="/bin/sh /etc/rc.shutdown"
The second jail I use the following command to work on it:
Code:
ifconfig re0 inet 192.168.xx.ww netmask 255.255.255.255 alias
jail -c path=usr/jails/wordpress mount.devfs host.hostname=fbsd ip4.addr=192.168.xx.ww command=/bin/sh
Now when I try to build an port I don't get the ncurses configuration screen and instead get this:
Code:
cannot open tty-output
I believe the issue is that this second jail does not have /dev/pts/? populated. On the first jail everything works fine and /dev/pts is populated with /dev/pts/0.
I guess I am a little confused on how the PTS's are supposed to work and if they are supposed to be mapped to both jails? Or can only one jail use it at a time? I'm sure I am just overlooking something and I appreciate any help in the right direction!
~thekeymaker