Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Missing /dev/shm #1265

Open
yesimxev opened this issue Mar 3, 2019 · 5 comments
Open

Missing /dev/shm #1265

yesimxev opened this issue Mar 3, 2019 · 5 comments

Comments

@yesimxev
Copy link

yesimxev commented Mar 3, 2019

Device:

Oneplus One, S6 edge

OS version (KitKat/Lollipop/Marshmallow/Nougat):

Marshmallow, Nougat

Built from repo (date and build command) or downloaded from website (links):

Github

Output of cat /proc/version in adb shell or NetHunter Terminal:

Linux version 3.10.61-yesimxev-gab2e937-dirty (root@kali) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Mar 1 00:03:43 CET 2019

Issue:

Not sure what is it related to, but realised in the last few months fs build, in the nethunter VNC session. The firefox has a blank page, no menus, no webpage etc, unless /dev/shm exists. So when I do
mkdir /dev/shm
it all works fine as before, webpage pops in straightaway.

@jcadduono
Copy link
Collaborator

does your custom kernel have CONFIG_SHMEM=Y?

@yesimxev
Copy link
Author

yesimxev commented Mar 3, 2019

Yes, it is enabled in my zerolte and probably in binkybear's Oneplus One kernel source too, can't check that one at the moment

@jcadduono
Copy link
Collaborator

jcadduono commented Mar 3, 2019

hmm, i wonder if we need to make an shm mount in the bootkali_init script https://github.com/offensive-security/nethunter-app/blob/master/assets/scripts/bootkali_init
it is strange because we are setting the shmmax there

@yesimxev
Copy link
Author

Shall we add the mkdir command to the init? Btw would be good to know if it happens on other devices too. The command was not needed a few months ago though

@Re4son
Copy link
Collaborator

Re4son commented Apr 14, 2019

Should be fixed in offensive-security/nethunter-app@78a3fd6

Could you give it another try using the 2019.2 branch please?

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