bastille icon indicating copy to clipboard operation
bastille copied to clipboard

Bastille console does not work after upgrading jail to 14.1-RELEASE

Open paulz-gh opened this issue 8 months ago • 9 comments

[MANDATORY] Describe the bug [MANDATORY] I upgraded my system from 13.3 to 14.1-RELEASE, including pkg-static update -f. I have run bastille bootstrap 14.1-RELEASE.

When I update a jail by changing the mount from 13.3-RELEASE to 14.1-RELEASE the jail seems to start but the bastille console command does not connect me to the console. Reverting the fstab entry back to 13.3-RELEASE makes the bastille console command work again.

[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru output) $ bastille -v && freebsd-version -kru 0.10.20231125 14.1-RELEASE 14.1-RELEASE 14.1-RELEASE

[MANDATORY] How did you install bastille? (port/pkg/git)

pkg [optional] Steps to reproduce?

[13:14:39:freebsd:paulz:/var/log/bastille]
$ doas bastille  start unifi
pfctl: Invalid argument.
[unifi]:
unifi: created

[13:14:58:freebsd:paulz:/var/log/bastille]
$ doas bastille  console unifi
[unifi]:

[13:15:04:freebsd:paulz:/var/log/bastille]
$

[optional] Expected behavior Console prompt for jail console

[optional] Screenshots If applicable, add screenshots to help explain your problem.

[optional] Additional context

I can start a shell inside the jail using jexec $JID sh. The unifi service I want to run inside that jail does not seem to be started and when I start it I get the error:

# service unifi start
Starting unifi.
su: pam_start: System error
/usr/local/etc/rc.d/unifi: WARNING: failed to start unifi

paulz-gh avatar Jun 05 '24 11:06 paulz-gh