Tiny Core Extensions > TCE Talk
Request for ca-certificates
andyj:
The ca-certificates has a script named 'update-ca-certificates' that gets run as part of the /usr/local/tce.installed load process. However, there is no mkdir in this script; it assumes all the directories to be used exist. This is not the case for the /usr/local/etc/ssl/certs directory. It is not part of this package or its dependency openssl, so if ca-certificates is loaded before whatever does create this directory then update-ca-certificates will fail. Either the update-ca-certificates script needs to be modified to create the certs directory if it does not already exist, or the extension needs to be updated so that directory is in the squashfs structure when it is loaded.
Rich:
Hi andyj
The first 3 lines of /usr/local/tce.installed/ca-certificates are:
--- Code: ---if [ ! -d /usr/local/etc ]; then
mkdir -p /usr/local/etc
fi
--- End code ---
If they were changed to this:
--- Code: ---if [ ! -d /usr/local/etc/ssl/certs ]; then
mkdir -p /usr/local/etc/ssl/certs
fi
--- End code ---
that should solve it, right?
andyj:
Yes, that would work.
Juanito:
..but something is creating /usr/local/etc/ssl/certs.
Is it the openssl startup script?
Rich:
Hi Juanito
Yes, the openssl startup script is creating /usr/local/etc/ssl/certs.
Would you like me to update the ca-certificates startup script?
This way who depends on whom and load order become irrelevant.
Navigation
[0] Message Index
[#] Next page
Go to full version