[MDEV-8758] open file(gvwstate.dat.tmp) failed(Permission denied) Created: 2015-09-06  Updated: 2021-05-02  Resolved: 2015-09-10

Status: Closed
Project: MariaDB Server
Component/s: Galera Arbitrator garbd
Affects Version/s: 10.0.21-galera
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Sergey Sidlyarenko Assignee: Nirbhay Choubey (Inactive)
Resolution: Done Votes: 0
Labels: None
Environment:

Debian jessi



 Description   

Im am install garb from you repositary on Debian jessi, and configure.
#cat /etc/default/garb
GALERA_NODES="192.168.0.1:4567 192.168.0.2:4567 192.168.0.3:4567"
GALERA_GROUP="cluster"
GALERA_OPTIONS="gmcast.listen_addr=192.168.0.4"
LOG_FILE="/var/log/garb.log"

After run i am see in garb.log Warning: open file(gvwstate.dat.tmp) failed(Permission denied)

I am strace garbd and see garb open this file without any path.
I am test set set in start-stop-daemon set option '-d /tmp' no result.
Only set -o root -c root that helped, garb create file in '/' direcory and start as root, but this insecure.
Need parameter for set garb directory, or if this temp file need garb create this file in system /tmp directory.



 Comments   
Comment by Nirbhay Choubey (Inactive) [ 2015-09-10 ]

Filed a bug with upstream (Codership) :
https://github.com/codership/galera/issues/345

Generated at Thu Feb 08 07:29:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.