If you want to see this in action I have a set of provisioning scripts that reprocuce the problem in an automated way...
On a brand new Debian 8.1 linode, if you run my script it will prompt you for a mysql password-- the thing is I tried to pre-set the mysql password with debconf.
If you want to see this in action I have a set of provisioning scripts that reprocuce the problem in an automated way...
On a brand new Debian 8.1 linode, if you run my script it will prompt you for a mysql password-- the thing is I tried to pre-set the mysql password with debconf.
git clone https:/ /github. com/bradchesney 79/2015DebianJe ssieWebserverPr oject.git eWebserverProje ct-master/ 652c47c39f2cf69 2d562d9d23 nJessieWebserve rProject- master/ * /root/bin/ bin/build- script. sh
pushd 2015DebianJessi
git checkout ef2dd6e396c0b88
popd
mkdir -p /root/bin
cp -R /root/2015Debia
./root/
The system will begin to build.
<CTRL> + <Z> the password prompt to get back to the command line.
I try to run the debconf command after the fact:
root@server/root/# echo "mysql-server mysql-server/ root_password select passw0rd" | debconf- set-selections
<Output> debconf/ config. dat is locked by another process: Resource temporarily unavailable
debconf: DbDriver "config": /var/cache/
</Output>
root@server/root/# fuser -v /var/cache/ debconf/ config. dat
<Output>
USER PID ACCESS COMMAND debconf/ config. dat:
root 19165 F.... frontend
/var/cache/
</Output>
root@server/root/# kill 19165
Succeeds.
root@server/root/# echo "mysql-server mysql-server/ root_password select passw0rd" | debconf- set-selections
Succeeds.