You are not logged in.

#1 2016-12-28 17:50:32

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Disable boot message 'A start job is running for ...'

I've set my nectl profile by using the wifi-menu -o tool and Internet works perfectly.
Howver, on boot I get a delayed message...: A start job is running for Automatically generated profile from wifi-menu - or something similar.
It delays my bot for 1/2 seconds or less. How can I disable this message? Is it an error?

Any suggestion is appreciated...! thanks in advance

Offline

#2 2016-12-28 18:11:33

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Disable boot message 'A start job is running for ...'

Offline

#3 2016-12-28 19:04:27

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Disable boot message 'A start job is running for ...'

Thanks man, it worked by deleting the string network.target from /usr/lib/systemd/system/systemd-user-sessions.service.
What was it however caused by? Maybe that string was added by wifi-menu?

Offline

#4 2016-12-28 19:35:17

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Disable boot message 'A start job is running for ...'

No that string comes with the unit file from upstream.
Why you never saw the message before is because either there was nothing to be done for network.target or all services started by network.target completed without delay.
I would not recommend modifying a system service file under /usr/lib/systemd/ directly see Editing_provided_units for safer ways.
As the edited file under /usr/lib/systemd/ will be overwritten by the next update to the systemd package.
If the service that is causing the delay is actually failing then it is not providing internet access you can just disable that service then reinstall the systemd package to cause /usr/lib/systemd/system/systemd-user-sessions.service to reset to its original contents.
As you mentioned only a half second delay I assumed the service was succeeding just slowly.

Offline

#5 2016-12-28 20:58:35

Dudl3y
Member
Registered: 2016-12-28
Posts: 49

Re: Disable boot message 'A start job is running for ...'

@loqs ok, could you precisely post the safer way which makes me also prevent my edited file to be overwritten from the next update to the systemd package? Ty in advance man

Offline

#6 2016-12-28 21:17:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Disable boot message 'A start job is running for ...'

loqs already posted the link to the wiki page.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB