Why Ubuntu packages don't put any file in /etc/init.d?

asked 2015-07-13 09:33:03 -0500

TheWall gravatar image

Hi, I'm installing Openstack Juno on 3 nodes with Ubuntu 14.04 Trusty.

I added the following repos:

deb http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/juno main
deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/juno main

And I installed packages by following the official guide. Anyway, I realized that there are no files in /etc/init.d. The package version is " 1:2014.2.3-0ubuntu2~cloud0". I manually extracted the packages and the directory etc/init.d seems missing! See example with neutron-server package. Other package versions from that repo have the init.d folder.

Is this normal? Am I doing something wrong? Thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-07-14 08:20:06 -0500

TheWall gravatar image

Well, I'm answering myself here.

I just discovered that these packages are using upstart and so I can use something like "restart keystone" to interact with services.

Anyway, the official Openstack Installation Guide for Juno on Ubuntu 14.04 is wrong: it still reports commands like "service keystone restart". I'm going to notify the problem to the Openstack guys.

I'm referring to this guide: http://docs.openstack.org/juno/instal...

edit flag offensive delete link more

answered 2015-07-13 09:43:25 -0500

dbaxps gravatar image

Creating script in /etc/init.d is an essential part of service creating . View for instance https://mobiarch.wordpress.com/2014/0...
Installing packages is not yet Juno deployment on your host. Start deployment and services would be created, at this point new scripts in /etc/init.d will start to appear.

edit flag offensive delete link more


Ok, but why should I create init-scripts by myself? Icehouse packages were providing them. More, the official installation guide for Juno do not say anything about service creation. It just says to execute "service <name> restart" at some point.

TheWall gravatar imageTheWall ( 2015-07-13 10:04:57 -0500 )edit

Actually, you shouldn't. I am not a Ubuntu fan. More over I avoid usually theirs official docs. Since Havana release we work with RH RDO Releases IceHouse,Juno,Kilo. My responsibility is to design properly answer-file for required deployment. That's it

dbaxps gravatar imagedbaxps ( 2015-07-13 10:59:14 -0500 )edit

However, if they say "service name start" , /etc/init.d/name should already exist.

dbaxps gravatar imagedbaxps ( 2015-07-13 11:04:57 -0500 )edit

Hi, thanks for your answer. I'm not an ubuntu fan either, but I'm working on a project where other people chose Ubuntu. So I have to work with it. Finally, "/etc/init.d/name" do not exist. Try to extract the package for "neutron-server" in my question. The init script is missing from the package.

TheWall gravatar imageTheWall ( 2015-07-14 02:43:11 -0500 )edit
dbaxps gravatar imagedbaxps ( 2015-07-14 03:02:51 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-07-13 09:33:03 -0500

Seen: 342 times

Last updated: Jul 14 '15