Hi,
I have an automated setup of Clonezilla, and it's worked really well for me. But now, in the testing version, it complains about /sbin/drbl-functions is not found. drbl-functions is located in /usr/share/drbl/sbin. None of my scripts call this, so I'm assuming it's part of Clonezilla. If I'm using an outdated script, please tell me how I should adjust it. If not, could one of the developers kindly make a symbolic link in /sbin to fix the automation? I can do it manually and it will run, but it's a hassle to do it every time I run it. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In Clonezilla v2, we have moved executable files to /usr/sbin, /usr/bin, /usr/share/drbl/sbin, and /usr/share/drbl/bin/. The files in /usr/share/drbl/sbin and /usr/share/drbl/bin are not to be run directly from command line by user. Normally they are called by another program.
Therefore if you want to use the Clonezilla live 2.x, please update your script.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually why not just run
/usr/sbin/ocs-sr -g auto -e1 auto…
?
There is no need to run those 3 lines.
Or you can add one line in your script's beginning:
export DRBL_SCRIPT_PATH="${DRBL_SCRIPT_PATH:-/usr/share/drbl}"
Anyway, I will add the seting in drbl-conf-functions, too.
Thanks.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have an automated setup of Clonezilla, and it's worked really well for me. But now, in the testing version, it complains about /sbin/drbl-functions is not found. drbl-functions is located in /usr/share/drbl/sbin. None of my scripts call this, so I'm assuming it's part of Clonezilla. If I'm using an outdated script, please tell me how I should adjust it. If not, could one of the developers kindly make a symbolic link in /sbin to fix the automation? I can do it manually and it will run, but it's a hassle to do it every time I run it. Thanks.
In Clonezilla v2, we have moved executable files to /usr/sbin, /usr/bin, /usr/share/drbl/sbin, and /usr/share/drbl/bin/. The files in /usr/share/drbl/sbin and /usr/share/drbl/bin are not to be run directly from command line by user. Normally they are called by another program.
Therefore if you want to use the Clonezilla live 2.x, please update your script.
Steven.
This file is called by one of the Clonezilla scripts. I have updated all of the locations called by my scripts.
I've looked through everything my script calls, and perhaps it is called by drbl-conf-functions in /usr/share/drbl/sbin?
I think $DRBL_SCRIPT_PATH isn't set. Is that something that should be set manually?
Which version of Clonezilla live did you use?
Please show me the error messages so it's easier for us to fix that.
Thanks.
Steven.
I believe it's a bug.
Did you see which program calls drbl-conf-functions?
Could you take a photo about the screen then post it?
Steven.
I'm using Clonezilla 2.0.0-34
My script calls drbl-conf-functions, which then tries to find drbl-functions.
"File /sbin/drbl-functions not found! Program terminated!" is the exact error it gives.
How about showing me your script?
Steven.
/usr/sbin/ocs-sr -g auto -e1 auto
This is the entirety of the script I use, minus a few arguments on the last line.
Actually why not just run
/usr/sbin/ocs-sr -g auto -e1 auto…
?
There is no need to run those 3 lines.
Or you can add one line in your script's beginning:
export DRBL_SCRIPT_PATH="${DRBL_SCRIPT_PATH:-/usr/share/drbl}"
Anyway, I will add the seting in drbl-conf-functions, too.
Thanks.
Steven.
It was something I copied and pasted from the documentation quite a while ago. It's worked well, and this has been my only complaint.
Thanks for adding it in.