Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348152 - app-misc/screen-4.0.3: If the user login is more than 20 bytes, it will give an error "LoginName too long"
Summary: app-misc/screen-4.0.3: If the user login is more than 20 bytes, it will give ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 15:42 UTC by Alexey Vlasov
Modified: 2010-12-16 11:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Vlasov 2010-12-08 15:42:21 UTC
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.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-12-08 15:52:45 UTC
mmh I thought I had fixed that with the last patch
Could you please test 4.0.3-r3?
Comment 2 Alexey Vlasov 2010-12-08 16:42:50 UTC
# 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
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-12-08 18:22:39 UTC
okay I might missed another one. Will check that later.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-12-08 19:09:42 UTC
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
+
Comment 5 Alexey Vlasov 2010-12-08 20:43:38 UTC
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.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2010-12-08 21:27:55 UTC
Sorry, Please resync later and try again. You can consult the Changelog to check that my commmit is in your tree.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2010-12-16 08:06:28 UTC
Is it fixed now?
Comment 8 Alexey Vlasov 2010-12-16 11:42:31 UTC
Now everything is OK.
Thanks.