Bug 198761
Summary: | Monotone-Server doesn't start due to permission problems | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas Moschny <thomas.moschny> |
Component: | monotone | Assignee: | Roland McGrath <roland> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | extras-qa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.30-1.fc5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-11-03 19:58:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas Moschny
2006-07-13 12:06:48 UTC
Please attach the log with the exact error messages. Were you root when you ran service start? Do you have SELinux enabled? No, I don't have SELinux enabled. The problem is that the mtn binary itself is told to create the pid file via the --pid-file option, but is run as user 'monotone'; and /var/run has 755 permissions. So one solution could be to have a subdir of /var/run in the package that is writeable by user 'monotone'. And yes, I was root when I ran service start. The log error message is in German (so on a side note, /etc/init.d/monotone should probably set LC_ALL=C). The relevant part is this: monotone-server: Fehler: Konnte PID-Datei '/var/run/monotone-server.pid' nicht erstellen which translates to monotone-server: Error: Could not create pid-file '/var/run/monotone-server.pid' This should be fixed in 0.28-2. Please verify that things are working well for you once that build makes its way through the system so you can get it. Now, the service can't be restarted, because the pid-file "/var/run/monotone/monotone-server.pid" is not removed for "service stop". Monotone complains about the pid-file being existent upon next "service start" and refuses to start. (It seems to me that killproc tries to remove /var/run/monotone-server.pid instead of the correct pid-file.) This issue seems to be fixed in monotone-server-0.30-1.fc5. |