[Bug 707866] New: openSUSE:11.4/openssh: Bug
https://bugzilla.novell.com/show_bug.cgi?id=707866 https://bugzilla.novell.com/show_bug.cgi?id=707866#c0 Summary: openSUSE:11.4/openssh: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: pcerny@novell.com ReportedBy: heil@terminal-consulting.de QAContact: adrian@novell.com Found By: Integration Test Blocker: Yes When using chroot ssh its only possible with sftp. This is caused by the homechroot.patch -- if ((s->is_subsystem != SUBSYSTEM_INT_SFTP) && chroot_no_tree) { + logit("You aren't welcomed, go away!"); + exit (1); + } -- The normal behaviour should also grant access when trying pure ssh and no quit the process with "You arent't welcomed, go away!". Otherwise please tell me the reason why this constraint is builtin. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707866
https://bugzilla.novell.com/show_bug.cgi?id=707866#c1
--- Comment #1 from Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=707866
https://bugzilla.novell.com/show_bug.cgi?id=707866#c2
--- Comment #2 from Thomas Heil
https://bugzilla.novell.com/show_bug.cgi?id=707866
https://bugzilla.novell.com/show_bug.cgi?id=707866#c3
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=707866
https://bugzilla.novell.com/show_bug.cgi?id=707866#c
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=707866
https://bugzilla.novell.com/show_bug.cgi?id=707866#c
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=707866
https://bugzilla.novell.com/show_bug.cgi?id=707866#c4
--- Comment #4 from Thomas Heil
https://bugzilla.novell.com/show_bug.cgi?id=707866
https://bugzilla.novell.com/show_bug.cgi?id=707866#c5
--- Comment #5 from Petr Cerny
As i tested the chroot directory with debian and centos without problems, i found that
+ if (access ("/etc/localtime", R_OK) < 0) + ++chroot_no_tree;
was breaking my login.
My guess would be that it is quite an important file, if you don't want to have everything in UTC - e.g. strftime() might be using it (and that one is in turn used in e.g. the sftp subsystem).
The problem was that no error or notice was logged. Why is /etc/localtime needed? Why is logging so minimal, which makes debugging so hard?
If you don't mind restaring sshd after each login, you can use the '-d' option on command line (man page is rather well written so I won't go into more details here) to get some debug info. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com