[Bug 267438] sysutils/qjail can't attach jail console on -CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Oct 2022 16:59:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267438

            Bug ID: 267438
           Summary: sysutils/qjail can't attach jail console on -CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: urtp5@yandex.by
                CC: qjail1@a1poweruser.com
             Flags: maintainer-feedback?(qjail1@a1poweruser.com)
                CC: qjail1@a1poweruser.com

Hi Friends!

I have a fresh installation:
FreeBSD BSD-RYZEN 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n258754-9ca7ca92f3a

And I have a standart steps for get qjail infrastructure:
1. Installation
# cd /usr/ports/sysutils/qjail 
# make install
# echo "qjail_enable=YES" >> /etc/rc.conf

2. Base system fetch and install
# setenv UNAME_r "13.1-RELEASE" qjail install

3. Update it to host binaries
# qjail update -b

4. Add alias for lo0 interface (at rc.conf also)
# ifconfig lo0 inet 10.1.1.1/32 alias

5. Create jail db_mysql
# /usr/local/etc/rc.d/qjail.bootime start
# qjail create -4 10.1.1.1 db_mysql

6. Start created jail
# qjail start db_mysql
started successful. jls shows it in running jail list.

7. Try to attach console:
# qjail console db_mysql
# 
Just nothing happens. I get shell of host, not jail.
cat /var/log/qjail.db_mysql.console.log shows that syslogd and cron started:
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Updating motd:.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating /var/run/os-release done.
Starting syslogd.
Starting cron.

Sun Oct 30 21:42:47 +05 2022

Whats I do wrong, or it is a -CURRENT issue with qjail?

-- 
You are receiving this mail because:
You are the assignee for the bug.