Restarting p_mysqld is creating /nonexistent directory

Bug #1766870 reported by Margarita Mazepa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Margarita Mazepa

Bug Description

We have found a bug in script `mysql-wss`. The following part of script creates directory, which names /nonexisten. It happenes every time when customer make a restart controller node.

716 # Regardless of whether we just created the directory or it

717 # already existed, check whether it is writable by the configured

718 # user

719 for dir in $pid_dir $socket_dir; do

720 if ! /usr/bin/sudo -n -u $OCF_RESKEY_user /usr/bin/test -w $dir; then

721 ocf_log err "${LH} Directory $dir is not writable by $OCF_RESKEY_user"

722 exit $OCF_ERR_PERM

723 fi

724 done

Revision history for this message
Margarita Mazepa (mmazepa) wrote :

sla1 for 9.0-update

no longer affects: ubuntu
Changed in fuel:
assignee: nobody → MOS Maintenance (mos-maintenance)
milestone: none → 9.2-mu-6
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Margarita, I tried to reproduce it and failed. sudo -n shouldn't create any dir by itself. Please provide more info on the matter, like if there are customizations to PAM modules or any other scripts.

Changed in fuel:
assignee: MOS Maintenance (mos-maintenance) → Margarita Mazepa (mmazepa)
status: Confirmed → Incomplete
Changed in fuel:
milestone: 9.2-mu-6 → 9.x-updates
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Seems the issue is caused by the local customization of PAM modules.

Closing as Invalid.

Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.