Fenke Posted November 15, 2011 Report Share Posted November 15, 2011 Mam problem z odpaleniem screena z innego użytkownika niż root. Początkowo myślałem, że to wina grseca, ale na jajku bez grs też występuje ten problem. Wyłączyłem selinuxa, ustawiłem zgodnie z poradami na jakichś zagranicznych forach chmody dla /dev/pty* i /dev/ptmx, ale screen nadal nie działa (od razu [screen is terminating]). W logach systemowych nie ma żadnych informacji o błędach. Dodam, że ustawianie użytkownikowi przynależności do grupy 'screen' też nic nie daje. (screen -L nic nie outputuje). Screen instalowany z yuma System to Fedora 15 na domyslnym jajku ovh std-ipv6. Bardzo proszę o pomoc, jeśli ktoś ma pomysł jak to rozwiązać. Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2011 Report Share Posted November 15, 2011 Podaj wynik strace. yum install -y strace strace screen Link to comment Share on other sites More sharing options...
Fenke Posted November 15, 2011 Author Report Share Posted November 15, 2011 Proszę: http://pastebin.com/FFEzhW3N Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2011 Report Share Posted November 15, 2011 (edited) getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0close(1023) = -1 EBADF (Bad file descriptor) wydaje mi sie, ze masz nalozony zbyt restrykcyjny limit na liczbe otwartych plików. Uruchom to jeszcze raz, ale jako user, a nie root. Edited November 15, 2011 by Guest Link to comment Share on other sites More sharing options...
Fenke Posted November 15, 2011 Author Report Share Posted November 15, 2011 Z poziomu użytkownika: http://pastebin.com/g7cqF64K Link to comment Share on other sites More sharing options...
Guest Posted November 16, 2011 Report Share Posted November 16, 2011 Testowo, ustaw uprawnienia dla katalogu /var/run/screen na 777 (w jakiegos powodu screen przez strace zachowuje sie troche inaczej). chmod 777 /var/run/screen Zrób jeszcze raz strace jako user strace -o plik_wynikowy screen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now