You are not logged in.

#1 2012-12-03 21:52:12

Arvid
Member
From: Lund, Sweden
Registered: 2012-01-11
Posts: 5

Poweroff not working with systemd

I poweroff my computer with

systemctl poweroff

as the only user and no root logged in.

Usually it works, but it happens that the screen goes blank with only a blinking cursor at the top.
I enter the debug terminal and type

systemctl list-jobs

which outputs:

239 poweroff.target                   start           waiting
240 systemd-poweroff.service      start           waiting
303 umount.target                     start           waiting
305 dev-disk...\x2dpart2.swap     stop            running
306 dev-disk...4cd9f86a9.swap     stop            running
315 final.target                              start           waiting


If i type

swapoff -a

it continues with the rest of the jobs and powers off.

What is causing this problem?

Thanks in advance,
Arvid

Offline

#2 2012-12-03 23:52:29

Zancarius
Member
From: NM, USA
Registered: 2012-05-06
Posts: 207

Re: Poweroff not working with systemd

How do you have your swap defined in fstab? It's not specified twice, is it?

Post the output of cat /etc/fstab. Might be handy.


He who has no .plan has small finger.
~Confucius on UNIX.

Offline

#3 2012-12-04 00:36:47

Arvid
Member
From: Lund, Sweden
Registered: 2012-01-11
Posts: 5

Re: Poweroff not working with systemd

#
# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
tmpfs        /tmp    tmpfs    nodev,nosuid    0    0
# UUID=c9d457b4-4976-4103-909c-08716b9c63d3
/dev/sda3               /             ext3          rw,relatime,data=ordered    0 2

# UUID=2005b628-7568-49f3-af6f-83eb2c1a412b
/dev/sda1               /boot         ext2          rw,relatime    0 2

# UUID=10bf674a-51d4-4b9a-bc31-381dcb24a84a
/dev/sda5               /var          reiserfs      rw,relatime    0 2

# UUID=a1846ed3-c478-4682-894b-276b2ecf356c
/dev/sda6               /home         ext4          rw,relatime,data=ordered    0 2

# UUID=6120f3f4-ddf5-45b8-8dde-c484cd9f86a9
/dev/sda2               none          swap          defaults      0 0

Offline

Board footer

Powered by FluxBB