You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
fix(cmapi, brm): MCOL-5535 Use an accurate glob when forcing owner of files in /dev/shm on startup (#2923)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
This commit is contained in:
@ -440,7 +440,7 @@ if __name__ == '__main__':
|
||||
# There were cases when shmem segments belongs to root so
|
||||
# explicitly chowns segments.
|
||||
if use_systemd:
|
||||
for shm_file in glob.glob('/dev/shm/*'):
|
||||
for shm_file in glob.glob('/dev/shm/@SHMEM_FILE_GLOB@*'):
|
||||
shutil.chown(shm_file, USER, GROUP)
|
||||
except subprocess.CalledProcessError as exc:
|
||||
logging.error('{} exits with {}.'.format(cmd, exc.returncode))
|
||||
|
Reference in New Issue
Block a user