Bug 1053133

Summary: lockdev package installs content into volatile /var/lock -> /run/lock
Product: [Fedora] Fedora Reporter: Jaromír Cápík <jcapik>
Component: lockdevAssignee: Jiri Popelka <jpopelka>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jpopelka, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-14 18:16:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jaromír Cápík 2014-01-14 18:00:36 UTC
Description of problem:
Hello. As /run is mounted as tmpfs, the content of /run/lock is erased with each reboot and therefore it doesn't make sense to install anything into /var/lock or /run/lock.

The following packages need to be fixed ...

$ repoquery --whatprovides /var/lock/*
lockdev-0:1.0.4-0.15.20111007git.fc21.i686
lockdev-0:1.0.4-0.15.20111007git.fc21.x86_64
opencryptoki-0:3.0-7.fc21.x86_64
opencryptoki-0:3.0-7.fc21.i686
ppp-0:2.4.5-33.fc20.x86_64
$ repoquery --whatprovides /run/lock/*
lvm2-0:2.02.104-2.fc21.x86_64

Comment 1 Jiri Popelka 2014-01-14 18:16:00 UTC
Thanks, but /run/lock/lockdev is %ghost-ed, i.e. owned by the package but not installed.

%global _lockdir %{_localstatedir}/lock/lockdev
%files
%ghost %dir %attr(0775,root,lock) %{_lockdir}

Comment 2 Jaromír Cápík 2014-01-14 19:22:44 UTC
sorry ... some of the reports can be false positives