-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bastille console does not work after upgrading jail to 14.1-RELEASE #704
Comments
Does a fresh jail work? |
Yes a new jail created with bastille -C 14.1-RELEASE works. I also created a new 13.3-RELEASE jail and edited fstab to point to 14.1-RELEASE. That also fails to get a console. The console log for that jail shows no errors: Thu Jun 6 19:10:45 CEST 2024 Thu Jun 6 19:10:47 CEST 2024 Thu Jun 6 19:12:02 CEST 2024 |
I did some testing and I can start a root shell in updated jail but login command fails. Looks like a missing pam module. |
As far as I remember I don't believe that this is a Bastille issue. |
Hi, |
Consider it incomplete. It is imperative to study official RNs before upgrading... |
Agreed. But maybe good to add a reminder for that on that page.... |
Given that no issues were addressed for the past 7+ months and the maintainers have disappeared I don't expect this to be fixed anytime soon. |
I had the same issue a few months back. This might be related to the /etc/ directory isn't updated. So it might be that There is already a PR open for this: #660 You can still access the "console by' executing
I switched from thin jails to tick jails and this also resolves the issues as |
This are the steps to update jails. I think we need to document that here in the official documentation: https://gist.github.com/cedwards/1e00c3d0aa6fbb14bc5b16fca8df0c35 |
[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?
[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:
The text was updated successfully, but these errors were encountered: