Bug 786182
Summary: | /etc/init.d/mcstrans lies about the pidfile | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Schmidt <mschmidt> |
Component: | mcstrans | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | dwalsh, mgrepl, michal, txtoth |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mcstrans-0.3.2-1.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-07 07:51:43 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
Michal Schmidt
2012-01-31 16:37:08 UTC
mcstrans-0.3.2-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mcstrans-0.3.2-1.fc16 *** Bug 786567 has been marked as a duplicate of this bug. *** Michael, I am not sure if you are a regular user of mcstransd but I just converted it to use a unit file for F17. Dan, I used to experiment with MCS on my machine, but I don't use it anymore. I took a look at mcstransd.service in the master branch. I don't like Type=oneshot and RemainAfterExit=yes. mcstransd is obviously a daemon and not a oneshot script that would do some work and exit. See what happens when you kill the daemon with a signal. The service will still appear as "active". Please change it to Type=forking, remove RemainAfterExit and add a PIDFile=... line. Untested, but it could look like this: [Unit] Description=Mcstrans maintaining path file context After=syslog.target ConditionPathExists=/etc/selinux/mls/setrans.d [Service] Type=forking PIDFile=/run/mcstransd.pid ExecStart=/usr/sbin/mcstransd [Install] WantedBy=multi-user.target Package mcstrans-0.3.2-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mcstrans-0.3.2-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1197/mcstrans-0.3.2-1.fc16 then log in and leave karma (feedback). Fixed mcstransd.service in mcstrans-0.3.3-3.fc17 Thanks. mcstrans-0.3.2-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |