Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
poweroff/restart/logout problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
leonchik1976
Guru
Guru


Joined: 24 Jan 2010
Posts: 325

PostPosted: Fri Jun 20, 2014 8:42 pm    Post subject: poweroff/restart/logout problem Reply with quote

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
View user's profile Send private message
deefster
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2004
Posts: 77

PostPosted: Sat Jun 21, 2014 4:46 am    Post subject: Reply with quote

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
View user's profile Send private message
leonchik1976
Guru
Guru


Joined: 24 Jan 2010
Posts: 325

PostPosted: Sat Jun 21, 2014 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Sat Jun 21, 2014 6:56 am    Post subject: Reply with quote

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
View user's profile Send private message
leonchik1976
Guru
Guru


Joined: 24 Jan 2010
Posts: 325

PostPosted: Sat Jun 21, 2014 9:29 am    Post subject: Reply with quote

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
View user's profile Send private message
leonchik1976
Guru
Guru


Joined: 24 Jan 2010
Posts: 325

PostPosted: Fri Jul 04, 2014 10:21 am    Post subject: Reply with quote

i reinstalled the whole system - KDE - shutdown is normally, for GNOME - it takes about a minute to shutdown
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum