Red Hat Bugzilla – Bug 656565
Please Update Spec File to use %ghost on files in /var/run and /var/lock
Last modified: 2012-05-31 15:39:35 EDT
Your package couchdb appears to include a file in /var/run or /var/lock. With an upcoming change in Rawhide these directories will now be mounted as tmpfs. For details about this change please consult http://lists.fedoraproject.org/pipermail/devel-announce/2010-November/000726.html For your package this means that you need add %ghost to all files that are placed in either of these two directories. Please make sure to make this change in time for the F15 cycle. For details about %ghost see http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-GHOST-DIRECTIVE , for more information on the F15 feature see the feature page https://fedoraproject.org/wiki/Features/var-run-tmpfs . If your package already uses %ghost on these files, feel free to close this bug report right-away. Sorry for this mass bug filing, and if you have any further questions, don't hesitate to ask on fedora-devel or ask me personally. Thank you, Lennart
I'm on rawhide and recently have had to
$ sudo mkdir /var/run/couchdb
$ sudo chown couchdb:couchdb /var/run/couchdb
in order to get couch to start. I'm running couchdb-1.0.2-2.fc16.x86_64, so this still appears to be an open issue.
Created attachment 491048 [details]
the couchdb init script in fedora does not need a special /var/lock file (uses file /var/lock/subsys/couchdb, which works fine as is), but a /var/run/couchdb is necessary.
i have attached a working file (btw: test systemd-tmpfiles --create) /etc/tmpfiles.d/couchdb with following content.
d /var/run/couchdb 710 couchdb couchdb
erlang-ibrowse-2.2.0-2.fc14,couchdb-1.0.2-7.fc14 has been submitted as an update for Fedora 14.
erlang-ibrowse-2.2.0-2.el6,couchdb-1.0.2-7.el6 has been submitted as an update for Fedora EPEL 6.
couchdb-1.0.2-7.fc15 has been submitted as an update for Fedora 15.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing couchdb-1.0.2-7.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
erlang-ibrowse-2.2.0-2.fc14, couchdb-1.0.2-7.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
couchdb-1.0.2-7.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
erlang-ibrowse-2.2.0-2.el6, couchdb-1.0.2-7.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.