View previous topic :: View next topic |
Author |
Message |
leonchik1976 Guru
Joined: 24 Jan 2010 Posts: 325
|
Posted: Fri Jun 20, 2014 8:42 pm Post subject: poweroff/restart/logout problem |
|
|
I've installed gentoo with systemd, and when i try to perform any of this actions (poweroff/restart/logout) - everything completely hangs, but if i logged to gui as root - it works.
anyone faced the same problem? |
|
Back to top |
|
|
deefster Tux's lil' helper
Joined: 19 Apr 2004 Posts: 77
|
Posted: Sat Jun 21, 2014 4:46 am Post subject: |
|
|
Did you upgrade to systemd from an openrc implementation? If so, I just underwent such an effort, and these procedures might help:
- First, it helps if you're actually using a systemd make.profile to set your USE flags correctly.
Code: | eselect profile list |
recompile everything with a systemd USE component
Code: | emerge --oneshot --pretend $(qlist -ICv $(equery hasuse systemd)| sed 's/^/=/') |
now make sure everything else is up to date
Code: | emerge --update --deep --newuse @world
revdep-rebuild |
make sure you're actually calling systemd as your init (in grub)
reboot
comb through "journalctl -b" output looking for any errors
|
|
Back to top |
|
|
leonchik1976 Guru
Joined: 24 Jan 2010 Posts: 325
|
Posted: Sat Jun 21, 2014 6:25 am Post subject: |
|
|
this is a clean install with systemd profile. The journalctl -b shows nothing (i ran journalctl -f from ssh session) after i perform shutdown/restart/logoff, the whole system just completely hangs,
If i start system, and restart it without loggin in to user - it works, but the moment i logged as a normal user - i can't anymore shutdown/restart/logoff |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Sat Jun 21, 2014 6:56 am Post subject: |
|
|
It may be a permissions issue. Knowing where you are when it hang would help.
Do you login as normal user in a vritual terminal or with a display manager?
Is the user in some critical groups like video and audio?
Logout should be allowed to any user, but restart and shutdown the whole system may need some special permissions.
Did you check the /etc/systemd/logind.conf file and the manual page for it? _________________ Paul |
|
Back to top |
|
|
leonchik1976 Guru
Joined: 24 Jan 2010 Posts: 325
|
Posted: Sat Jun 21, 2014 9:29 am Post subject: |
|
|
if system starts windows any display manager (directly to console), i'm able to poweroff/reset/logout as a regular user, the problem is only with gnome and kde |
|
Back to top |
|
|
leonchik1976 Guru
Joined: 24 Jan 2010 Posts: 325
|
Posted: Fri Jul 04, 2014 10:21 am Post subject: |
|
|
i reinstalled the whole system - KDE - shutdown is normally, for GNOME - it takes about a minute to shutdown |
|
Back to top |
|
|
|