Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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) - Monday, 07 September 2020, 18:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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)
Monday, 07 September 2020, 18:36 GMT
Reason for closing:  No response
Comment by Alexander F. Rødseth (xyproto) - Sunday, 02 August 2020, 10:26 GMT
The permissions are specified in `moosefs.sysusers`, and should be handled by the installation.
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.

Loading...