It looks like we are running into a supposedly fixed bug. We have this
bit of example code:
# force mysql socket to be writable.
"$(mysql_dir)/mysql.sock"
perms => m("0777"),
comment => "make socket world writable";
which results in this verbose log:
verbose: P: Comment: make socket world writable
verbose: Using literal pathtype for '/exports/mysql/mysql.sock'
verbose: Handling file existence constraints on
'/exports/mysql/mysql.sock'
error: chmod failed on '/exports/mysql/mysql.sock'. (chmod: No such
device or address)
verbose: Additional promise info: source path
'/var/cfengine/inputs/
mariadb.cf' at line 68 comment 'make socket world
writable'
verbose: Basedir '/exports/mysql/mysql.sock' not promising anything
verbose: A: Promise was KEPT
note the chmod failure.
also note, that the promise is KEPT despite not being able to set the
perms as promised.
note finally, that a "sudo chmod 0777 /exports/mysql/mysql.sock" works
as expected.
I found this:
https://tracker.mender.io/browse/CFE-1782
which claims it is "fixed"
We are running v3.10.0
GREG
--
Greg Matthews 01235 778658
Scientific Computing Group Leader
Diamond Light Source Ltd. OXON UK
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom