-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Error upgrading CBSD v.10.3.0 #65
Comments
Hi, Error associated with cpr is not fatal - I'll fix it, thanks (this is old script which i forget to remove) For initenv/workdir: Do I understand correctly that before CBSD did not work on this server? Can you execute:
from root user, without sudo ? |
Before CBSD worked correctly on this server. This issue is after upgrading from v 10.2.0. to .v 10.3.0. I have executed (from root user, without sudo)
than
still I get
and also the |
According to https://github.com/olevole/cbsd/blob/master/sudoexec/initenv#L713:
your rc.conf does not have cbsd_workdir variable. Please make sure that you have workdir in rc.conf:
has to return cbsd_workdir="/usr/jails". If variable exist, send binary cbsd version, shell xtrace output and truss result:
and FreeBSD version:
|
/usr/jails is there
Attached you find the output of |
Interesting.. a feeling that the sudo configuration does not pass workdir environment for cbsd user. % cat /usr/local/etc/sudoers.d/cbsd_sudoers
|
The sudo configuration was not set. After setting the sudo configuration I do not get the Still have the |
cpr: not found error you can solve by removing the line "cpr" from the file /usr/local/cbsd/securecmd and by re-runing cbsd initenv. This is already done via olevole@e0c0294 . |
Ok. Thank you! |
Fix illegal options: olevole@0cbfad7 Thanks. |
Hi,
Have an issue after upgrading to CBSD v.10.3.0.
When i do
sudo cbsd initenv
I getno workdir
. This does not change when I doenv workdir="/usr/jails" /usr/local/cbsd/sudoexec/initenv
.When I do
cbsd help
I get/usr/local/bin/cbsd: cpr: not found
andIllegal option
See the attached file.What can I do about this?
Thank you in advance.
J.
The text was updated successfully, but these errors were encountered: