Bug 1053133 - lockdev package installs content into volatile /var/lock -> /run/lock
Summary: lockdev package installs content into volatile /var/lock -> /run/lock
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lockdev
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Popelka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-14 18:00 UTC by Jaromír Cápík
Modified: 2016-02-01 01:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-14 18:16:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.