Bug 1026819 - vlock seems not working on RHEL-7
Summary: vlock seems not working on RHEL-7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kbd
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Vitezslav Crhonek
QA Contact: Tomas Dolezal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-05 13:47 UTC by Patrik Kis
Modified: 2014-06-18 07:33 UTC (History)
2 users (show)

Fixed In Version: kbd-1.15.5-7.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 11:09:53 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Patrik Kis 2013-11-05 13:47:08 UTC
Description of problem:
When locking console in a virtual machine the vlock seems get to endless loop and print only the following message:
The pts/1 is now locked by pkis.
Authentication failure.
It is not possible to enter password at all and it continues until it is killed from another terminal.
It was tested on virtual machine only, but it is expected to work.

Version-Release number of selected component (if applicable):
kbd-1.15.5-6.el7

How reproducible:
always

Steps to Reproduce:
[pkis@rhel7 ~ ]$ vlock 

The pts/1 is now locked by pkis.
Authentication failure.


The pts/1 is now locked by pkis.
Authentication failure.

....%<...........................

From other terminal:
[root@rhel7 ~ ]# killall -9 vlock

Actual results:
It is not possible to unlock.

Expected results:
[pkis@rhel6 ~]$ vlock
 *** This tty is not a VC (virtual console). ***
 *** It may not be securely locked. ***

This TTY is now locked.
Please enter the password to unlock.
pkis's Password: 
[pkis@rhel6 ~]$

Comment 4 Nalin Dahyabhai 2013-11-12 19:00:06 UTC
This fix appears to be incomplete - while the missing configuration file has been re-added, vlock doesn't appear to be calling pam_setcred() after successfully verifying the user's identity as the old version did (see also bug #913311).

Comment 5 Tomas Dolezal 2013-11-18 13:12:31 UTC
VERIFIED on kbd-1.15.5-7.el7.x86_64
tested on tty and ssh with success on both

Comment 6 Nalin Dahyabhai 2013-11-18 14:23:12 UTC
The problem I mentioned in comment #4 appears to be causing bug #1029374.  Does that fix belong here, or in a new bug?

Comment 7 Tomas Dolezal 2013-11-19 11:35:55 UTC
Hi Nalin,
problem described in comment 1 is fixed, this blocker bug has to be verified by the end of this week.

I was unable to reproduce your bug 913311. Please try to reproduce on kbd-1.15.5-7.el7.x86_64 and then be sure to clone the bug to RHEL7 product. If I had succeeded, I would have done that.

Comment 8 Nalin Dahyabhai 2013-11-19 15:39:27 UTC
Alright, then, cloning the other bug.  Thanks!

Comment 9 Ludek Smid 2014-06-13 11:09:53 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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