FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2010
    Location
    Poland
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Long shutdown (~1min): "A stop job is running for Session 1 of user..."

    Hello

    I have problem with my Fedora 20. When i want to shutdown system - it takes about 1 minute to power off and freezing on plymouth screen. But when i tap Esc key i can see, that system freeze on shutdown because:

    A stop job is running for Session 1 of user _user_name_
    That process takes about solid 1 minute then shutdown is continued and latop is powered off. Before - system was shutting down in a few seconds.

    I don't know what cause this issue - maybe system updates (i'm updating system once per week)? I can't trace what cause the problem - it just started, maybe someone know more about it
    Last edited by Jusko; 10th June 2014 at 10:54 PM.

  2. #2
    Join Date
    Jul 2005
    Location
    RainCity
    Posts
    1,890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Long shutdown (~1min): "A stop job is running for Session 1 of user..."

    Try these commands
    Code:
    systemd-analyze blame|grep "A stop job is running for"
    systemd-analyze critical-chain|grep "A stop job is running for"
    journalctl -b -1
    Try them without grepping too, if need be.
    Kurt Driver
    Vancouver, Canada

    https://www.wikitree.com/wiki/Driver-1479

  3. #3
    Join Date
    Jun 2005
    Location
    Montreal, Québec, Canada
    Age
    85
    Posts
    10,164
    Mentioned
    33 Post(s)
    Tagged
    0 Thread(s)

    Re: Long shutdown (~1min): "A stop job is running for Session 1 of user..."

    I had the same thing, and I think it is due to a defunct session. The session can't respond because it is defunct.
    Sometimes we could appreciate more informative messages.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840
    We get too soon old, and too late smart!

  4. #4
    Join Date
    Aug 2011
    Posts
    899
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Long shutdown (~1min): "A stop job is running for Session 1 of user..."

    If I understand correctly, it's a bug in systemd:
    http://lists.freedesktop.org/archive...ry/016519.html (and the whole thread)
    https://bugzilla.redhat.com/show_bug.cgi?id=1023820

  5. #5
    Join Date
    Aug 2011
    Posts
    899
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Long shutdown (~1min): "A stop job is running for Session 1 of user..."

    From https://bugzilla.redhat.com/show_bug.cgi?id=1073714#c6 , a workaround would be to manually run:
    systemctl stop user@$UID.service && systemctl poweroff

  6. #6
    Join Date
    Jan 2010
    Location
    Poland
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Long shutdown (~1min): "A stop job is running for Session 1 of user..."

    Thank You All for responses It seems, that the problem is somewhere in systemd.

    systemctl stop user@$UID.service && systemctl poweroff
    Ech, nothing changed


    But - to avoid broken deps i've typed:

    Code:
    yum downgrade systemd libgudev1 systemd-python  systemd-libs systemd-python3
    Systemd was downgraded from 208-16.fc20.x86_64 to 208-9.fc20.x86_64 and it seems that everything is OK now - laptop is powered off in a few seconds again.

    First serious problem with Fedora in last years I think that the next step to solve the problem will be to submit new bug on bugzilla. It's nothing serious after all but it can be frustrating on every shutdown.

Similar Threads

  1. This "A Start Job Is Running" stuff
    By glennzo in forum F19 Development
    Replies: 20
    Last Post: 14th June 2013, 08:53 AM
  2. Replies: 2
    Last Post: 30th May 2013, 06:07 PM
  3. Replies: 30
    Last Post: 24th August 2011, 01:35 PM
  4. How to add "shutdown" to the user menubar
    By decodedthought in forum Using Fedora
    Replies: 2
    Last Post: 30th May 2011, 03:23 PM
  5. Replies: 0
    Last Post: 23rd May 2005, 04:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •