Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 697614

Summary: long TTY local login
Product: Gentoo Linux Reporter: mrl5 <jakuboo+gentoo>
Component: SELinuxAssignee: SE Linux Bugs <selinux>
Status: UNCONFIRMED ---    
Severity: normal CC: adam
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: logfiles

Description mrl5 2019-10-13 09:32:05 UTC
Created attachment 592636 [details]
logfiles

I believe that it's elogind related:

after booting the machine and passing valid credentials for any user (including root) I must wait ca. 20 sec for .bash_profile execution

the problem disappears when I `semanage permissive -a initrc_t` and reboot.

This is boot level specific IMO - because when I log in (wait ~20 s) then `semanage permissive -a initrc_t` and relogin/log in in another TTY - I still need to wait ~20 s

logfiles in attached archive:
00_sestatus.log
01_rc-update.log
02_audit2why-d.log
03_audit2why-a.log
04_permissive_types.log
05_dmesg.log
06_audit.log
07_emerge-info.log
Comment 1 mrl5 2019-10-27 17:18:02 UTC
I've tested in on another machine and actually it is `dbus` related.

In other words the problem occurs when `dbus` is started (e.g. is in `default`) runlevel` before the login is possible