Skip to content

Systemd service halting boot process

Not downloaded yet

Hey all! I am running whoogle-git from the AUR right now, and I have it's systemd service enabled on boot. When I do this, my boot time is lengthened by quite a bit. Here is the output of systemd-analyze critical-chain whoogle.service

https://i.imgur.com/bsQVPCz.png

As you can see, the service is "critical" and thus it needs to finish launching before continuing in the boot process. You can also see that the systemd-networkd-wait-online.service is taking 16 seconds, probably because it's waiting for the whoogle service.

I am not sure exactly what I should be googling for a result but if any of you guys could help me to make the service not halt the boot of my computer, it would be greatly appreciated! Maybe I could also give this solution to the creator of the AUR packages.

4 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
4 · 83% up
Kind
Image
ID
vibda2

Author

15
posts
93
comments
13
media
View profile

3 comments

The fact that whoogle waits for network online is not an issue. You need to find out what is stopping you from getting to graphical.target. Look at the overall critical chain to see if whoogle is holding things up.

1 points

Sorry for late reply, but I don't think I reach graphical target because I use TTY and xinit to login.

1 points

You could try to disable (or even mask) the systemd-networkd-wait-online.service . Do note that this might cause services (such as the whoogle service) that need an internet connection to fail to start.

ps. afaik the systemd-networkd-wait-online service just blocks untill there is an internet connection, so disabling it just causes the connection to come up a bit later in the boot process

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.