Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697614 - long TTY local login
Summary: long TTY local login
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-13 09:32 UTC by mrl5
Modified: 2019-10-27 18:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
logfiles (slow-login-logs.tar.gz,5.44 KB, application/gzip)
2019-10-13 09:32 UTC, mrl5
Details

Note You need to log in before you can comment on or make changes to this bug.
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