[MCOL-722] Columnstore.xml file permissions Created: 2017-05-19 Updated: 2023-10-26 Resolved: 2017-06-12 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.0.8 |
| Fix Version/s: | 1.0.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | joe piscitella | Assignee: | David Hill (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
4.4.0-31-generic #50-Ubuntu SMP |
||
| Description |
|
When the distributeConfigFile runs it is changing the permissions on the Columnstore.xml from 644 to 640 which then causes problems. Root install via package 1.0.81 on Ubuntu 16.04 https://jira.mariadb.org/browse/MCOL-604?jql=project%20%3D%20MCOL 2017-05-19T06:56:39.237379-07:00 ProcessManager[23633]: 39.237318 |0|0|0| D 17 CAL0000: distributeConfigFile called for system file = Columnstore.xml |
| Comments |
| Comment by David Hill (Inactive) [ 2017-05-23 ] |
|
Could not reproduce root@ubuntu16-pm1:/var/log/mariadb/columnstore# ma getsoft Package: mariadb-columnstore-platform root@ubuntu16-pm1:/var/log/mariadb/columnstore# from pm1: root@ubuntu16-pm1:/usr/local/mariadb/columnstore/etc# ll Columnstore.xml mcsadmin distributeconfigfile Successful Distribution of MariaDB ColumnStore Config File ll Columnstore.xml tail -10 debug.log from pm2 before and after root@ubuntu16-pm2:/usr/local/mariadb/columnstore/etc# ll Columnstore.xml |
| Comment by joe piscitella [ 2017-05-23 ] |
|
Environment is using linux HA (corosync/packmaker/drbd) but I was able to get this to happen on single machine. As a work around in the heartbeat agent I added a chmod on xml file before all system call that need to access the file. #mcsadmin getsystemstatus System columnstore-1 System and Module statuses Component Status Last Status Change Module pm1 ACTIVE Mon May 22 19:24:13 2017 MariaDB ColumnStore Replication Feature is enabled #ls -l /usr/local/mariadb/columnstore/etc/Columnstore.xml
This command stops the processing of applications on all Modules within the MariaDB ColumnStore System Checking for active transactions Stopping System... Shutting Down System... #ls -l /usr/local/mariadb/columnstore/etc/Columnstore.xml
apt-cache showpkg mariadb-columnstore-server Reverse Depends: I will try to get time to collect more information but the first time I did the shutdown it did change and the next couple times it did not so results were inconsistent. |
| Comment by David Hill (Inactive) [ 2017-06-06 ] |
|
Hey Joe, can you check these 2 items.. 1. Make sure SELINUX is disabled per the setup guide /usr/local # umask |
| Comment by David Hill (Inactive) [ 2017-06-08 ] |
|
We did have another customer run into this same issue and it was resolved with them setting there system UMASK to the default of 022. So that is most likely your issue also, if you want to check into that further. We also documented the setup guide for information related to this: |
| Comment by joe piscitella [ 2017-06-11 ] |
|
We are all set as we added chmod in the HA agent script and it is working fine now. Didn't see the issue in the standalone environment so must be something to do with the agent code we are using. this can be closed |
| Comment by David Hill (Inactive) [ 2017-06-12 ] |
|
close pre users request. most likely related to UMASK system setting |