System-V init service. Questions about how Ubuntu uses System-V like scripts to start/stop services at runlevels and it behavior, you should also check systemd and upstart for creation of newer scrips.

learn more… | top users | synonyms

0
votes
0answers
20 views

how can I start docker after the iptables-restore

I have LTS Tasty Ubuntu and the official docker installation images from https://docs.docker.com/engine/installation/ubuntulinux/ Due to a bug with the 1.9.x branch, I'm using version 1.8.3 and the ...
0
votes
1answer
76 views

Script in /etc/init.d/ does not run in Ubuntu 15.10

I have a script which simply echos current time and appends the output to a file. Below is the bash script. #!/bin/bash #Filename: /etc/init.d/bootlog #Bash script to record a timestamp. echo "Time: ...
1
vote
0answers
26 views

How to check if a service was started by upstart or sysvinit?

For some services (ex: bluetooth) I have entries in both /etc/init.d/ and in /etc/init/ directory. How do I know how this service is started ? By sysvinit or upstart ? I am using Ubuntu 14.04.
1
vote
1answer
85 views

`apt dist-upgrade` doesn't care about removing upstart and wants to install sysvinit… why?

I ran a regular apt-get upgrade followed by apt-get dist-upgrade. After I clicked on the 'Yes' as usual, the dist-upgrade started removing a lot of important packages and when I scrolled up in the ...
0
votes
0answers
56 views

How can I make one legacy sysvinit script (xen) start before an upstart job (lxc)?

I am running Xen with an Ubuntu trusty Dom0 in the following configuration: FreeBSD DomU vault exports ZFS filesystem /storage/backuppc via NFS. Ubuntu Dom0 keep mounts vault:/storage/backuppc at ...
1
vote
1answer
144 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 ...
1
vote
0answers
313 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
vote
1answer
50 views

Removing Sys-V-Init script in favour of rc.local. Will application still shutdown correctly?

I've had to remove the /etc/init.d/crashplan script by doing update-rc.d -f crashplan remove in favour of starting the daemon using /etc/rc.local (the reason for this is that I have an encrypted home ...
9
votes
1answer
13k views

Why the services do not start at installation?

I've seen this sometime now, but not finding anything in the ubuntu man about this peculiar policy-rc.d binary that prevents services from being started/restarted/stopped when called by dpkg/apt, so I ...
0
votes
2answers
83 views

How can I know if a certain service is running or not?

The service utility allows to know the current status for the services installed in the system. However, when invocking service --status-all some services are listed as [+] (running), some as [-] ...
12
votes
2answers
5k views

How system services are started in 12.10?

One thing that always confused me in Ubuntu was how system services are started. I know that Ubuntu uses Upstart and supports SysV, but which one is used to start the services? This matters when you ...