Questions tagged [sysv]

For Unix-related questions specific to System V IPC, System V init, SVID, etc.

System V is a branch of commercal Unix operating systems, with SVR4 (System V Release 4) being the most succesful and most widely ported version. Modern System V systems include Oracle Solaris, IBM AIX, HP-UX, and others.

System V IPC primitives (message queue, semaphore, shared memory) had been standardized in POSIX and Single Unix Specification.

73 questions
100
votes
4 answers

System V IPC vs POSIX IPC

What are the differences between System V IPC and POSIX IPC ? Why do we have two standards ? How to decide which IPC functions to use ?
Meghasyam
  • 1,021
  • 2
  • 9
  • 7
29
votes
2 answers

How to use a parameter in ExecStart command line?

I try to convert a SysVinit script used on Debian (and derivative distros such as Linux Mint and Ubuntu & Co.) to a systemd service to be used on Fedora or Arch Linux (and derivative distros such as Bridge or Manjaro), but even if the systemd start…
Fnux
  • 416
  • 1
  • 4
  • 9
13
votes
1 answer

Linux file command: what does SYSV imply?

I'm digging through two legacy cross-compiled ARM Linux builds. There isn't much documentation other than "use this VM image to build the source" The only difference between the file command output is the presence of "(SYSV)" # file…
Cat Zimmermann
  • 1,422
  • 2
  • 21
  • 38
12
votes
4 answers

System V shared memory in Python?

How can I make use of the shmat(), shmdt(), shmctl(), shmget() calls from Python? Are they hidden somewhere in the standard library? Update0 I'm after System V bindings that can be found in the Ubuntu repositories, or Python standard libraries (now…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
10
votes
1 answer

Single sender and multiple receiver processes using posix message queue in linux

Is there any way such that a writer process after sending a mesage to message queue using mq_send(), multiple reader processes can read the message using mq_receive(). I expect 1 write to mq and 1 read from mq, the message is lost. So I just want…
jagadeesh
  • 101
  • 1
  • 3
8
votes
2 answers

How to convert an existing Java application to a SYS V service (daemon)

I have a Java application, to start it I use java -jar myapp.jar To stop it I use CTRL+C. Now I need to convert that application to something that I can start with: /etc/init.d/myapp start And I can stop with: /etc/init.d/myapp stop The…
Andrea Francia
  • 9,737
  • 16
  • 56
  • 70
6
votes
2 answers

Can I import a Golang package based on the OS I'm building for?

Say I have a go project that based on which OS, and in some cases which distro, I want to use say a Systemd client package vs an Upstart client package vs a sysv client package vs a launchd client package. Is it possible to selectively import each…
Christian Grabowski
  • 2,782
  • 3
  • 32
  • 57
6
votes
1 answer

Using supervisord and rvm to run rubyonrails

I have a RubyOnRails 3 project and I'm using rvm. I want to switch from a sysvinit script to supervisord. The sysvinit script can only start the software in case of an error it it gets killed and restarted by $something. Mostly me. In the project…
XenGi
  • 177
  • 2
  • 12
5
votes
1 answer

Why does IPC::SysV->shmget respond with EINVAL?

I am currently running perl 5.8.8 on a server and I'm trying to install 5.14. I configured it to usethreads and use64bitint and otherwise the defaults it suggested. make ran without problems, but make test is failing,…
Dancrumb
  • 26,597
  • 10
  • 74
  • 130
5
votes
1 answer

Compile libstdc++ with hash style SYSV

Is there any way to compile GCC's libstdc++ with hash style SYSV instead of GNU/Linux? I have a toolchain (via crosstool-ng) that I use to compile our company library to work with a very wide range of Linux systems. One of these system is a very old…
Sassa
  • 1,673
  • 2
  • 16
  • 30
5
votes
2 answers

Puppet init script doesn't create the pid file?

CentOS release 5.4 (Final) puppet-server-2.7.19-1.el5 is installed from the puppetlabs repo. puppetmaster is started successfull, but it doesn't create the pid file. It is the reason for [ FAILED ] message when stopping: /etc/init.d/puppetmaster…
quanta
  • 3,960
  • 4
  • 40
  • 75
4
votes
1 answer

Check if Numpy Array is Stored in Shared Memory

In Python 3.8+, is it possible to check whether a numpy array is being stored in shared memory? In the following example, a numpy array sharedArr was created using the buffer of a multiprocessing.shared_memory.SharedMemory object. Will like to know…
Athena Wisdom
  • 6,101
  • 9
  • 36
  • 60
4
votes
1 answer

Why does eax contain the number of vector parameters?

Why does al contain the number of vector parameters in assembly? Why are vector parameters any different from normal parameters for the callee?
Riolku
  • 572
  • 1
  • 4
  • 10
4
votes
2 answers

insserv: missing `Required-Stop:' entry: please add even if empty

In the /etc/init.d/myservice script i have the following lines ### BEGIN INIT INFO # Provides: myserviced # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: # Should-Stop: # Default-Start: # Default-Stop: # Short-Description: #…
Talespin_Kit
  • 20,830
  • 29
  • 89
  • 135
4
votes
2 answers

Executing python script in background in init.d

to interact with my iPhone, i have created a python script that sends and recives data through a socket, the script must be started after emule in order to work, i have thought of something like…
PirosB3
  • 1,961
  • 1
  • 17
  • 21
1
2 3 4 5