[Resolved] Writing to /proc



  • I've now encountered a couple of situations where I've tried to change kernel settings by writing to /proc and where this fails. Example:

    root@Omega-xxxx:/home/x/emacs-25.1# echo 0 >/proc/sys/kernel/randomize_va_space
    bash: echo: write error: Invalid argument

    Why is this?

    Does it have something to do with Strip non-essential functionality from /proc filesystem being enabled?



  • you my have to do a space before the path ?!:

    echo 0 > /proc/sys/kernel/randomize_va_space

    Is /proc not just mounted as read only?



  • @Luciano-S. said in Writing to /proc:

    you my have to do a space before the path ?!:

    No, that doesn't matter.

    echo 0 > /proc/sys/kernel/randomize_va_space

    Is /proc not just mounted as read only?

    Well, I tried mount -o remount,rw /proc but that didn't help.

    The problem I reported was under b145. Now I run b150 and the problem has disappeared. No idea of what is going on...



  • Great you could [solve] the problem. Solution is upgrade to newest firmware ;)
    Could you please mark your request as solved ?


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.