Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2022 16:59:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267438] sysutils/qjail can't attach jail console on -CURRENT
Message-ID:  <bug-267438-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267438

            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-9ca7ca9=
2f3a

And I have a standart steps for get qjail infrastructure:
1. Installation
# cd /usr/ports/sysutils/qjail=20
# make install
# echo "qjail_enable=3DYES" >> /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
#=20
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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267438-7788>