Questions tagged [init]

Init is the initial process that loads on a linux system. If init fails to load, it will result in a kernel failure.

Filter by
Sorted by
Tagged with
0 votes
0 answers
53 views

How to autostart `xrandr` in Ubuntu Mate 15.04 [duplicate]

I am happily using Ubuntu Mate 15.04 (Mate 1.8.2) and I need to run a xrandr script in every initialization to correct the resolution of my external monitor. But it doesn't has a /etc/mdm/Init/... ...
3 votes
1 answer
1k views

Revert to upstart

Is it possible to revert an ubuntu 14.10 install to a upstart or a SysV init system. The "loggin" and other issues with systemd has caused me issus with being unable to read the dmesg as normal and ...
7 votes
1 answer
4k views

How does the Ubuntu boot process work?

I have read many articles about the Linux boot process. As I understand the Linux boot process is something like this : BIOS (UEFI) → MBR → grub → Kernel → init What I really don't understand what ...
3 votes
1 answer
2k views

Can there be two init processes?

I am new to Operating Systems (specifically Linux) and this is my first question here I want to ask, can there be two process with CMD = init (as given by ps - e command). I had two processes on my ...
1 vote
1 answer
793 views

My command runs in bash, but not from /etc/init, what have I done wrong?

I'm having some trouble with this init script. When I run the command I'm passing to start-stop-daemon from the command line it works perfectly, even if I run it sudoed as the userid in the script, ...
1 vote
0 answers
736 views

Upstart job not starting - virtual-filesystem not emitted?

I have installed logstash from the official elasticsearch repository on Ubuntu 14.10. Installation process added the upstart job /etc/init/logstash.conf and init script /etc/init.d/logstash # logstash ...
0 votes
1 answer
326 views

Long boot time due to "waiting for network configuration" - but network is configured statically

My system has a statically configured network that is fully functional. However, booting needs a long time due to "Waiting for network configuration" messsages. What can be the cause for this? I ...
4 votes
1 answer
2k views

Sending different kill signals to init - how to log

I have to write a C program to check how init reacts to different kill signals, however I am not sure how to log it - for example signal number 14 crashes the ubuntu, then some higher one turns it off....
1 vote
1 answer
869 views

Why does Ubuntu use both systemd and init? [closed]

Many distros adopted systemd and left init why does Ubuntu still use init?
3 votes
1 answer
3k views

How do I change the runlevel?

How can i change the runlevel in ubuntu 10.04 or 10.10 As far as I can recall ubuntu changed the runlevel with something else? If I want to change the start to terminal only and not X what and r
3 votes
3 answers
5k views

Can't run a fresh install of Ubuntu 14.10, shows kernel panic

I tried to install Ubuntu 14.10 (or 14.04) 64-bit on an older Acer laptop (but not a totally weak one, I could run Ubuntu 14.04 on it before). It could install or boot from an USB drive (created via ...
5 votes
1 answer
17k views

Why doesn't sudo need password when used in rc.local?

I have added sh /home/victor/startupAP.sh into /etc/rc.local and the startupAP.sh contains statement which need sudo: $ cat startupAP.sh #!/bin/bash sudo hostapd -B /etc/hostapd/hostapd.conf 2>...
5 votes
3 answers
4k views

How do I create a single-execution Upstart job guaranteed to complete before two other jobs begin?

How does one write an Upstart task that is guaranteed to run only once after each startup but is also guaranteed to run to completion before either one of at least two other jobs start running. I do ...
0 votes
1 answer
164 views

High CPU usage after hostname change

I have a Ubuntu 12.04.4 64bit installation (running as an OpenVZ container) that was running fairly well until I changed the hostname. The change was made just by modifying /etc/hostname and /etc/...
1 vote
1 answer
3k views

Add a grub menu entry that boots into my current install but with a different runlevel

I am running the latest Kubuntu (14.10) and would like to add a grub2 menu entry that allows me to boot straight into a different runlevel? I would like to modify /etc/rc3.d or /etc/rc4.d to boot ...
0 votes
1 answer
57 views

Unexpected interruption in Ubuntu starup file

I got a problem with the upstart files of Ubuntu in /etc/init/. I am trying to run a process if it does not already exist. So I wrote a conf file and start with "start" The following two files are ...
0 votes
2 answers
70 views

How do I manage session options (sound in my case) when starting program with xinit?

I have tried but failed to find proper information about xinit, in order to understand why it is that when boot into Unity and then start an application (xbmc) all is well, but when I try to use a /...
0 votes
1 answer
4k views

Startup Sequence /etc/init

is there a start up sequence regarding configuration files in /etc/init ? Where can found document regarding the syntax ? Thanks
2 votes
2 answers
2k views

How do I convert a sysv-init script to an Upstart job?

I would like to convert the slapd LDAP server init script to an Upstart service. However, I have very little knowledge of SysV init scripts (and the LSB(?) stuff). Specifically, I'm interested in the ...
1 vote
1 answer
831 views

Why can't we remove bluetooth service the reguler way?

The usual way to remove services from startup scripts is to remove it from starting up in the first place (man update-rc.d). Meaning removing the symbolic link to /lib/init. In this case executing ...
3 votes
6 answers
10k views

Live CD kernel panic

I'm an Ubuntu user since Hardy Heron and even in other distros, I've never been through such thing. I can't install Ubuntu 10.10 on my notebook, because I simply can't even start the Live CD... I ...
13 votes
2 answers
6k views

What does init on Ubuntu do?

I already know that init is the magical program that is needed for booting your computer and managing runlevels, but what is it's real purpose? Why do we even need init in the first place? Why can't ...
4 votes
2 answers
9k views

How to completely remove broken GNOME/GDM installed on Ubuntu Server?

I have installed an Ubuntu Server. It obviously comes with no graphical interface. I tried to install one with: apt-get install xserver-xorg xfonts* gnome gdm Then I got an error message trying to ...
0 votes
1 answer
673 views

Why a service in init.d and not in rc*.d started?

I have a configured and working service script myservice in the /etc/init.d and in /etc/rc*.d directories of an Ubuntu 13.10 distribution. Removing the links in /etc/rc*.d using update-rc.d -f ...
0 votes
2 answers
94 views

Do all the daemons indicated by configFiles/scripts/links in /etc/{init,init.d} start at the boot?

Are all the daemons (services) indicated by configuration-files/scripts/links in /etc/init/, /etc/init.d/ meant to start at the boot; so can I assume those directories being like start-up directory ...
2 votes
1 answer
3k views

How do I get Upstart to start my Mediatomb service?

I've been struggling, trying to get my Mediatomb server to start automatically on Upstart run level 2. I can't figure it out. I guess Upstart is still new to me and I don't understand it. I even ...
1 vote
0 answers
814 views

Trusty preseed error

I have a preseed file that installs Trusty but the install is giving me this error: Jul 22 17:52:42 in-target: Setting up sysv-rc (2.88dsf-41+deb7u1) ... Jul 22 17:52:42 in-target: info: Reordering ...
-1 votes
1 answer
108 views

My ubuntu wont boot after i shut it down

I shut down my laptop one night and moved it. It was working fine before I shut it down. The next day I try to turn it on and I got this. No init found. Try passing init= bootarg. BusyBox v1.13.3 (...
1 vote
0 answers
258 views

usb keyboard doesn't work in initrd shell

I'm working on a custom initrd that I'm netbooting and need to break into a shell. Unfortunately the USB keyboard doesn't work once it breaks into the shell. It does however work when I netboot it ...
1 vote
1 answer
3k views

Why isn't my Upstart script running on 14.04?

I have the following Upstart script saved as /etc/init/automount.conf: description "SOME DESCRIPTION" start on startup task exec mount -t vboxsf WebApps -o rw,dmode=777,gid=GROUP_ID,uid=USER_ID ...
0 votes
1 answer
753 views

Where can I specify init service conf for isc-dhcp-server?

I used service isc-dhcp-server start to invoke the dhcpd. if I do ps -ef | grep dhcp here it is: root@casalab-Latitude-D530:~# ps -ef | grep dhcp dhcpd 6636 1 0 Apr28 ? 00:00:00 dhcpd ...
7 votes
2 answers
11k views

What is this brltty init script?

I'm on my way to cleanup my system , started from init scripts , and found: /etc/rcS.d/S25brltty The description header wasn't helpful enough, and what's that used for, and if it's safe to purge ?
0 votes
1 answer
1k views

OpenFire/Redmine service autostart

We are using OpenFire chat service in the office on a Ubuntu server. Everyday I have to enter a command to start it. The command line is sudo su - service openfire start. I also start the Redmine ...
-1 votes
1 answer
289 views

which file in ubuntu defines meaning of each run level?

In redhat based linux, there is a file called inittab in which you can see the meaning and definition of each run level. Is there any file like this in Ubuntu? I know what each run level means in ...
4 votes
1 answer
11k views

initctl won't start jobs

I am operating an Ubuntu 11.10 server and one of the PHP scripts calls a bash script for inserting jobs and starting them. The script copies the job into /etc/init Everything is fine except that the ...
1 vote
2 answers
395 views

Tool to disable services and daemons

For the old (and still used in debian) init mechanism there are tools such as rcconf to disable services and daemons. Are there such for whatever is used in Ubuntu (upstart I guess) ? I am running ...
1 vote
1 answer
206 views

How is information passed between ipconfig and the init process at boot time

I'm trying to assign an IPv6 address to my machine at early boot time (in order to boot a diskless system over IPv6) with ip -6 addr add $ipv6/108 dev eth0 at nfs-premount. This works fine, but as ...
4 votes
3 answers
8k views

High cpu use from init and yes [Ubuntu 12.04]

Today, I installed a fresh Ubuntu 12.04 LTS on my Sony VAIO VPCSB. I noticed a high cpu use of init and yes (as you can see below). top - 16:26:16 up 11 min, 2 users, load average: 2.71, 2.86, 1....
2 votes
1 answer
5k views

Auto-Starting Seafile Server 12.04 (Server Edition)

I'm having trouble getting Seafile to auto-start upon boot-up. here's what I've done so far: Created ~/lovette/seafile-control-script.sh #! /bin/sh # /etc/init.d/seafile # # Start/Stop/Restart ...
6 votes
3 answers
10k views

Ubuntu way to run sysctl -p on each boot?

I made some changes to sysctl.conf but now need to run sysctl -p on each boot. I can always create an init script to have it run automatically on boot, but I was wondering if there was an Ubuntu / ...
2 votes
1 answer
159 views

Switch raring to systemd [closed]

I know that Raring use upstart as init system. However I'm wondering if it's possible to switch to systemd, as we can do it on Debian. I've found this ppa: systemd : Martin Pitt But the systemd ...
2 votes
0 answers
564 views

ubuntu 12.04 Init process provokes memory leak and CPU intensive usage

I have lately been having some memory and CPU issues with init process. After rebooting, the memory used by it keeps increasing at quite high pace, and after half hour it occupies all the memory RAM (...
1 vote
2 answers
3k views

How do I replace corrupted /etc/inittab and /etc/init.d/rcS files?

I am using Ubuntu 11.10 on my laptop and I have managed to overwrite my /etc/inittab and /etc/init.d/rcS files while running a stupid script with sudo. Can anyone please provide me the default ...
1 vote
1 answer
2k views

What does each of these network services do

I have the services listed in the /etc/init.d folder starting with 'network': cyrex@cyrex:/etc/init.d$ ls network* networking network-interface-security network-interface ...
0 votes
1 answer
774 views

After upgrading to 13.10 kernel panic - not syncing

Until today I used 12.04. This afternoon I ugraded to 12.10 then 13.04 and finally to 13.10 . Everything seemed normal during the updates. Afterwards on 13.10 I kept getting an error message related ...
1 vote
1 answer
218 views

Why does the run level change automatically?

I am trying set up a virtual machine as an exercise for my friend, it came to my mind that I can give him a machine that reboots all the time and ask him to find out whats wrong with it. I change run ...
1 vote
1 answer
4k views

Booting ubuntu gives "init not found"

My friend has been using ubuntu 10.10 on vmware player for many days now. But today, it has a problem booting, so we started the ubuntu live cd to try and fix it. Running sudo fsck /dev/sda1 (got ...
0 votes
1 answer
1k views

System V init scripts

How do I list the services running on an instance started by System V init scripts? I attempted to run 'service | --status-all>' with no luck.
1 vote
1 answer
97 views

Live Persistant Install Won't Boot

I've installed Ubuntu on a flash drive via UNetbootin and it worked flawlessly up until today. A few moments after I booted it said "System Problem Detected" and I reported it. I disregarded this ...
2 votes
1 answer
706 views

runlevel misunderstanding

As I known there is no classical init in ubuntu, instead of init ubuntu uses upstart. Upstart is capable of fully simulation of classical init. The problem is I still don't understand how upstart ...