Bug 174850 - loadkeys get permission denied as regular user
Summary: loadkeys get permission denied as regular user
Keywords:
Status: CLOSED DUPLICATE of bug 172425
Alias: None
Product: Fedora
Classification: Fedora
Component: kbd
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-02 19:19 UTC by Brian G. Anderson
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-12-02 19:39:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian G. Anderson 2005-12-02 19:19:16 UTC
Description of problem:
Whenever I login as a regular user  I get:

Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 1: Permission denied
KDSKBENT: Operation not permitted
loadkeys: could not deallocate keymap 3

I get the same message if I do loadkeys -d.  The command succeeds as root. 
Interestingly, if I do 'setenforce 0' and relogin I still get the same message.

The loadkey command seems to be run by /bin/unicode_start which is called by
/etc/profile.d/lang.sh.  Because loadkey fails the rest of the user profile and
.bashrc is not loaded.


This is a fresh install updated to devel repo as of 12/2/05.

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


How reproducible:
at every login


Steps to Reproduce:
1. Fresh install
2. Login as regular user
3.
  
Actual results:
initial profile execution fails because loadkeys fails


Expected results:
loadkeys succeeds and user profiles complete execution


Additional info:

my $LANG environment was set to en_US.UTF-8

Comment 1 Miloslav Trmač 2005-12-02 19:39:53 UTC
The kernel has prohibited changing the keymap by regular users recently, so
kbd-1.12-12 doesn't call loadkeys in unicode_start any more.

Thanks for your report.

*** This bug has been marked as a duplicate of 172425 ***


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