If the user login is more than 20 bytes, it will give an error from screen "LoginName too long - sorry.". Reproducible: Always Steps to Reproduce: 1. Add user with login name more than 20 b. 2. Run screen Actual Results: w_test-l19-apache1_73534f09@l19 ~ $ screen LoginName too long - sorry. Expected Results: Screen should work for long logins either. Please, add patch to ebuild.
mmh I thought I had fixed that with the last patch Could you please test 4.0.3-r3?
# emerge -pv screen [ebuild R ] app-misc/screen-4.0.3-r3 USE="pam -debug -multiuser -nethack (-selinux)" 0 kB # adduser -u 555 -G staff -m -d /home/staff/userlong -s /bin/bash aaaadddddasadfsdsdfsdfsdf # su - aaaadddddasadfsdsdfsdfsdf aaaadddddasadfsdsdfsdfsdf@l19 ~ $ screen LoginName too long - sorry. aaaadddddasadfsdsdfsdfsdf@l19 ~ $ screen -v Screen version 4.00.03 (FAU) 23-Oct-06
okay I might missed another one. Will check that later.
Please check 4.0.3-r4 and close bug if fixed. +*screen-4.0.3-r4 (08 Dec 2010) + + 08 Dec 2010; Justin Lecher <jlec@gentoo.org> + +files/4.0.3-extend-d_termname-ng2.patch, +screen-4.0.3-r4.ebuild: + Support for long user names, #348152 +
Unfortunately this patch didn't solve the problem. # emerge -pv screen These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-misc/screen-4.0.3-r4 USE="pam -debug -multiuser -nethack (-selinux)" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB # su - aaaadddddasadfsdsdfsdfsdf aaaadddddasadfsdsdfsdfsdf@l19 ~ $ screen LoginName too long - sorry.
Sorry, Please resync later and try again. You can consult the Changelog to check that my commmit is in your tree.
Is it fixed now?
Now everything is OK. Thanks.