Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipcs: command not found (util-linux) #2427

Closed
SDRausty opened this issue May 15, 2018 · 9 comments
Closed

ipcs: command not found (util-linux) #2427

SDRausty opened this issue May 15, 2018 · 9 comments

Comments

@SDRausty
Copy link

SDRausty commented May 15, 2018

[23:47 test ]$ ipcs

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status

------ Semaphore Arrays --------
key        semid      owner      perms      nsems

[23:47 test ]$ ./cleanup-shared-memory.sh
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
[23:48 test ]$ e
[23:48 test ]$ ipcs
No command 'ipcs' found, did you mean:
 Command 'apxs' from package 'apache2'
 Command 'ocs' from package 'cscope'
 Command 'pphs' from package 'ghostscript'
 Command 'mpc' from package 'mpc'
 Command 'ps' from package 'procps'
 Command 'rcs' from package 'rcs'
 Command 'ip' from package 'termux-tools'
[23:48 test ]$ ./cleanup-shared-memory.sh
./cleanup-shared-memory.sh: line 4: ipcs: command not found
BusyBox v1.28.3 (2018-04-08 23:41:12 UTC) multi-call binary.

Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
$ pacman -Qo ipcs
/usr/bin/ipcs is owned by util-linux 2.32-3

References:

  1. liblog.so: cannot open shared object file libandroid-shmem#3

Shared memory appears to be important in many issues:

  1. Sudo is non functional SDRausty/termux-archlinux#4
  2. Succesfully Modified Stock 'makepkg'... SDRausty/TermuxArch#38
  3. WebKit Browsers Showing Nothing instead of Web Content SDRausty/TermuxArch#55
  4. A few questions about Arch Linux in Termux PRoot SDRausty/TermuxArch#59 (comment)
  5. Chromium, Firefox, Epiphany, Libreoffice, localectl, timedatectl... SDRausty/TermuxArch#68
@vishalbiswas
Copy link
Contributor

Its not possible.
The functions to implement Message Queues and Semaphore Arrays are not available before Nougat. So, this is not possible yet.
Maybe, when we make the minimum API Level 24.

@SDRausty

This comment was marked as spam.

@SDRausty

This comment was marked as spam.

@SDRausty SDRausty reopened this Sep 17, 2018
@ghost
Copy link

ghost commented Sep 17, 2018

@SDRausty Why you reopened this ?

Its not possible.
The functions to implement Message Queues and Semaphore Arrays are not available before Nougat. So, this is not possible yet.
Maybe, when we make the minimum API Level 24.

@SDRausty

This comment was marked as spam.

@ghost
Copy link

ghost commented Sep 17, 2018

@SDRausty

  1. 'ipcs: command not found': ipcs command is not part libandroid-shmem. This means that current issue is not related to libandroid-shmem.
  2. libandroid-support is functional in standard Termux installation. So if it not working somewhere else - this is irrelevant.

If we can get libandroid-shmem to work correctly
The demand for a functional shmem is very high among Termux users even though many don't know that a functional shmem is what they want.

Termux users != TermuxArch users as they use different environments.
Termux users already got fully functional libandroid-shmem.

So, since libandroid-shmem works, issue can be closed, otherwise it will be force closed or even locked.

@SDRausty

This comment was marked as spam.

@ghost
Copy link

ghost commented Sep 17, 2018

I don't see it working.

@SDRausty Because you don't know how to use it.

I don't see it working. Can you outline some examples where it works please?

  1. postgresql
  2. x11/feh
  3. x11/mpv-x
  4. x11/pypanel
  5. x11/wireshark-gtk
  6. other packages (from termux-packages or x11-packages) that are not mentioned in this list.

@SDRausty

This comment was marked as spam.

@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants