When change or login to specific user, 'abrt-cli status' timed out is always shown



Environment

  • Red Hat Enterprise Linux 7.3
  • abrt-2.1.11-45.el7.x86_64

Issue

  • When change or login to specific user, 'abrt-cli status' timed out is always shown
# su - testuser
Last login: Mon Jun 12 15:00:40 JST 2017 from localhost on pts/0
'abrt-cli status' timed out

Resolution

  • Since lastnotification file is not owned by testuser the user can't update the file. Usually, the file is updated when change or login to the user, and it records the latest time.
  • If the system has a large quantity of abrt status information and it takes over 10 sec, the time out message will be shown every time.
  • To prevent it, correct the file permission, so that the file can be updated. Once the file is updated, time out message should not be shown.
# chown testuser lastnotification

Diagnostic Steps

 [root@server01:~]# cat /etc/passwd |grep testuser
testuser:x:6014:4500::/home/testuser:/bin/bash
[root@server01:~]# ls -la /home/testuser/
total 28
drwxrwx--- 7 testuser group1  206  Jun  9 14:12 .
drwxr-xr-x 4 root     root     37  May 26 14:27 ..
-rw------- 1 user001  group1 1739  Jun  9 16:52 .bash_history
-rw-r--r-- 1 testuser group1   18  Jul 13  2016 .bash_logout
-rw-r--r-- 1 testuser group1  193  Jul 13  2016 .bash_profile
-rw-r--r-- 1 testuser group1  338  May 11 18:37 .bashrc
drwxr-xr-x 3 user001  group1   18  Jun  1 16:21 .cache
drwxr-xr-x 3 user001  group1   18  Jun  1 16:21 .config
-rw-r--r-- 1 testuser group1  172  Apr 28  2016 .kshrc
-rw------- 1 e225675  group1    3  Jun  9 14:12 .psql_history
drwxr-xr-x 3 user001  group1   65  Jun  5 14:43 .subversion
drwxrwxrwx 5 root     root    174  Jun  1 19:20 dir_20170601
drwxrwxrwx 3 root     root   4096  Jun  2 14:03 dir_20170602
[root@server01:~]#
[root@server01:~]# ls -la /home/testuser/.cache/abrt/
total 4
drwxr-xr-x 2 user001 group1 30  Jun  9 16:44 .
drwxr-xr-x 3 user001 group1 18  Jun  1 16:21 ..
-rw------- 1 user001 group1 11  Jun  9 16:44 lastnotification

No comments: