Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd slow boot because of swap? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 283

PostPosted: Tue Apr 07, 2015 10:55 pm    Post subject: systemd slow boot because of swap? [solved] Reply with quote

My systemd boot takes about 2 minutes, but it used to boot within 5 seconds.

The reason is about "/dev/SWAP"? But I don't have any swap.

fpemud-workstation ~ # journalctl -b
...
Apr 08 05:34:55 fpemud-workstation systemd[1]: Started Update is Completed.
Apr 08 05:34:55 fpemud-workstation systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
Apr 08 05:34:55 fpemud-workstation systemd[1]: Failed to start Create Volatile Files and Directories.
Apr 08 05:34:55 fpemud-workstation systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.
Apr 08 05:34:55 fpemud-workstation systemd[1]: systemd-tmpfiles-setup.service failed.
Apr 08 05:34:55 fpemud-workstation systemd[1]: Starting Update UTMP about System Boot/Shutdown...
Apr 08 05:34:55 fpemud-workstation systemd[1]: Started Update UTMP about System Boot/Shutdown.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Job dev-SWAP.device/start timed out.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Timed out waiting for device dev-SWAP.device.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Dependency failed for /dev/SWAP.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Dependency failed for Swap.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Job swap.target/start failed with result 'dependency'.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Job dev-SWAP.swap/start failed with result 'dependency'.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Job dev-SWAP.device/start failed with result 'timeout'.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Reached target System Initialization.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Starting System Initialization.
Apr 08 05:36:22 fpemud-workstation systemd[1]: Started Daily Cleanup of Temporary Directories.
...

My systemd version is 219-r2.
My kernel version is 3.19.1-gentoo x86_64


Last edited by fpemud on Wed Apr 08, 2015 2:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1065
Location: Massachusetts USA

PostPosted: Wed Apr 08, 2015 3:03 am    Post subject: Reply with quote

If you have /dev/SWAP in /etc/fstab remove it.
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 283

PostPosted: Wed Apr 08, 2015 2:25 pm    Post subject: Reply with quote

Ah... yes.
In fact I shouldn't have this file, all my mount point are configured by *.mount.
However this file re-appears.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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