Questions tagged [system-v]
The system-v tag has no usage guidance.
29
questions
0
votes
1
answer
40
views
What is the difference between Red Hat SysV and Unix System V?
Prior to RHEL 7, their distributions were built on SysV, a manager that looks much like the legacy System V (init.d, rc, runlevels...).
They changed it to systemd from RHEL 7.
But what is the real ...
2
votes
1
answer
82
views
Official definition of System V service management
Several sources online discusses the difference between Linux systemd service management facility and that of System V.
While there's an official website for systemd, I found no official definition ...
1
vote
2
answers
2k
views
System V init service can't recongnise mongod
I have been following official guide for installing mongodb but it wont run as a service.
When i try
$ whereis mongod
mongod: /usr/bin/mongod /etc/mongod.conf /usr/share/man/man1/mongod.1.gz
but step ...
-3
votes
1
answer
510
views
If Microsoft is pushing systemd so hard, then why do I restart my services in Ubuntu 18.04 LTS WSL using System V? [closed]
I had to restart my apache2 server in WSL yesterday, and I was surprised that I couldn't use systemctl like I do on Ubuntu; instead having to revert to sudo /etc/init.d/apache2 restart.
But I thought ...
1
vote
0
answers
692
views
I cannot access XFCE when launched via LightDM
As a personal project I decided to start building a Linux From Scratch (System V Edition, 9.1) on a virtual machine. Everything went out correctly until the moment of entering the system through ...
1
vote
1
answer
538
views
Equivalent of /dev/mqueue to enumerate SysV message queues
Linux supports two kinds of message queues: POSIX (i.e., those created by mq_open), and System V (i.e., those created by msgget). For POSIX message queues, mq_overview(7) documents that you can ...
0
votes
1
answer
251
views
How to make an Ubuntu package with system V init script?
As the title says I want to make a ubuntu package that people could download with apt and I would like to set up the package with a System V script so that people can start and stop the service (like ...
3
votes
0
answers
209
views
How differently from Linux kernel does a typical Unix kernel (System V, Free BSD, ...) implement processes and threads?
In my previous post, about the Linux kernel,
the structure task_struct represents threads i.e. light weight processes, but not processes.
processes are not represented by any structure, but by ...
5
votes
1
answer
3k
views
Are tid and tgid always the same as pid in the output of ps?
In manpage of ps
tid TID the unique number representing a dispatchable
entity (alias lwp, spid). This value may also
appear as: a ...
1
vote
1
answer
6k
views
Debian start-stop-daemon equivalent in CentOS
I have a bash script that is written in a debian-based distribution (System-V) and I want to run it under CentOS 7. There is a part of the script that runs a command as a daemon like this:
start-stop-...
15
votes
1
answer
9k
views
What are the relations between processes, kernel threads, lightweight processes and user threads in Unix? [closed]
Unix Internal by Vahalia have figures showing the relations between processes, kernel threads, lightweight processes, and user threads.
This book gives most attention to SVR4.2, and it also explores ...
0
votes
0
answers
488
views
System V - Respawn service but don't launch at boot
I'm trying to have a System V service relaunched on exit.
EDIT: Should have precised that I'm using busybox init system instead of classic systemV
I found that It could be done using /etc/inittab ...
0
votes
1
answer
515
views
Why are System V message queues conforming POSIX NOT called POSIX message queues?
I know that there are (at least) two types of message queues: System V message queues and POSIX message queue. To my surprise, the man page also says that the msgget system call for System V message ...
2
votes
1
answer
6k
views
Why is rsyslog not listed when I run service?
I'm trying to learn about rsyslog. On one of my linux boxes, I think that rsyslog has been configured to run through systemd based on this output:
>systemctl status rsyslog
rsyslog.service - ...
4
votes
3
answers
16k
views
How to run a script at shutdown on Debian 9 or Raspbian 8 (Jessie)
I would like to execute this shell script at reboot and shut down:
#!/bin/sh
touch /test
Its permissions are
-rwxr-xr-x 1 root root 22 Feb 24 09:34 /etc/init.d/te1
And it has this links
/etc/rc0....