Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519358 - sys-cluster/drbd-8.4.3 should use /run/lock instead of /var/lock
Summary: sys-cluster/drbd-8.4.3 should use /run/lock instead of /var/lock
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard: Pending removal: 2018-04-17
Keywords: PMASKED
Depends on: 590872
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2014-08-07 23:16 UTC by Konstantin
Modified: 2018-04-29 17:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin 2014-08-07 23:16:32 UTC
sys-cluster/drbd-8.4.3 ebuild needs to create /var/lock directory otherwise you are not able to start resource:

server # drbdadm create-md r1
open(/var/lock/drbd-147-1): No such file or directory
Command 'drbdmeta 1 v08 /dev/vg01/drbd_r1v1 internal create-md' terminated with exit code 20

After

server # mkdir /var/lock

drbd was working correctly.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-08 09:34:04 UTC
/var/lock is deprecated in favour of /run/lock.
Comment 2 Konstantin 2014-08-08 16:15:29 UTC
(In reply to Jeroen Roovers from comment #1)
> /var/lock is deprecated in favour of /run/lock.

So symbolic link solves problem with this ebuild better. Thank you.
Comment 3 Pacho Ramos gentoo-dev 2016-05-06 11:30:17 UTC
is this a regression over 8.4.2?
Comment 4 Pacho Ramos gentoo-dev 2018-04-29 17:45:48 UTC
removed