Bug 275103 - sysutils/qjail can't attach jail console on RELEASE/14
Summary: sysutils/qjail can't attach jail console on RELEASE/14
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL: https://forums.freebsd.org/threads/sy...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-15 14:02 UTC by Yuri Dolgoruki
Modified: 2023-11-29 18:22 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (qjail1)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Dolgoruki 2023-11-15 14:02:01 UTC
Good day!

I have a fresh installation of RELEASE/14
FreeBSD BSD-FS1 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-f9716eee8

and tryin to deploy several jails using sysutils/qjail 5.5
All steps are ok:
----------------------
- initial basejail from release/14 done
- added ip alias for jail
- qjail create -4 IP_ALIAS www_nginx

# jls
   JID  IP Address      Hostname                      Path
    1  192.168.1.3     www_nginx                     /usr/jails/www_nginx

# Top output with jail only processes:
  PID   JID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
99257     1 root          1  20    0    13M  2592K nanslp   2   0:00   0.00% cron
91890     1 root          1  20    0    13M  2796K select  10   0:00   0.00% syslogd

But when I try to attach jail console it is just nothing happens... Simply new line in console. What wrong with qjail?
# qjail console www_nginx
#
Comment 1 Yuri Dolgoruki 2023-11-24 20:16:58 UTC
Some additional info:
If I execute passwd command in jail on RELEASE/13, it works normal:
----------------------------------
# qjail console -c "passwd" db_nosql
Changing local password for root
New Password:

reads password, confirmation and change root password in jail.

But in RELEASE/14, it exit with error and nothing reads from keyboard:
----------------------------------
 # qjail console -c "passwd" www_nginx
Changing local password for root
passwd: pam_start(): System error

Also I'm start topic on FreeBSD forums. Crosslinks with it:
https://forums.freebsd.org/threads/sysutils-qjail-not-working-properly-on-release-14.91106/