Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sysv]

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.

0
votes
1answer
75 views

Ubuntu 18.04 - Can't install sysv-rc-conf package for managing startup services

I am using Ubuntu 18.04.1 LTS I am not able to install sysv-rc package. Tried to install from deb package but there are so many dependencies that I failed by downloading them one by one. Why sysv-rc ...
1
vote
0answers
33 views

How can I get the order of startup scripts - upstart and systemV

I have an upstart script that must start before a non-upstart (System V) script. I see that while booting, the systemV script starts before my upstart script. How can I check the boot order of these ...
1
vote
1answer
616 views

Is it possible to remove systemd completely in Ubuntu 17.10 replacing with sysvinit or upstart or OpenRC

Personal preference to run Ubuntu 17.10 without systemd as init replacement. I would like to know, if Upstart, OpenRC etc works anymore in Ubuntu 17.10 as direct replacement. I know, it will be hard ...
0
votes
1answer
49 views

How can I make sure one Upstart service starts before other non-Upstart (System V) service?

Is there a way to run one Upstart service before another non-Upstart service (system V, to be more precise)? Or I must "convert" my Upstart script to a System V script (if it provides such ...
2
votes
1answer
188 views

apt-get error: “SysV: not found”

On a Ubuntu 14.04 system we had installed elasticsearch 2.3.4. The system was upgraded to 16.04 An apt-get update & upgrade tried to upgrade to elasticsearch 2.4.4. But, we're now getting this ...
11
votes
1answer
9k views

SysV, Upstart and systemd init script coexistence

On my system (16.04), there are the files /lib/systemd/system/network-manager.service and /etc/init.d/network-manager, for example. I don't understand how (and why) this works. I always restart ...
1
vote
1answer
726 views

How to display the missing output message while execute sudo service/systemctl on Ubuntu 16.04

We already knew that from Ubuntu 15 and above are using systemd, however the famous and unbeatable SysV still supported. But there is a small issue which annoying (me and whom may concern). I love ...
3
votes
1answer
368 views

How to run an interactive script before xserver shutdown?

Every time I shutdown or restart my laptop (Ubuntu 14.04), I would like to run a script that checks, whether I pushed my newest code to my remote git repository. If I forgot it, then it opens a ...
0
votes
1answer
598 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: `...
2
votes
1answer
452 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
459 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 ...
3
votes
1answer
894 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
652 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
66 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 ...
22
votes
1answer
34k 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
108 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 ...