Bug 1053135 - ppp package installs content into volatile /var/lock -> /run/lock
Summary: ppp package installs content into volatile /var/lock -> /run/lock
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ppp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Sekletar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1059832 (view as bug list)
Depends On:
Blocks: 1173011
TreeView+ depends on / blocked
 
Reported: 2014-01-14 18:02 UTC by Jaromír Cápík
Modified: 2016-02-01 01:59 UTC (History)
5 users (show)

Fixed In Version: ppp-2.4.5-35.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1173011 (view as bug list)
Environment:
Last Closed: 2015-01-07 23:56:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaromír Cápík 2014-01-14 18:02:39 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 Jaromír Cápík 2014-01-14 18:36:41 UTC
Additionally it creates /var/run/ppp where /var/run is linked to /run ...

Comment 2 Jaromír Cápík 2014-01-14 19:11:50 UTC
The /var/lock one could be a false positive (repoquery also reports files referenced in the pre/post scriptlets), but the /var/run/ppp really exists ...

Comment 3 Jaromír Cápík 2014-01-14 19:53:14 UTC
The following line seems to create the /var/run/ppp directory ...

mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/ppp

Comment 4 Jaromír Cápík 2014-01-14 20:37:00 UTC
Thw following one should probably be ghosted ...

%dir %{_localstatedir}/run/ppp

Comment 5 Jaromír Cápík 2014-01-30 16:26:58 UTC
NOTE: If the directory is needed in between the installation and the consequent reboot, then it's better to create it with proper rights in the %post section. Anyway it's up to you to decide how to deal with this report. Closing as WONTFIX or NOTABUG is a solution too.

Comment 6 Michal Sekletar 2014-12-09 15:39:45 UTC
*** Bug 1059832 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2014-12-11 09:57:50 UTC
ppp-2.4.5-35.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ppp-2.4.5-35.fc20

Comment 8 Fedora Update System 2014-12-13 09:37:55 UTC
Package ppp-2.4.5-35.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ppp-2.4.5-35.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16810/ppp-2.4.5-35.fc20
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2015-01-07 23:56:11 UTC
ppp-2.4.5-35.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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