Bug 120962 - locking type 1 initialization failed
locking type 1 initialization failed
Status: CLOSED DUPLICATE of bug 120595
Product: Fedora
Classification: Fedora
Component: policy (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
Depends On:
Blocks: FC2Blocker
  Show dependency treegraph
Reported: 2004-04-15 13:08 EDT by Gene Czarcinski
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 14:02:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gene Czarcinski 2004-04-15 13:08:54 EDT
Description of problem:

After updating to latest lvm2, I get "locaking type 1 initialization
failed ... /var/lock/lvm failed, access denied.

Version-Release number of selected component (if applicable):

The following is from /var/log/messages:

Apr 15 12:46:54 chaos kernel: audit(1082047579.265:0): avc:  denied  {
create } for  pid=126 exe=/sbin/lvm.static name=lvm
scontext=system_u:system_r:lvm_t tcontext=system_u:object_r:var_lock_t
Comment 1 Stephen Tweedie 2004-04-15 14:55:29 EDT
Looks like a policy problem at heart.
Comment 2 Gene Czarcinski 2004-04-15 15:07:40 EDT
I thought it might be but was not sure (that is why I had cc'ec him on
the original report).  I doubt he needs two copies of each update so I
am deleting him from the CC list.
Comment 3 Daniel Walsh 2004-04-16 07:03:33 EDT
Fixed in policy-1.11.2-9
Comment 4 Gene Czarcinski 2004-04-16 17:17:15 EDT
This one is not a winner ... update to lvm2-2.00-12-4 and
policy-1.11.2-9 and still get the initialzation failure.

I am not currently using lvm so this does not bother me too much.

Apr 16 17:09:13 chaos kernel: audit(1082149721.992:0): avc:  denied  {
create } for  pid=314 exe=/sbin/lvm.static name=lvm
scontext=system_u:system_r:lvm_t tcontext=system_u:object_r:var_lock_t

ls -Z /var
drwxrwxr-x  root     lock     system_u:object_r:var_lock_t     lock
Comment 5 Colin Walters 2004-04-20 17:01:57 EDT

*** This bug has been marked as a duplicate of 120595 ***
Comment 6 Red Hat Bugzilla 2006-02-21 14:02:36 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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