the startup sequence, from the time the kernel goes live to when all services are up and running

learn more… | top users | synonyms

0
votes
0answers
34 views

Run sh script at system startup - Red Hat 7.2

I searched the Internet but there are too much different opinions about this issue. I have two scripts to run. One to run at system startup (not at system reboot as I read in some posts) and another ...
0
votes
0answers
15 views

I'm able Start Service With init.d script, however doing service <service name> start does not work

I'm able to start a service with an init.d script, however doing service <service name> start does not work. For e.g. /etc/init.d/haskal start, the service is starting fine and service haskal ...
1
vote
1answer
10 views

Arch bootup: network.target takes a long time to start [on hold]

As it was discussed at another post here a process is blocking the boot sequence, so it takes really long to start up. Login via mosh (ssh replacement) is possible after 1:30 min. Here is my output ...
0
votes
1answer
2k views

Indicator-cpufreq doesn't start on login

If I run indicator-cpufreq in the console it will start up just like it is supposed to and appear in the panel. However, if I place the same command in the startup programs it doesn't appear on ...
10
votes
3answers
1k views

Boot into a chroot?

I have Linux (Debian Jessie) installed on a hard drive. Drive - sda1, ext4fs, and sda2 - swap I have a /chroot folder. There is installed another system, in /chroot folder. Question: How to tell ...
1
vote
1answer
19 views

How do I automatically execute `netctl start tq84-wifi` on bootup?

I have configured a wifi connection in /etc/netctl/tq84-wifi in a Arch Linux installation and am able to manually start it with sudo netctl start tq84-wifi. Now I'd like to have my installation start ...
0
votes
1answer
52 views

How to execute shell script on Kali Linux startup?

I need to execute a shell script on a Kali Linux startup. I am using 2016.1 version of Kali Linux. i tried many things like rc.local, init.d, X11 and GDM3 config etc. but I couldn't get it work. ...
1
vote
1answer
2k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat ...
5
votes
1answer
1k views

rc.local with read will not echo key strokes

I'm using CentOS 6.4 and have a small problem with using read in /etc/rc.local file. It will allow keyboard entry but does not echo any of the key strokes during input. This is something that worked ...
0
votes
0answers
15 views

custom bootup/shutdown message

I am using Debian. I set my own image during boot (so no boot messages are visible). When I start PC my own image is shown, then approx 15 seconds black screen is visible and after that it shows my ...
0
votes
1answer
30 views

Running script at startup and exiting gracefully at shutdown

I am currently running a script at startup using /etc/rc.local. The problem is that during shutdown, it does not exit gracefully. This can cause (important) data loss. My script has a SIGINT handler ...
1
vote
1answer
24 views

Auto mount hard disk

I got a dual-boot Windows and an Apricity OS (based on ArchLinux) machine. Windows is installed on /dev/sda4. Apricity OS is installed on /dev/sdb. What I want to achieve is not to have to type ...
0
votes
0answers
11 views

Random applications starts after log in

Recently I've changed desktop environment from fluxbox to KDE. After that weird things starts to happen . Firstly I noticed that even if I'm logging into kde, my fluxbox startup applications are ...
1
vote
1answer
2k views

Start application as root at boot time on Ubuntu 14.04

I'm working in Ubuntu 14.04 I have an C++ application which I have compiled. I get the executable which name is "program". Well the thing is that this program use opencv and sockets then if I try to ...
1
vote
1answer
24 views

How to manually add startup applications on Mint 17.3

I have fully updated Linux Mint 17.3. I need to add a bunch of applications to startup. The problem is, the following dialog doesn't work - It won't add me an application from the list, nor it will ...
8
votes
3answers
3k views

What are the minimum root filesystem applications that are required to fully boot linux?

It's a question about user space applications, but hear me out! 3 'applications', so to speak, are required to boot a funcitonal distro of Linux: Bootloader - For embedded typically that's U-Boot, ...
6
votes
2answers
914 views

What is causing a pause during the system device probe?

I am running FreeBSD 10.0-RELEASE. During the boot device probe there is a two-times 30 second pause. The output relevant to this is # dmesg ... (aprobe0:ata0:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 ...
0
votes
1answer
2k views

Runtime parameters for a systemd service

I am a little confused about how runtime parameters are normally supplied to a systemd service. The general idea I have is that the following happens: There is a file that contains the environment ...
1
vote
1answer
1k views

Cannot add startup service to openWRT from init.d

I have openWrt installed on a TP-Link TL-WA901N/ND v3. I don't have luci package installed because I don't have enough space, so I can only do thing via cli. What I'm trying to achieve is to create a ...
13
votes
4answers
15k views

How can I run a script that starts before my login screen?

I was calibrating my touch screen, and saw that the best tool around was xinput_calibrator. So I used it. It have two options (one of which did not work), so I am here for the second. It says I should ...
0
votes
1answer
33 views

When do cron tasks begin to execute?

Having read through the Wikipedia page on cron, it is unclear to me when cron begins to execute the tasks I have defined in the crontab file. Is it during the boot process - or even at the end of it - ...
1
vote
1answer
25 views

Which configuration files override /etc/default/locale?

For some strange reason, I find my I have several LC_ locale variables set to a value I don't recognize having chosen (en_ZA.UTF-8). So, I want to set it differently - permanently, from the ...
0
votes
1answer
2k views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
0
votes
1answer
47 views

Systemd vs rc.local for a startup script post installation? (completely hands free)

I have a custom Ubuntu Server ISO that answers installation questions via preseed and kickstart files. It also installs additional .debs I've placed on the ISO during the actual installation as well. ...
2
votes
2answers
2k views

run executable on boot

For the life of me, I cannot get this to work. I'm running Debian on Raspberry Pi. running this command from CLI: /home/pi/domotiga/DomotiGaServer.gambas -d runs my home automation server. How ...
4
votes
2answers
134 views

Why is boot slow?

I'm using Fedora 23, MATE edition. The computer feels slow to boot. How can I speed it up? Full details http://i.imgur.com/vrLGXDp.jpg $ systemd-analyze Startup finished in 16.571s (firmware) + ...
1
vote
2answers
55 views

How can I start program on boot in Ubuntu 14.04?

Is the root crontab the only way? I'm starting up a MC server and don't want it to need me to manually restart it each time the server reboots for whatever reason. I don't want any login required ...
0
votes
0answers
20 views

Successful Kali 2 VB Install, but Cannot Start

I have 32-bit Ubuntu host machine with VirtualBox. Downloaded and installed kali-linux-2016.1-i386.iso from Kali Linux Downloads Here is the configuration But when I attempt to run Kali 2 from ...
1
vote
2answers
4k views

Run gui application on startup

I can run a script at boot by adding the following line to my crontab: @reboot perl /path/script That works fine. But the problem arises when I try to run a gui application such as gmail notify. It ...
1
vote
1answer
19 views

alsa config for startup

I'm having a problem with my headphone. A friendly person over at the #alsa irc channel came up with this to rectify: sudo hda-verb /dev/snd/hwC0D0 0x15 SET_EAPD_BTLENABLE 2 However it has to be ...
3
votes
3answers
27k views

Disabling graphical login in Debian wheezy

I have installed Debian wheezy on my machine with a netinst image, now I would like to deactivate the desktop and boot straight to the command line, not only that but I would like to not waste any ...
0
votes
1answer
25 views

How to get a list of all user scripts that are called on startup?

I have emacs daemon launching on startup and I have no idea where it is being launched. I've checked systemd and I don't have a service neither in /etc/systemd/system nor in /usr/lib/systemd/system. ...
1
vote
0answers
20 views

How to start a service upon an lxc container start?

I would like to start OpenVPN automatically upon the launch of its lcx container. The container runs Ubuntu 14.04.4 LTS, service openvpn start is successful (when launched from the running container) ...
15
votes
4answers
32k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
2
votes
1answer
71 views

Set environment variable (TZ) for all startup scripts and inittab

I'm working on an embedded Linux system and looking for a way to set the time zone for all processes. The question is: Is there any possibility to set the TZ environment variable at boot time (init ...
0
votes
1answer
51 views

How to make a simple script run at login everytime

I'm extremely new to Linux style computing. Please keep that in mind. I figured out how to write a script for the calendar to pop up in the terminal. !/bin/bash Shell Scrip to display current date, ...
0
votes
0answers
45 views

Does the following error indicate my system is compromised?

[FAILED] Failed to Verify Integrity of password and group files. See 'systemctl status shadow.service' for details. I get this message in T1 every time I start up the computer but I havn't noticed ...
1
vote
2answers
116 views

Custom service (systemd) won't run on startup

I'm creating a non-interactive kiosk in Raspbian. I gutted everything I didn't want - desktop managers, various graphical services etc - the script starts X, an absolutely minimal desktop manager and ...
6
votes
2answers
4k views

How to change timeout in systemctl

When I boot on my debian, startup hangs for approx 2 minutes on the line: Loading, please wait... [ 5.191043] systemd-fsck[129]: /dev/mmcblk0p2: clean, 234192/873120 files, 2335263/3491328 blocks ...
6
votes
0answers
123 views

How to pause (or capture) the messages that fly by at the end of startup sequence?

Towards the end of the "startup sequence"1, I see a longish series of diagnostic messages fly by very quickly, right before I see the login prompt2. AFAICT, most, if not all, of the lines making up ...
5
votes
3answers
264 views

Do I *need* `exit 0` at the end of `rc.local`?

What is the purpose of the exit code in rc.local? I seem to execute just fine without it. The header shows: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure ...
3
votes
2answers
3k views

Autostart a GUI application in Debian as root

I would like to know which is the most correct way to make my Debian automatically start up a graphical application once the desktop has been loaded. The app must be started as root.
4
votes
1answer
75 views

When is the appropriate time to start Redshift using upstart?

I have been trying to get Redshift to start before login so that the bright welcome screen does not blind me, in particular when switching users. Running Redshift as a service does not seem fully ...
0
votes
1answer
21 views

Start radio with systemd service

On a headless RaspberryPi, I would like to automatically start radio on boot, without any human action. I have written this file as /etc/systemd/system/radio.service : [Unit] Description=Radio ...
2
votes
0answers
72 views

Running a service before log in

I don't like opening a question here for such a, seemingly, simple issue; but I've been stuck on this for a while now and I have no idea what to do next. I'm running a Fedora 22 system on a ...
1
vote
0answers
31 views

Configuring update-rc.d script for startup only

I'm running Yocto Poky and have a test script I want to run on startup only. The script just appends date to a file echo $(date) >> ~/test.txt. I add it to the daemon with: update-rc.d -f ...
3
votes
4answers
11k views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
3
votes
3answers
676 views

get rid of “No Caching mode page found” message during boot

during early boot, I get following error message: [sdb] No Caching mode page found [sdb] Assuming drive cache: write through If I understand correctly, this is actually just a harmless info message ...
0
votes
3answers
75 views

Startup script needs root permissions

I have a script that I need to run at startup. I have it in init.d. I need to execute one of the commands within the script with root permissions. How do I go about doing this? Edit 1: For ...
0
votes
2answers
131 views

Systemd wait for network interface to be up before running service

I have a couple questions about systemd. I'm having issues consistently getting my script to run once the network interface is up. I have tried Requires and After as seen below but is inconsistent ...