Questions tagged [inittab]

This file controls what happens whenever a system is rebooted or forced to change run levels.

This file controls what happens whenever a system is rebooted or forced to change run levels.

16 questions
7
votes
1 answer

The process appear again automatically after I killed it

I try to kill a process with sudo kill 30602. But after I killed it I use ps aux | grep gmond to check, it appear again with another pid.That's like: ganglia 30997 0.0 0.1 121812 2128 ? Ssl 16:05 0:00 /usr/sbin/gmond…
Tony Han
  • 2,130
  • 3
  • 24
  • 37
4
votes
1 answer

respawn service Debian Jessie without inittab

I've installed the last stable version of Debian (Jessie) and /etc/inittab doesn't exist. I have read the new init system is called Sysv. I need to launch a service with parameter, I used to add a line in inittab…
Mon
  • 131
  • 2
  • 4
3
votes
1 answer

Use serial-console as display, but computer keyboard for standard-input

I have a 40x7 VFD that functions as a serial terminal. It has a dedicated keypad that provides hex-entry, however, I would like to use a keyboard for the standard input. Basically, I want to be able to use the VFD as a display for a Linux bash…
Core_Module
  • 53
  • 1
  • 5
2
votes
1 answer

Sending curses application's output to tty1

Goal I'd like to make my curses Python application display its output on a Linux machine's first physical console (TTY1) by adding it to /etc/inittab, reloading init with telinit q and so on. I'd like to avoid a hacky way of using IO redirection…
Marcin Kaminski
  • 473
  • 1
  • 4
  • 11
1
vote
2 answers

Restarting a linux app using a respawn entry in inittab does not work

Scenario: I have a process running on linux which is started in the background by a script hooked up at /etc/init.d/ called as MyApp which is just a shell script without the .sh. Following is my init.d script script #!/bin/sh PARAM=$1 case…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
0
votes
1 answer

How and when OpenWrt's procd runs init scripts in etc/init.d?

I'm looking at a static OpenWrt firmware. On OpenWrt initialization, procd is supposed to run all the S prefixed scripts in /etc/rc.d which are links to the actual scripts in /etc/init.d. I wonder who triggers those scripts... I see that on…
Gal Shahar
  • 2,695
  • 1
  • 21
  • 29
0
votes
0 answers

Qemu. Linux doesn't write in console after init

I run Linux on QEMU with emulation whole SOC. Linux loads successfully. Busybox is init process for Linux. But when Linux run it, there are no any out in console. And it freezes on command /dev/console::sysinit:-/bin/ash from inittab file. Also I…
RazDva
  • 104
  • 10
0
votes
1 answer

Redhat alternative for AIX chitab

From AIX, we are moving to Redhat Linux. In our shell scripts we have used AIX chitab command to modify /etc/inittab file. But in Redhat Linux, don't see any command to modify /etc/inittab file.
vjsujay
  • 1
  • 2
0
votes
2 answers

How to check if /init starts /etc/inittab

I have an embedded ARM system with processor AT91SAM9G45. System consists of two components: Linux kernel (4.14.79) Busybox 1.29.3 as initramfs image. I connect to the device using putty and connecting to serial port. When kernel starts,…
vglv
  • 41
  • 1
  • 5
0
votes
0 answers

inittab file had duplicate ID field - can't ctrl-c out of it

I have a TS-7200 sbc card from Technologic Systems running linux and I am trying to modify the inittab file so it logs in as root and automatically runs my application. I obviously did something wrong in the inittab file because now when I reboot it…
0
votes
2 answers

inittab not restarting service after service crash in Red Hat 6.7

NOTE: I am running Red Hat 6.7 I have a service that is configured with the Linux init system to start a process as a service when the machine boots. This was done by doing this one-time configuration from the command line: ln -snf…
StvnBrkdll
  • 3,924
  • 1
  • 24
  • 31
0
votes
1 answer

AIX OS startup - setting up rd#.d

If I already have an entry in /etc/rc.d/rc2.d with a file S99abc, and if I need to execute another script, then what should my file name convention be ? can it be S99def ? how do I ensure that S99abc is executed first before S99def ? any help is…
Libin
  • 87
  • 9
0
votes
1 answer

Using different console for respawn process in inittab on embedded device

I am connected on my embedded device with the serial port and would like to start my custom binaries on boot and be able to see the output generated. My /etc/inittab file contains: console::respawn:/sbin/getty -L 115200 ttyAPP3…
leszek.hanusz
  • 5,152
  • 2
  • 38
  • 56
-1
votes
1 answer

Petalinux--ERROR:conflicts between attempted installs

I am trying to modify /etc/inittab file to add a restart function. To check whether I can add a line in inittab, I created a demo. I created a .bb file under proect-spec/meta-user/recipes-apps: # # This is the GPIO-DEMO apllication…
hmurat
  • 1
-1
votes
1 answer

Automatically restart process on crash in an Ubuntu docker container

I have a process in an Ubuntu docker container. If it crashes, I want to restart it automatically. What is the best way to go about it? I checked systemd (which is the normal Linux method) but docker doesn't support it. inittab is also deprecated.
Swami
  • 135
  • 2
  • 10
1
2