|tcp socket permission (chroot linux in android)||steve||10/6/12 8:50 AM|
I am using a debian chroot environment inside my android phone and try to install postgresql.
postgresql is using the user "postgres" but is unable to bind a socket.
I tried as root (on mysqld, because postgresql cannot be run as root by config). Working but a real security mess - ah, and i need postgre ;)
How to permit socket access for a user (inside a chroot)?
root@android-b:~# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_req=1 ttl=64 time=0.407 ms
root@android-b:~# su postgres
postgres@android-b:/root$ ping 127.0.0.1
socket: Permission denied
|Re: tcp socket permission (chroot linux in android)||Johan Nestaas||12/17/13 11:11 AM|
Did you ever get this to work?
I'm running into the same issue, chroot into Debian Wheezy with postgresql-9.1:
2013-12-17 18:39:47 UTC FATAL: could not create any TCP/IP sockets
2013-12-17 18:41:02 UTC LOG: could not create IPv4 socket: Permission denied