[ubuntu] Problems launching Startup scripts – Ubuntu 18.04.1 LTS

[ubuntu] Problems launching Startup scripts – Ubuntu 18.04.1 LTS

I have been reviewing different How To articles on using /etc/rc.local as well as the systemd compatible rc-local.service. Neither of these are currently providing the service I am hoping for on startup.

The /etc/rc.local file is a 9 line script. It appears to launch half of the scripts within the file, but does not complete them. What could interrupt it? (The /etc/rc.local file excutes flawlessly from the command line, and completes execution.)

The systemd rc-local.service reports the following:

● rc-local.service – /etc/rc.local Compatibility
Loaded: loaded (/etc/systemd/system/rc-local.service; enabled-runtime; vendor preset: enabled)
Drop-In: /lib/systemd/system/rc-local.service.d
Active: active (exited) since Mon 2020-11-30 16:56:00 EST; 33min ago
Docs: man:systemd-rc-local-generator(8)
Process: 2774 ExecStart=/etc/rc.local start (code=exited, status=0/SUCCESS)

Nov 30 16:55:59 itssafe-NUC7i5DNHE root[4976]: IPSet: es wget failed.
Nov 30 16:55:59 itssafe-NUC7i5DNHE root[4982]: IPSet: at wget failed.
Nov 30 16:55:59 itssafe-NUC7i5DNHE root[4994]: IPSet: lt wget failed.

The Three lines indicate that wget cannot retrieve remote file from the network. I am using the following configuration:

# SPDX-License-Identifier: LGPL-2.1+
# This file is part of systemd.
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.

# This unit gets pulled automatically into multi-user.target by
# systemd-rc-local-generator if /etc/rc.local is executable.
Description=/etc/rc.local Compatibility

ExecStart=/etc/rc.local start


Neither the /etc/rc.local or rc-local.service execute completely (or as in the case for the service,after the network is running).

How do I resolve this problem, and get the startup script to execute as it does after the workspace is available?


Previous How to Learn Linux Kernel Development - Books and FREE Online Course
Next Velocidad de internet capada?

About author

You might also like

Ubuntu Dsicussions 0 Comments

gnome-software (Software Center) does not allow me to install software

Finally got upgraded to 20.04 and am still having issues. This one is that when I run the Software Center, I am not allowed to install software. I used to

Ubuntu Dsicussions 0 Comments

Failed update 18.04 to 20.04 (An unresolvable problem occurred while …)

Ran Code: sudo do-release-upgrade -d and got to: Code: Could not determine the upgrade An unresolvable problem occurred while calculating the upgrade. This was likely caused by: * Unofficial software

Ubuntu Dsicussions 0 Comments

In Ubuntu Studio how do I set up an audio interface and system sound simultaneously?

I had this working and then it stopped and I can not figure out how to set up both my audio interface and the system sound ( the audio output


No Comments Yet!

You can be first to comment this post!

Leave a Reply