FS#67456 - [moosefs] /var/lib/mfs not owned by user mfs
Attached to Project:
Community Packages
Opened by Hao Long (imlonghao) - Saturday, 01 August 2020, 10:08 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 02 February 2023, 11:37 GMT
Opened by Hao Long (imlonghao) - Saturday, 01 August 2020, 10:08 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 02 February 2023, 11:37 GMT
|
Details
Description:
When starting moosefs-chunkserver or moosefs-master, moosefs need to create a lock file in directory /var/lib/mfs. moosefs is run by user mfs, but the directory /var/lib/mfs is owned by user root. Additional info: * package version(s) 3.0.111-1 * config and/or log files etc. ``` # mfschunkserver start open files limit has been set to: 16384 working directory: /var/lib/mfs can't create lockfile in working directory: EACCES (Permission denied) ``` * link to upstream bug report, if any N/A Steps to reproduce: 1. pacman -S moosefs 2. mfschunkserver start |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Thursday, 02 February 2023, 11:37 GMT
Reason for closing: Fixed
Thursday, 02 February 2023, 11:37 GMT
Reason for closing: Fixed
Perhaps this is just a matter of logging out and in, or using the `newgrp` command after installation?
I will try to reproduce the issue.
I believe the package needs to add a moosefs.tmpfiles file with the following contents:
d /var/lib/moosefs 0750 mfs mfs -